| /OK3568_Linux_fs/kernel/lib/crypto/ |
| H A D | sha256.c | 49 u32 a, b, c, d, e, f, g, h, t1, t2; in sha256_transform() local 67 t2 = e0(a) + Maj(a, b, c); d += t1; h = t1 + t2; in sha256_transform() 69 t2 = e0(h) + Maj(h, a, b); c += t1; g = t1 + t2; in sha256_transform() 71 t2 = e0(g) + Maj(g, h, a); b += t1; f = t1 + t2; in sha256_transform() 73 t2 = e0(f) + Maj(f, g, h); a += t1; e = t1 + t2; in sha256_transform() 75 t2 = e0(e) + Maj(e, f, g); h += t1; d = t1 + t2; in sha256_transform() 77 t2 = e0(d) + Maj(d, e, f); g += t1; c = t1 + t2; in sha256_transform() 79 t2 = e0(c) + Maj(c, d, e); f += t1; b = t1 + t2; in sha256_transform() 81 t2 = e0(b) + Maj(b, c, d); e += t1; a = t1 + t2; in sha256_transform() 84 t2 = e0(a) + Maj(a, b, c); d += t1; h = t1 + t2; in sha256_transform() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/block/paride/ |
| H A D | bpck.c | 35 #define t2(pat) {PC ^= pat; out_p(2,PC);} macro 56 case 0: w0(r & 0xf); w0(r); t2(2); t2(4); in bpck_read_regr() 58 t2(4); in bpck_read_regr() 62 case 1: w0(r & 0xf); w0(r); t2(2); in bpck_read_regr() 63 e2(); t2(0x20); in bpck_read_regr() 64 t2(4); h = r0(); in bpck_read_regr() 65 t2(1); t2(0x20); in bpck_read_regr() 89 t2(2); in bpck_write_regr() 91 o2(); t2(4); t2(1); in bpck_write_regr() 115 w0(0x40); t2(2); t2(1); in bpck_write_block() [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/kernel/ |
| H A D | octeon_switch.S | 43 LONG_ADDI t2, a0, THREAD_CVMSEG /* Where to store CVMSEG to */ 51 LONG_S t8, 0(t2) /* Store CVMSEG to thread storage */ 52 LONG_ADDU t2, LONGSIZE*2 /* Increment loc in thread storage */ 54 LONG_S t9, -LONGSIZE(t2)/* Store CVMSEG to thread storage */ 78 set_saved_sp t0, t1, t2 105 dmfc2 t2, 0x0200 110 sd t2, OCTEON_CP2_CRC_POLY(a0) 124 dmfc2 t2, 0x0081 130 sd t2, OCTEON_CP2_3DES_KEY+8(a0) 131 dmfc2 t2, 0x0102 [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/crypto/ |
| H A D | sha512-armv4.pl | 75 $t2="r11"; 102 ldr $t2,[sp,#$Hoff+0] @ h.lo 117 adds $Tlo,$Tlo,$t2 118 ldr $t2,[sp,#$Goff+0] @ g.lo 122 eor $t0,$t0,$t2 130 eor $t0,$t0,$t2 131 ldr $t2,[$Ktbl,#$lo] @ K[i].lo 139 adds $Tlo,$Tlo,$t2 140 and $t0,$t2,#0xff 143 ldr $t2,[sp,#$Boff+0] @ b.lo [all …]
|
| H A D | sha256-armv4.pl | 63 $t2="r12"; 81 add $a,$a,$t2 @ h+=Maj(a,b,c) from the past 88 add $a,$a,$t2 @ h+=Maj(a,b,c) from the past 89 ldrb $t2,[$inp,#2] 91 orr $t1,$t1,$t2,lsl#8 92 ldrb $t2,[$inp],#4 98 orr $t1,$t1,$t2,lsl#24 103 ldr $t2,[$Ktbl],#4 @ *K256++ 109 add $h,$h,$t2 @ h+=K256[i] 114 and $t2,$t2,#0xff [all …]
|
| /OK3568_Linux_fs/external/security/librkcrypto/test/c_mode/ |
| H A D | aes_core.c | 792 u32 s0, s1, s2, s3, t0, t1, t2, t3; in rk_aes_encrypt() local 812 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[ 6]; in rk_aes_encrypt() 815 s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[ 8]; in rk_aes_encrypt() 816 s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[ 9]; in rk_aes_encrypt() 817 s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[10]; in rk_aes_encrypt() 818 s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[11]; in rk_aes_encrypt() 822 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[14]; in rk_aes_encrypt() 825 s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[16]; in rk_aes_encrypt() 826 s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[17]; in rk_aes_encrypt() 827 s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[18]; in rk_aes_encrypt() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/esa/common/ |
| H A D | rijndael.c | 880 u32 s0, s1, s2, s3, t0, t1, t2, t3; in rijndaelEncrypt() local 899 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ in rijndaelEncrypt() 904 s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ in rijndaelEncrypt() 906 s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ in rijndaelEncrypt() 908 s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ in rijndaelEncrypt() 911 Te3[t2 & 0xff] ^ rk[11]; in rijndaelEncrypt() 917 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ in rijndaelEncrypt() 922 s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ in rijndaelEncrypt() 924 s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ in rijndaelEncrypt() 926 s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ in rijndaelEncrypt() [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/crypt/ |
| H A D | aes_impl.c | 847 u32 t2 = 0; in rijndaelEncrypt() local 866 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ in rijndaelEncrypt() 872 Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[8]; in rijndaelEncrypt() 873 s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ in rijndaelEncrypt() 875 s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ in rijndaelEncrypt() 878 Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[11]; in rijndaelEncrypt() 884 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ in rijndaelEncrypt() 890 Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[16]; in rijndaelEncrypt() 891 s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ in rijndaelEncrypt() 893 s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ in rijndaelEncrypt() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/mips/mach-ath79/ar933x/ |
| H A D | lowlevel_init.S | 88 li t2, 0xfffff7ff 89 and t1, t1, t2 96 li t2, 0x20 98 beqz t2, 1b 100 addi t2, t2, -1 150 li t2, 0xc07fffff 151 and t1, t1, t2 152 li t2, 0x800000 153 or t1, t1, t2 191 li t2, 0x80000000 [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/util/ |
| H A D | unitbezier.hpp | 73 double t2; in solveCurveX() local 79 for (t2 = x, i = 0; i < 8; ++i) { in solveCurveX() 80 x2 = sampleCurveX(t2) - x; in solveCurveX() 82 return t2; in solveCurveX() 83 d2 = sampleCurveDerivativeX(t2); in solveCurveX() 86 t2 = t2 - x2 / d2; in solveCurveX() 92 t2 = x; in solveCurveX() 94 if (t2 < t0) in solveCurveX() 96 if (t2 > t1) in solveCurveX() 100 x2 = sampleCurveX(t2); in solveCurveX() [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/include/ |
| H A D | utee_defines.h | 150 #define TEE_TIME_LT(t1, t2) \ argument 151 (((t1).seconds == (t2).seconds) ? \ 152 ((t1).millis < (t2).millis) : \ 153 ((t1).seconds < (t2).seconds)) 155 #define TEE_TIME_LE(t1, t2) \ argument 156 (((t1).seconds == (t2).seconds) ? \ 157 ((t1).millis <= (t2).millis) : \ 158 ((t1).seconds <= (t2).seconds)) 160 #define TEE_TIME_ADD(t1, t2, dst) do { \ argument 161 (dst).seconds = (t1).seconds + (t2).seconds; \ [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/host_include/ |
| H A D | utee_defines.h | 150 #define TEE_TIME_LT(t1, t2) \ argument 151 (((t1).seconds == (t2).seconds) ? \ 152 ((t1).millis < (t2).millis) : \ 153 ((t1).seconds < (t2).seconds)) 155 #define TEE_TIME_LE(t1, t2) \ argument 156 (((t1).seconds == (t2).seconds) ? \ 157 ((t1).millis <= (t2).millis) : \ 158 ((t1).seconds <= (t2).seconds)) 160 #define TEE_TIME_ADD(t1, t2, dst) do { \ argument 161 (dst).seconds = (t1).seconds + (t2).seconds; \ [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/crypto/ |
| H A D | glue_helper-asm-avx2.S | 56 t1x, t2, t2x, t3, t3x, t4, t5) \ argument 66 vinserti128 $1, t2x, t3, t2; /* ab: le0 ; cd: le1 */ \ 67 vpshufb t1, t2, x0; \ 70 add2_le128(t2, t0, t4, t3, t5); /* ab: le2 ; cd: le3 */ \ 71 vpshufb t1, t2, x1; \ 72 add2_le128(t2, t0, t4, t3, t5); \ 73 vpshufb t1, t2, x2; \ 74 add2_le128(t2, t0, t4, t3, t5); \ 75 vpshufb t1, t2, x3; \ 76 add2_le128(t2, t0, t4, t3, t5); \ [all …]
|
| /OK3568_Linux_fs/u-boot/board/imgtec/malta/ |
| H A D | lowlevel_init.S | 112 li t2, MSC01_PBC_CS0CFG_DTYP_MSK 113 and t1, t2 122 li t2, -CONFIG_SYS_MEM_SIZE 124 sw t2, MSC01_BIU_MCMSK1L_OFS(t0) 126 sw t2, MSC01_BIU_MCMSK2L_OFS(t0) 130 li t2, -MALTA_MSC01_IP1_SIZE 132 sw t2, MSC01_BIU_IP1MSK1L_OFS(t0) 134 sw t2, MSC01_BIU_IP1MSK2L_OFS(t0) 138 li t2, -MALTA_MSC01_IP2_SIZE1 140 sw t2, MSC01_BIU_IP2MSK1L_OFS(t0) [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/netlogic/common/ |
| H A D | reset.S | 62 lui t2, 0x4080 /* Enable Unaligned Access, L2HPE */ 63 or t1, t1, t2 103 li t2, 0 /* index */ 106 sll v0, t2, 5 123 addi t2, 1 124 bne t3, t2, 11b 188 li t2, 0x40000 189 mul t3, t2, t1 /* t3 = node * 0x40000 */ 195 li t2, SYS_CPU_COHERENT_BASE 196 add t2, t2, t3 /* t2 <- SYS offset for node */ [all …]
|
| H A D | smpboot.S | 63 PTR_LA t2, nlm_boot_siblings 64 dsubu t2, t1 65 daddu t2, t0 67 jalr t2 107 andi t2, t0, 0x3 /* thread num */ 116 bnez t2, 1f /* skip thread programming */ 124 li t2, 6 /* XLR thread mode mask */ 125 nor t3, t2, zero 126 and t2, t1, t2 /* t2 - current thread mode */ 130 beq v1, t2, 1f /* same as request value */ [all …]
|
| /OK3568_Linux_fs/kernel/arch/alpha/lib/ |
| H A D | stxcpy.S | 47 lda t2, -1 # e1 : build a mask against false zero 48 mskqh t2, a1, t2 # e0 : detection in the src word 50 ornot t1, t2, t2 # .. e1 : 52 cmpbge zero, t2, t8 # .. e1 : bits set iff null found 132 ldq_u t2, 8(a1) # e0 : 136 extqh t2, a1, t4 # e0 : 148 or t6, t2, t2 # e1 : already extracted before 149 cmpbge zero, t2, t8 # e0 : testing eos 157 extql t2, a1, t0 # e0 : position ho-bits of lo word 158 ldq_u t2, 8(a1) # .. e1 : read next high-order source word [all …]
|
| H A D | ev6-stxcpy.S | 58 lda t2, -1 # E : build a mask against false zero 59 mskqh t2, a1, t2 # U : detection in the src word (stall) 61 ornot t1, t2, t2 # E : (stall) 64 cmpbge zero, t2, t8 # E : bits set iff null found 155 ldq_u t2, 8(a1) # L : 158 extqh t2, a1, t4 # U : (stall on a1) 171 or t6, t2, t2 # E : already extracted before (stall) 172 cmpbge zero, t2, t8 # E : testing eos (stall) 180 extql t2, a1, t0 # U : position ho-bits of lo word 181 ldq_u t2, 8(a1) # U : read next high-order source word [all …]
|
| H A D | stxncpy.S | 55 lda t2, -1 # e1 : build a mask against false zero 56 mskqh t2, a1, t2 # e0 : detection in the src word 58 ornot t1, t2, t2 # .. e1 : 60 cmpbge zero, t2, t8 # .. e1 : bits set iff null found 127 and a2, 7, t2 # e1 : 130 sll t10, t2, t10 # e0 : t10 = bitmask of last count byte 158 ldq_u t2, 8(a1) # e0 : load second src word 161 extqh t2, a1, t4 # e0 : 174 or t6, t2, t2 # .. e1 : 175 cmpbge zero, t2, t8 # e0 : find nulls in second partial [all …]
|
| H A D | ev6-stxncpy.S | 66 lda t2, -1 # E : build a mask against false zero 67 mskqh t2, a1, t2 # U : detection in the src word (stall) 69 ornot t1, t2, t2 # E : (stall) 72 cmpbge zero, t2, t8 # E : bits set iff null found 160 and a2, 7, t2 # E : (stall) 164 sll t10, t2, t10 # U : t10 = bitmask of last count byte 197 ldq_u t2, 8(a1) # L : Latency=3 load second src word 200 extqh t2, a1, t4 # U : (3 cycle stall on t2) 215 or t6, t2, t2 # E : (stall) 217 cmpbge zero, t2, t8 # E : find nulls in second partial [all …]
|
| /OK3568_Linux_fs/kernel/include/net/netfilter/ |
| H A D | nf_conntrack_tuple.h | 125 const struct nf_conntrack_tuple *t2) in __nf_ct_tuple_src_equal() argument 127 return (nf_inet_addr_cmp(&t1->src.u3, &t2->src.u3) && in __nf_ct_tuple_src_equal() 128 t1->src.u.all == t2->src.u.all && in __nf_ct_tuple_src_equal() 129 t1->src.l3num == t2->src.l3num); in __nf_ct_tuple_src_equal() 133 const struct nf_conntrack_tuple *t2) in __nf_ct_tuple_dst_equal() argument 135 return (nf_inet_addr_cmp(&t1->dst.u3, &t2->dst.u3) && in __nf_ct_tuple_dst_equal() 136 t1->dst.u.all == t2->dst.u.all && in __nf_ct_tuple_dst_equal() 137 t1->dst.protonum == t2->dst.protonum); in __nf_ct_tuple_dst_equal() 141 const struct nf_conntrack_tuple *t2) in nf_ct_tuple_equal() argument 143 return __nf_ct_tuple_src_equal(t1, t2) && in nf_ct_tuple_equal() [all …]
|
| /OK3568_Linux_fs/kernel/lib/mpi/ |
| H A D | mpi-inv.c | 33 MPI u, v, u1, u2 = NULL, u3, v1, v2 = NULL, v3, t1, t2 = NULL, t3; in mpi_invm() local 65 t2 = mpi_alloc_set_ui(1); in mpi_invm() 66 t2->sign = 1; in mpi_invm() 74 t2 = mpi_alloc_set_ui(0); in mpi_invm() 81 if (mpi_test_bit(t1, 0) || mpi_test_bit(t2, 0)) { in mpi_invm() 84 mpi_sub(t2, t2, u); in mpi_invm() 87 mpi_rshift(t2, t2, 1); in mpi_invm() 102 mpi_set(u2, t2); in mpi_invm() 108 mpi_sub(v2, u, t2); in mpi_invm() 116 mpi_sub(t2, u2, v2); in mpi_invm() [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/picocom/picocom/ |
| H A D | 0001-Fix-building-with-musl.patch | 38 t2.c_cflag = tios->c_cflag; 39 t2.c_lflag = tios->c_lflag; 40 t2.c_line = tios->c_line; 42 + t2.c_ispeed = tios->__c_ispeed; 43 + t2.c_ospeed = tios->__c_ospeed; 45 t2.c_ispeed = tios->c_ispeed; 46 t2.c_ospeed = tios->c_ospeed; 48 memcpy(&t2.c_cc[0], &tios->c_cc[0], K_NCCS * sizeof (cc_t)); 50 return ioctl(fd, cmd, &t2); 52 tios->c_cflag = t2.c_cflag; [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/dec/ |
| H A D | int-handler.S | 135 lw t2,cpu_fpu_mask 143 and t2,t0 144 bnez t2,fpu # handle FPU immediately 214 2: lw t2,(t1) 216 and t2,t0 217 beq zero,t2,2b 241 li t2,4 # nr of bits / 2 247 li t2,4 # nr of bits / 2 253 li t2,8 # nr of bits / 2 262 li t2,8 # nr of bits / 2 [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/ |
| H A D | utee_defines.h | 271 #define TEE_TIME_LT(t1, t2) \ argument 272 (((t1).seconds == (t2).seconds) ? \ 273 ((t1).millis < (t2).millis) : \ 274 ((t1).seconds < (t2).seconds)) 276 #define TEE_TIME_LE(t1, t2) \ argument 277 (((t1).seconds == (t2).seconds) ? \ 278 ((t1).millis <= (t2).millis) : \ 279 ((t1).seconds <= (t2).seconds)) 281 #define TEE_TIME_ADD(t1, t2, dst) do { \ argument 282 (dst).seconds = (t1).seconds + (t2).seconds; \ [all …]
|