Searched refs:crypto_rol_u32 (Results 1 - 6 of 6) sorted by relevance
/openbsd-current/lib/libcrypto/sm3/ |
H A D | sm3.c | 31 #define P0(X) (X ^ crypto_rol_u32(X, 9) ^ crypto_rol_u32(X, 17)) 32 #define P1(X) (X ^ crypto_rol_u32(X, 15) ^ crypto_rol_u32(X, 23)) 41 (P1(W0 ^ W7 ^ crypto_rol_u32(W13, 15)) ^ crypto_rol_u32(W3, 7) ^ W10) 44 const SM3_WORD A12 = crypto_rol_u32(A, 12); \ 46 const SM3_WORD SS1 = crypto_rol_u32(A12_SM, 7); \ 49 B = crypto_rol_u32(B, 9); \ 51 F = crypto_rol_u32( [all...] |
/openbsd-current/lib/libcrypto/ripemd/ |
H A D | ripemd.c | 104 a=crypto_rol_u32(a,s)+e; \ 105 c=crypto_rol_u32(c,10); } 109 a=crypto_rol_u32(a,s)+e; \ 110 c=crypto_rol_u32(c,10); } 114 a=crypto_rol_u32(a,s)+e; \ 115 c=crypto_rol_u32(c,10); } 119 a=crypto_rol_u32(a,s)+e; \ 120 c=crypto_rol_u32(c,10); } 124 a=crypto_rol_u32(a,s)+e; \ 125 c=crypto_rol_u32( [all...] |
/openbsd-current/lib/libcrypto/sha/ |
H A D | sha1.c | 100 *W0 = crypto_rol_u32(W13 ^ W8 ^ W2 ^ *W0, 1); 110 T = crypto_rol_u32(*a, 5) + Ch(*b, *c, *d) + *e + Kt + Wt; 114 *c = crypto_rol_u32(*b, 30); 126 T = crypto_rol_u32(*a, 5) + Parity(*b, *c, *d) + *e + Kt + Wt; 130 *c = crypto_rol_u32(*b, 30); 142 T = crypto_rol_u32(*a, 5) + Maj(*b, *c, *d) + *e + Kt + Wt; 146 *c = crypto_rol_u32(*b, 30); 158 T = crypto_rol_u32(*a, 5) + Parity(*b, *c, *d) + *e + Kt + Wt; 162 *c = crypto_rol_u32(*b, 30);
|
/openbsd-current/lib/libcrypto/ |
H A D | crypto_internal.h | 193 crypto_rol_u32(uint32_t v, size_t shift) function
|
/openbsd-current/lib/libcrypto/md4/ |
H A D | md4.c | 95 *a = crypto_rol_u32(*a + md4_f(b, c, d) + x, s); 102 *a = crypto_rol_u32(*a + md4_g(b, c, d) + x + 0x5a827999UL, s); 109 *a = crypto_rol_u32(*a + md4_h(b, c, d) + x + 0x6ed9eba1UL, s);
|
/openbsd-current/lib/libcrypto/md5/ |
H A D | md5.c | 107 *a = b + crypto_rol_u32(*a + md5_F(b, c, d) + x + t, s); 114 *a = b + crypto_rol_u32(*a + md5_G(b, c, d) + x + t, s); 121 *a = b + crypto_rol_u32(*a + md5_H(b, c, d) + x + t, s); 128 *a = b + crypto_rol_u32(*a + md5_I(b, c, d) + x + t, s);
|
Completed in 123 milliseconds