Searched refs:ROTL (Results 1 – 3 of 3) sorted by relevance
/optee_os-3.20.0/core/crypto/ |
A D | sm3.c | 93 #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 D | sm4.c | 36 #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 D | camellia.c | 237 #define ROTL(DEST, SRC, SHIFT) \ macro 266 ROTL(TK + i * 4, TK, ( 15 * i ) % 32); \
|
Completed in 5 milliseconds