Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/crypto/
A Dsm3.c93 #define P0(x) ((x) ^ ROTL((x), 9) ^ ROTL((x), 17)) in sm3_process()
94 #define P1(x) ((x) ^ ROTL((x), 15) ^ ROTL((x), 23)) in sm3_process()
103 Temp2 = ROTL(W[j - 3], 15); in sm3_process()
123 SS1 = ROTL(ROTL(A, 12) + E + ROTL(T[j], j), 7); in sm3_process()
124 SS2 = SS1 ^ ROTL(A, 12); in sm3_process()
128 C = ROTL(B, 9); in sm3_process()
132 G = ROTL(F, 19); in sm3_process()
138 SS1 = ROTL(ROTL(A, 12) + E + ROTL(T[j], j), 7); in sm3_process()
139 SS2 = SS1 ^ ROTL(A, 12); in sm3_process()
143 C = ROTL(B, 9); in sm3_process()
[all …]
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-3.20.0/lib/libmbedtls/mbedtls/library/
A Dcamellia.c237 #define ROTL(DEST, SRC, SHIFT) \ macro
266 ROTL(TK + i * 4, TK, ( 15 * i ) % 32); \

Completed in 5 milliseconds