Home
last modified time | relevance | path

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

/optee_os/core/crypto/
H A Dsm3.c65 #define ROTL(x, n) rotl((x), (n)) macro
104 #define P0(x) ((x) ^ ROTL((x), 9) ^ ROTL((x), 17)) in sm3_process()
105 #define P1(x) ((x) ^ ROTL((x), 15) ^ ROTL((x), 23)) in sm3_process()
114 Temp2 = ROTL(W[j - 3], 15); in sm3_process()
117 Temp5 = ROTL(W[j - 13], 7) ^ W[j - 6]; in sm3_process()
134 SS1 = ROTL(ROTL(A, 12) + E + ROTL(T[j], j), 7); in sm3_process()
135 SS2 = SS1 ^ ROTL(A, 12); in sm3_process()
139 C = ROTL(B, 9); in sm3_process()
143 G = ROTL(F, 19); in sm3_process()
149 SS1 = ROTL(ROTL(A, 12) + E + ROTL(T[j], j), 7); in sm3_process()
[all …]
H A Dsm4.c36 #define ROTL(x, n) (SHL((x), (n)) | ((x) >> (32 - (n)))) macro
115 return bb ^ ROTL(bb, 2) ^ ROTL(bb, 10) ^ ROTL(bb, 18) ^ ROTL(bb, 24); in sm4Lt()
137 return bb ^ ROTL(bb, 13) ^ ROTL(bb, 23); in sm4CalciRK()
/optee_os/lib/libmbedtls/mbedtls/library/
H A Dcamellia.c212 #define ROTL(DEST, SRC, SHIFT) \ macro
241 ROTL(TK + i * 4, TK, (15 * i) % 32); \