Home
last modified time | relevance | path

Searched refs:Maj (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.10/lib/crypto/
Dsha256.c26 static inline u32 Maj(u32 x, u32 y, u32 z) in Maj() function
66 t2 = e0(a) + Maj(a, b, c); d += t1; h = t1 + t2; in sha256_transform()
68 t2 = e0(h) + Maj(h, a, b); c += t1; g = t1 + t2; in sha256_transform()
70 t2 = e0(g) + Maj(g, h, a); b += t1; f = t1 + t2; in sha256_transform()
72 t2 = e0(f) + Maj(f, g, h); a += t1; e = t1 + t2; in sha256_transform()
74 t2 = e0(e) + Maj(e, f, g); h += t1; d = t1 + t2; in sha256_transform()
76 t2 = e0(d) + Maj(d, e, f); g += t1; c = t1 + t2; in sha256_transform()
78 t2 = e0(c) + Maj(c, d, e); f += t1; b = t1 + t2; in sha256_transform()
80 t2 = e0(b) + Maj(b, c, d); e += t1; a = t1 + t2; in sha256_transform()
83 t2 = e0(a) + Maj(a, b, c); d += t1; h = t1 + t2; in sha256_transform()
[all …]
/Linux-v5.10/crypto/
Dsha512_generic.c48 static inline u64 Maj(u64 x, u64 y, u64 z) in Maj() function
127 t2 = e0(a) + Maj(a,b,c); d+=t1; h=t1+t2; in sha512_transform()
129 t2 = e0(h) + Maj(h,a,b); c+=t1; g=t1+t2; in sha512_transform()
131 t2 = e0(g) + Maj(g,h,a); b+=t1; f=t1+t2; in sha512_transform()
133 t2 = e0(f) + Maj(f,g,h); a+=t1; e=t1+t2; in sha512_transform()
135 t2 = e0(e) + Maj(e,f,g); h+=t1; d=t1+t2; in sha512_transform()
137 t2 = e0(d) + Maj(d,e,f); g+=t1; c=t1+t2; in sha512_transform()
139 t2 = e0(c) + Maj(c,d,e); f+=t1; b=t1+t2; in sha512_transform()
141 t2 = e0(b) + Maj(b,c,d); e+=t1; a=t1+t2; in sha512_transform()
/Linux-v5.10/arch/arm64/crypto/
Dsha512-core.S_shipped114 eor x28,x28,x21 // Maj(a,b,c)
116 add x27,x27,x28 // h+=Maj(a,b,c)
139 eor x19,x19,x20 // Maj(a,b,c)
141 add x26,x26,x19 // h+=Maj(a,b,c)
163 eor x28,x28,x27 // Maj(a,b,c)
165 add x25,x25,x28 // h+=Maj(a,b,c)
188 eor x19,x19,x26 // Maj(a,b,c)
190 add x24,x24,x19 // h+=Maj(a,b,c)
212 eor x28,x28,x25 // Maj(a,b,c)
214 add x23,x23,x28 // h+=Maj(a,b,c)
[all …]
Dsha256-core.S_shipped128 eor w28,w28,w21 // Maj(a,b,c)
130 add w27,w27,w28 // h+=Maj(a,b,c)
153 eor w19,w19,w20 // Maj(a,b,c)
155 add w26,w26,w19 // h+=Maj(a,b,c)
177 eor w28,w28,w27 // Maj(a,b,c)
179 add w25,w25,w28 // h+=Maj(a,b,c)
202 eor w19,w19,w26 // Maj(a,b,c)
204 add w24,w24,w19 // h+=Maj(a,b,c)
226 eor w28,w28,w25 // Maj(a,b,c)
228 add w23,w23,w28 // h+=Maj(a,b,c)
[all …]
/Linux-v5.10/arch/arm/crypto/
Dsha512-core.S_shipped297 orr r5,r5,r9 @ Maj(a,b,c).lo
300 orr r6,r6,r12 @ Maj(a,b,c).hi
437 orr r5,r5,r9 @ Maj(a,b,c).lo
440 orr r6,r6,r12 @ Maj(a,b,c).hi
555 vadd.i64 d16,d30 @ h+=Maj from the past
581 vbsl d30,d18,d17 @ Maj(a,b,c)
592 vadd.i64 d23,d30 @ h+=Maj from the past
618 vbsl d30,d17,d16 @ Maj(a,b,c)
629 vadd.i64 d22,d30 @ h+=Maj from the past
655 vbsl d30,d16,d23 @ Maj(a,b,c)
[all …]
Dsha256-core.S_shipped128 add r4,r4,r12 @ h+=Maj(a,b,c) from the past
135 add r4,r4,r12 @ h+=Maj(a,b,c) from the past
177 eor r3,r3,r5 @ Maj(a,b,c)
179 @ add r11,r11,r3 @ h+=Maj(a,b,c)
186 add r11,r11,r3 @ h+=Maj(a,b,c) from the past
193 add r11,r11,r3 @ h+=Maj(a,b,c) from the past
235 eor r12,r12,r4 @ Maj(a,b,c)
237 @ add r10,r10,r12 @ h+=Maj(a,b,c)
244 add r10,r10,r12 @ h+=Maj(a,b,c) from the past
251 add r10,r10,r12 @ h+=Maj(a,b,c) from the past
[all …]
Dsha512-armv4.pl507 my ($t0,$t1,$t2,$T1,$K,$Ch,$Maj)=map("d$_",(24..31)); # temps
516 vadd.i64 $a,$Maj @ h+=Maj from the past
540 veor $Maj,$a,$b
544 vbsl $Maj,$c,$b @ Maj(a,b,c)
547 vadd.i64 $Maj,$T1
548 @ vadd.i64 $h,$Maj
/Linux-v5.10/arch/x86/crypto/
Dsha512-avx-asm.S146 xor tmp0, T2 # T2 = ((a ^ c) & b) ^ (a & c) = Maj(a,b,c)
153 lea (T1, T2), h_64 # a(next_state) = T1 + Maj(a,b,c)
155 add tmp0, h_64 # a(next_state) = T1 + Maj(a,b,c) S0(a)
Dsha512-ssse3-asm.S140 xor tmp0, T2 # T2 = ((a ^ c) & b) ^ (a & c) = Maj(a,b,c)
147 lea (T1, T2), h_64 # a(next_state) = T1 + Maj(a,b,c)
149 add tmp0, h_64 # a(next_state) = T1 + Maj(a,b,c) S0(a)
/Linux-v5.10/drivers/staging/rtl8723bs/include/
Drtw_security.h393 #define Maj(x, y, z) (((x | y) & z) | (x & y)) macro