Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/arch/arm/crypto/
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-6.12.1/lib/crypto/
Dsha256.c44 static inline u32 Maj(u32 x, u32 y, u32 z) in Maj() function
67 t2 = e0(a) + Maj(a, b, c); \
/linux-6.12.1/arch/x86/crypto/
Dsha512-ssse3-asm.S137 xor tmp0, T2 # T2 = ((a ^ c) & b) ^ (a & c) = Maj(a,b,c)
144 lea (T1, T2), h_64 # a(next_state) = T1 + Maj(a,b,c)
146 add tmp0, h_64 # a(next_state) = T1 + Maj(a,b,c) S0(a)
Dsha512-avx-asm.S143 xor tmp0, T2 # T2 = ((a ^ c) & b) ^ (a & c) = Maj(a,b,c)
150 lea (T1, T2), h_64 # a(next_state) = T1 + Maj(a,b,c)
152 add tmp0, h_64 # a(next_state) = T1 + Maj(a,b,c) S0(a)