Home
last modified time | relevance | path

Searched refs:ROTATE (Results 1 – 15 of 15) sorted by relevance

/openssl/crypto/ripemd/
H A Drmd_local.h66 a=ROTATE(a,s)+e; \
67 c=ROTATE(c,10); }
71 a=ROTATE(a,s)+e; \
72 c=ROTATE(c,10); }
76 a=ROTATE(a,s)+e; \
77 c=ROTATE(c,10); }
81 a=ROTATE(a,s)+e; \
82 c=ROTATE(c,10); }
86 a=ROTATE(a,s)+e; \
87 c=ROTATE(c,10); }
/openssl/crypto/sm3/
H A Dsm3_local.h78 # define P0(X) (X ^ ROTATE(X, 9) ^ ROTATE(X, 17))
81 # define P1(X) (X ^ ROTATE(X, 15) ^ ROTATE(X, 23))
91 (P1(W0 ^ W7 ^ ROTATE(W13, 15)) ^ ROTATE(W3, 7) ^ W10)
95 const SM3_WORD A12 = ROTATE(A, 12); \
97 const SM3_WORD SS1 = ROTATE(A12_SM, 7); \
100 B = ROTATE(B, 9); \
102 F = ROTATE(F, 19); \
/openssl/crypto/chacha/
H A Dchacha_enc.c25 # define ROTATE(v, n) (((v) << (n)) | ((v) >> (32 - (n)))) macro
32 # undef ROTATE
33 # define ROTATE(x, n) ({ u32 ret; \ macro
39 # undef ROTATE
40 # define ROTATE(x, n) ({ u32 ret; \ macro
58 x[a] += x[b], x[d] = ROTATE((x[d] ^ x[a]),16), \
59 x[c] += x[d], x[b] = ROTATE((x[b] ^ x[c]),12), \
60 x[a] += x[b], x[d] = ROTATE((x[d] ^ x[a]), 8), \
61 x[c] += x[d], x[b] = ROTATE((x[b] ^ x[c]), 7) )
/openssl/crypto/des/
H A Ddes_local.h85 # define ROTATE(a,n) (_lrotr(a,n)) macro
87 # define ROTATE(a,n) (_rotr(a,n)) macro
90 # define ROTATE(a,n) ({ register unsigned int ret; \ macro
99 # define ROTATE(x, n) ({ register unsigned int ret; \ macro
105 # define ROTATE(x, n) ({ register unsigned int ret; \ macro
112 # ifndef ROTATE
113 # define ROTATE(a,n) (((a)>>(n))+((a)<<(32-(n)))) macro
146 t=ROTATE(t,4); \
H A Ddes_enc.c37 r = ROTATE(r, 29) & 0xffffffffL; in DES_encrypt1()
38 l = ROTATE(l, 29) & 0xffffffffL; in DES_encrypt1()
82 l = ROTATE(l, 3) & 0xffffffffL; in DES_encrypt1()
83 r = ROTATE(r, 3) & 0xffffffffL; in DES_encrypt1()
106 r = ROTATE(r, 29) & 0xffffffffL; in DES_encrypt2()
107 l = ROTATE(l, 29) & 0xffffffffL; in DES_encrypt2()
150 data[0] = ROTATE(l, 3) & 0xffffffffL; in DES_encrypt2()
151 data[1] = ROTATE(r, 3) & 0xffffffffL; in DES_encrypt2()
H A Dfcrypt_b.c67 l = ROTATE(l, 3) & 0xffffffffL; in fcrypt_body()
68 r = ROTATE(r, 3) & 0xffffffffL; in fcrypt_body()
H A Dset_key.c385 *(k++) = ROTATE(t2, 30) & 0xffffffffL; in DES_set_key_unchecked()
388 *(k++) = ROTATE(t2, 26) & 0xffffffffL; in DES_set_key_unchecked()
/openssl/crypto/aes/
H A Daes_x86core.c91 #undef ROTATE
617 #if defined(ROTATE) in AES_set_decrypt_key()
619 ROTATE(tp9,8) ^ ROTATE(tpb,24); in AES_set_decrypt_key()
705 #if defined(ROTATE) in AES_encrypt()
706 t[i] = r2 ^ ROTATE(r2,24) ^ ROTATE(r0,24) ^ in AES_encrypt()
707 ROTATE(r0,16) ^ ROTATE(r0,8); in AES_encrypt()
772 #if defined(ROTATE) in AES_encrypt()
773 t[i] = r2 ^ ROTATE(r2,24) ^ ROTATE(r0,24) ^ in AES_encrypt()
774 ROTATE(r0,16) ^ ROTATE(r0,8); in AES_encrypt()
932 ROTATE(tp9,8) ^ ROTATE(tpb,24); in AES_decrypt()
[all …]
H A Daes_core.c2000 #if defined(ROTATE) in AES_set_decrypt_key()
2001 rk[j] = tpe ^ ROTATE(tpd,16) ^ in AES_set_decrypt_key()
2002 ROTATE(tp9,24) ^ ROTATE(tpb,8); in AES_set_decrypt_key()
/openssl/crypto/sha/
H A Dsha_local.h87 (b)=ROTATE((b),30);
92 (b)=ROTATE((b),30);
97 (b)=ROTATE((b),30);
102 (b)=ROTATE((b),30);
107 (b)=ROTATE((b),30);
112 (b)=ROTATE((b),30);
338 E=D, D=C, C=ROTATE(B,30), B=A; \
344 E=D, D=C, C=ROTATE(B,30), B=A; \
350 E=D, D=C, C=ROTATE(B,30), B=A; \
356 E=D, D=C, C=ROTATE(B,30), B=A; \
[all …]
H A Dsha256.c192 # define Sigma0(x) (ROTATE((x),30) ^ ROTATE((x),19) ^ ROTATE((x),10))
195 # define Sigma1(x) (ROTATE((x),26) ^ ROTATE((x),21) ^ ROTATE((x),7))
198 # define sigma0(x) (ROTATE((x),25) ^ ROTATE((x),14) ^ ((x)>>3))
201 # define sigma1(x) (ROTATE((x),15) ^ ROTATE((x),13) ^ ((x)>>10))
/openssl/include/crypto/
H A Dmd32_common.h100 # define ROTATE(a,n) (((a)<<(n))|(((a)&0xffffffff)>>(32-(n)))) macro
107 # undef ROTATE
108 # define ROTATE(x, n) ({ MD32_REG_T ret; \ macro
114 # undef ROTATE
115 # define ROTATE(x, n) ({ MD32_REG_T ret; \ macro
/openssl/crypto/md5/
H A Dmd5_local.h66 a=ROTATE(a,s); \
71 a=ROTATE(a,s); \
76 a=ROTATE(a,s); \
81 a=ROTATE(a,s); \
/openssl/crypto/md4/
H A Dmd4_local.h52 a=ROTATE(a,s); };
56 a=ROTATE(a,s); };
60 a=ROTATE(a,s); };
/openssl/crypto/whrlpool/
H A Dwp_block.c106 #undef ROTATE
112 # define ROTATE(a,n) _rotl64((a),n) macro
143 # if !defined(ROTATE)
150 # if defined(ROTATE) && !defined(STRICT_ALIGNMENT)
179 # if defined(ROTATE)
183 # define C1(K,i) ROTATE(Cx.q[K.c[(i)*8+1]],8)
184 # define C2(K,i) ROTATE(Cx.q[K.c[(i)*8+2]],16)
185 # define C3(K,i) ROTATE(Cx.q[K.c[(i)*8+3]],24)
186 # define C4(K,i) ROTATE(Cx.q[K.c[(i)*8+4]],32)
187 # define C5(K,i) ROTATE(Cx.q[K.c[(i)*8+5]],40)
[all …]

Completed in 58 milliseconds