Home
last modified time | relevance | path

Searched refs:Ch (Results 1 – 3 of 3) sorted by relevance

/lib/crypto/
A Dsha512.c65 #define Ch(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) macro
97 t1 = h + e1(e) + Ch(e, f, g) + sha512_K[i] + W[(i & 15)]; in sha512_block_generic()
99 t1 = g + e1(d) + Ch(d, e, f) + sha512_K[i+1] + W[(i & 15) + 1]; in sha512_block_generic()
101 t1 = f + e1(c) + Ch(c, d, e) + sha512_K[i+2] + W[(i & 15) + 2]; in sha512_block_generic()
103 t1 = e + e1(b) + Ch(b, c, d) + sha512_K[i+3] + W[(i & 15) + 3]; in sha512_block_generic()
105 t1 = d + e1(a) + Ch(a, b, c) + sha512_K[i+4] + W[(i & 15) + 4]; in sha512_block_generic()
107 t1 = c + e1(h) + Ch(h, a, b) + sha512_K[i+5] + W[(i & 15) + 5]; in sha512_block_generic()
109 t1 = b + e1(g) + Ch(g, h, a) + sha512_K[i+6] + W[(i & 15) + 6]; in sha512_block_generic()
111 t1 = a + e1(f) + Ch(f, g, h) + sha512_K[i+7] + W[(i & 15) + 7]; in sha512_block_generic()
A Dsha256.c49 #define Ch(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) macro
69 t1 = h + e1(e) + Ch(e, f, g) + sha256_K[i] + W[i]; \
/lib/crypto/arm/
A Dsha512-armv4.pl507 my ($t0,$t1,$t2,$T1,$K,$Ch,$Maj)=map("d$_",(24..31)); # temps
524 vmov $Ch,$e
530 vbsl $Ch,$f,$g @ Ch(e,f,g)
533 vadd.i64 $T1,$Ch,$h

Completed in 7 milliseconds