Home
last modified time | relevance | path

Searched refs:t1 (Results 1 – 6 of 6) sorted by relevance

/crypto/
Dsha256_generic.c73 u32 a, b, c, d, e, f, g, h, t1, t2; in sha256_transform() local
90 t1 = h + e1(e) + Ch(e,f,g) + 0x428a2f98 + W[ 0]; in sha256_transform()
91 t2 = e0(a) + Maj(a,b,c); d+=t1; h=t1+t2; in sha256_transform()
92 t1 = g + e1(d) + Ch(d,e,f) + 0x71374491 + W[ 1]; in sha256_transform()
93 t2 = e0(h) + Maj(h,a,b); c+=t1; g=t1+t2; in sha256_transform()
94 t1 = f + e1(c) + Ch(c,d,e) + 0xb5c0fbcf + W[ 2]; in sha256_transform()
95 t2 = e0(g) + Maj(g,h,a); b+=t1; f=t1+t2; in sha256_transform()
96 t1 = e + e1(b) + Ch(b,c,d) + 0xe9b5dba5 + W[ 3]; in sha256_transform()
97 t2 = e0(f) + Maj(f,g,h); a+=t1; e=t1+t2; in sha256_transform()
98 t1 = d + e1(a) + Ch(a,b,c) + 0x3956c25b + W[ 4]; in sha256_transform()
[all …]
Dsha512_generic.c84 u64 a, b, c, d, e, f, g, h, t1, t2; in sha512_transform() local
109 t1 = h + e1(e) + Ch(e,f,g) + sha512_K[i ] + W[(i & 15)]; in sha512_transform()
110 t2 = e0(a) + Maj(a,b,c); d+=t1; h=t1+t2; in sha512_transform()
111 t1 = g + e1(d) + Ch(d,e,f) + sha512_K[i+1] + W[(i & 15) + 1]; in sha512_transform()
112 t2 = e0(h) + Maj(h,a,b); c+=t1; g=t1+t2; in sha512_transform()
113 t1 = f + e1(c) + Ch(c,d,e) + sha512_K[i+2] + W[(i & 15) + 2]; in sha512_transform()
114 t2 = e0(g) + Maj(g,h,a); b+=t1; f=t1+t2; in sha512_transform()
115 t1 = e + e1(b) + Ch(b,c,d) + sha512_K[i+3] + W[(i & 15) + 3]; in sha512_transform()
116 t2 = e0(f) + Maj(f,g,h); a+=t1; e=t1+t2; in sha512_transform()
117 t1 = d + e1(a) + Ch(a,b,c) + sha512_K[i+4] + W[(i & 15) + 4]; in sha512_transform()
[all …]
Dseed.c317 t1 = X4 ^ ks[rbase+1]; \
318 t1 ^= t0; \
319 t1 = SS0[byte(t1, 0)] ^ SS1[byte(t1, 1)] ^ \
320 SS2[byte(t1, 2)] ^ SS3[byte(t1, 3)]; \
321 t0 += t1; \
324 t1 += t0; \
325 t1 = SS0[byte(t1, 0)] ^ SS1[byte(t1, 1)] ^ \
326 SS2[byte(t1, 2)] ^ SS3[byte(t1, 3)]; \
327 t0 += t1; \
329 X2 ^= t1;
[all …]
Dcamellia_generic.c357 #define CAMELLIA_F(xl, xr, kl, kr, yl, yr, il, ir, t0, t1) ({ \ argument
361 t1 = ir >> 16; \
363 ^ camellia_sp0222[(u8)(t1 >> 8)] \
364 ^ camellia_sp3033[(u8)(t1)] \
561 u32 il, ir, t0, t1, w0, w1; in camellia_setup128() local
618 w0, w1, il, ir, t0, t1); in camellia_setup128()
622 kll, klr, il, ir, t0, t1); in camellia_setup128()
626 krl, krr, il, ir, t0, t1); in camellia_setup128()
630 w0, w1, il, ir, t0, t1); in camellia_setup128()
668 u32 il, ir, t0, t1, w0, w1; /* temporary variables */ in camellia_setup256() local
[all …]
Dvmac.c218 u64 t1, t2, m1, m2, t; \
222 t1 = pe64_to_cpup(mp+i) + kp[i]; \
224 m2 = MUL32(t1 >> 32, t2); \
225 m1 = MUL32(t1, t2 >> 32); \
226 ADD128(rh, rl, MUL32(t1 >> 32, t2 >> 32), \
227 MUL32(t1, t2)); \
Decc.c713 u64 t1[ndigits]; in apply_z() local
715 vli_mod_square_fast(t1, z, curve_prime, ndigits); /* z^2 */ in apply_z()
716 vli_mod_mult_fast(x1, x1, t1, curve_prime, ndigits); /* x1 * z^2 */ in apply_z()
717 vli_mod_mult_fast(t1, t1, z, curve_prime, ndigits); /* z^3 */ in apply_z()
718 vli_mod_mult_fast(y1, y1, t1, curve_prime, ndigits); /* y1 * z^3 */ in apply_z()