Home
last modified time | relevance | path

Searched refs:t2 (Results 1 – 25 of 215) sorted by relevance

123456789

/Linux-v4.19/crypto/
Dsha256_generic.c73 u32 a, b, c, d, e, f, g, h, t1, t2; in sha256_transform() local
91 t2 = e0(a) + Maj(a,b,c); d+=t1; h=t1+t2; in sha256_transform()
93 t2 = e0(h) + Maj(h,a,b); c+=t1; g=t1+t2; in sha256_transform()
95 t2 = e0(g) + Maj(g,h,a); b+=t1; f=t1+t2; in sha256_transform()
97 t2 = e0(f) + Maj(f,g,h); a+=t1; e=t1+t2; in sha256_transform()
99 t2 = e0(e) + Maj(e,f,g); h+=t1; d=t1+t2; in sha256_transform()
101 t2 = e0(d) + Maj(d,e,f); g+=t1; c=t1+t2; in sha256_transform()
103 t2 = e0(c) + Maj(c,d,e); f+=t1; b=t1+t2; in sha256_transform()
105 t2 = e0(b) + Maj(b,c,d); e+=t1; a=t1+t2; in sha256_transform()
108 t2 = e0(a) + Maj(a,b,c); d+=t1; h=t1+t2; in sha256_transform()
[all …]
Dsha512_generic.c106 u64 a, b, c, d, e, f, g, h, t1, t2; in sha512_transform() local
132 t2 = e0(a) + Maj(a,b,c); d+=t1; h=t1+t2; in sha512_transform()
134 t2 = e0(h) + Maj(h,a,b); c+=t1; g=t1+t2; in sha512_transform()
136 t2 = e0(g) + Maj(g,h,a); b+=t1; f=t1+t2; in sha512_transform()
138 t2 = e0(f) + Maj(f,g,h); a+=t1; e=t1+t2; in sha512_transform()
140 t2 = e0(e) + Maj(e,f,g); h+=t1; d=t1+t2; in sha512_transform()
142 t2 = e0(d) + Maj(d,e,f); g+=t1; c=t1+t2; in sha512_transform()
144 t2 = e0(c) + Maj(c,d,e); f+=t1; b=t1+t2; in sha512_transform()
146 t2 = e0(b) + Maj(b,c,d); e+=t1; a=t1+t2; in sha512_transform()
153 a = b = c = d = e = f = g = h = t1 = t2 = 0; in sha512_transform()
/Linux-v4.19/lib/
Dsha256.c50 u32 a, b, c, d, e, f, g, h, t1, t2; in sha256_transform() local
68 t2 = e0(a) + Maj(a, b, c); d += t1; h = t1 + t2; in sha256_transform()
70 t2 = e0(h) + Maj(h, a, b); c += t1; g = t1 + t2; in sha256_transform()
72 t2 = e0(g) + Maj(g, h, a); b += t1; f = t1 + t2; in sha256_transform()
74 t2 = e0(f) + Maj(f, g, h); a += t1; e = t1 + t2; in sha256_transform()
76 t2 = e0(e) + Maj(e, f, g); h += t1; d = t1 + t2; in sha256_transform()
78 t2 = e0(d) + Maj(d, e, f); g += t1; c = t1 + t2; in sha256_transform()
80 t2 = e0(c) + Maj(c, d, e); f += t1; b = t1 + t2; in sha256_transform()
82 t2 = e0(b) + Maj(b, c, d); e += t1; a = t1 + t2; in sha256_transform()
85 t2 = e0(a) + Maj(a, b, c); d += t1; h = t1 + t2; in sha256_transform()
[all …]
/Linux-v4.19/arch/x86/crypto/
Dpoly1305-sse2-x86_64.S43 #define t2 %xmm4 macro
90 movd h3,t2
93 punpcklqdq t2,h23
98 movd 0x03(m),t2
99 psrld $2,t2
100 punpcklqdq t2,t1
105 movd 0x09(m),t2
107 psrld $6,t2
108 punpcklqdq t2,t1
122 movd s4,t2
[all …]
Dpoly1305-avx2-x86_64.S63 #define t2 %ymm6 macro
108 vpunpcklqdq t2,t1,t1
117 vpunpcklqdq t2,t1,t1
128 vpunpcklqdq t2,t1,t1
139 vpunpcklqdq t2,t1,t1
150 vpunpcklqdq t2,t1,t1
163 vpunpcklqdq t2,t1,t1
175 vpunpcklqdq t2,t1,t1
188 vpunpcklqdq t2,t1,t1
201 vpunpcklqdq t2,t1,t1
[all …]
Dglue_helper-asm-avx2.S61 t1x, t2, t2x, t3, t3x, t4, t5) \ argument
71 vinserti128 $1, t2x, t3, t2; /* ab: le0 ; cd: le1 */ \
72 vpshufb t1, t2, x0; \
75 add2_le128(t2, t0, t4, t3, t5); /* ab: le2 ; cd: le3 */ \
76 vpshufb t1, t2, x1; \
77 add2_le128(t2, t0, t4, t3, t5); \
78 vpshufb t1, t2, x2; \
79 add2_le128(t2, t0, t4, t3, t5); \
80 vpshufb t1, t2, x3; \
81 add2_le128(t2, t0, t4, t3, t5); \
[all …]
/Linux-v4.19/drivers/block/paride/
Dbpck.c35 #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 …]
/Linux-v4.19/arch/mips/kernel/
Docteon_switch.S43 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 …]
/Linux-v4.19/arch/arm/crypto/
Dsha512-armv4.pl75 $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 …]
Dsha256-armv4.pl63 $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 …]
/Linux-v4.19/arch/mips/netlogic/common/
Dsmpboot.S63 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 …]
Dreset.S62 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 …]
/Linux-v4.19/include/net/netfilter/
Dnf_conntrack_tuple.h125 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 …]
/Linux-v4.19/arch/alpha/lib/
Dstxcpy.S47 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 …]
Dev6-stxcpy.S58 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 …]
Dstxncpy.S55 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 …]
Dev6-stxncpy.S66 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 …]
Dev67-strrchr.S35 and a1, 0xff, t2 # E : 00000000000000ch
41 or t2, t4, a1 # E : 000000000000chch
47 sll a1, 32, t2 # U : 0000chch00000000
51 or t2, t3, t2 # E : 0000chchchch0000
52 or a1, t2, a1 # E : chchchchchchchch
57 xor t0, a1, t2 # E : make bytes == c zero
60 cmpbge zero, t2, t3 # E : bits set iff byte == c
75 xor t0, a1, t2 # E :
78 cmpbge zero, t2, t3 # E : bits set iff byte == c
97 ctlz t8, t2 # U0 : Latency=3 (0x40 for t8=0)
[all …]
Dstrchr.S29 cmpbge zero, t0, t2 # .. e1 : bits set iff byte == zero
37 or t2, t3, t0 # e1 : bits set iff char match or zero match
45 cmpbge zero, t0, t2 # e0 : bits set iff byte == 0
47 or t2, t3, t0 # e0 :
56 and t0, 0xf0, t2 # e0 : binary search for that set bit
59 cmovne t2, 4, t2 # .. e1 :
62 addq t2, t3, t2 # e0 :
64 addq v0, t2, v0 # e0 :
/Linux-v4.19/arch/mips/dec/
Dint-handler.S135 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 …]
/Linux-v4.19/arch/powerpc/crypto/
Daes-spe-keys.S44 #define LS_BOX(r, t1, t2) \ argument
45 lis t2,PPC_AES_4K_ENCTAB@h; \
46 ori t2,t2,PPC_AES_4K_ENCTAB@l; \
47 rlwimi t2,r,4,20,27; \
48 lbz t1,8(t2); \
50 rlwimi t2,r,28,20,27; \
51 lbz t1,8(t2); \
53 rlwimi t2,r,20,20,27; \
54 lbz t1,8(t2); \
56 rlwimi t2,r,12,20,27; \
[all …]
/Linux-v4.19/arch/mips/lib/
Dcsum_partial.S27 #undef t2
31 #define t2 $10 macro
113 move t2, a1
190 andi t2, a1, 0x40
204 beqz t2, 1f
205 andi t2, a1, 0x20
213 beqz t2, .Ldo_end_words
223 andi t2, a1, 0x3
237 move a1, t2
262 lbu t2, (src)
[all …]
/Linux-v4.19/arch/arm64/crypto/
Dsha512-armv8.pl104 ($t0,$t1,$t2,$t3)=map("$reg_t$_",(16,17,19,28));
141 add $h,$h,$t2 // h+=K[i]
144 bic $t2,$g,$e
146 orr $t1,$t1,$t2 // Ch(e,f,g)
147 eor $t2,$a,$b // a^b, b^c in next round
153 and $t3,$t3,$t2 // (b^c)&=(a^b)
158 ldr $t3,[$Ktbl],#$SZ // *K++, $t2 in next round
163 add $h,$h,$t2 // h+=K[i]
167 bic $t2,$g,$e
172 orr $t1,$t1,$t2 // Ch(e,f,g)
[all …]
/Linux-v4.19/arch/mips/include/asm/mach-ip27/
Dkernel-entry-init.h48 dsll t2, NASID_SHFT # Same for data nasid
50 or t2, t2, t0 # Physical load address of kernel data
52 dsrl t2, 12 # 4K pfn
54 dsll t2, 6 # Get pfn into place
59 or t0, t0, t2
79 move t2, t1 # text and data are here
94 lh t2, KV_RW_NASID_OFFSET(t0)
/Linux-v4.19/arch/alpha/include/asm/
Dword-at-a-time.h42 unsigned long t1, t2, t3; in find_zero()
47 t2 = bits & 0xcc; in find_zero()
50 if (t2) t2 = 2; in find_zero()
52 return t1 + t2 + t3; in find_zero()

123456789