Home
last modified time | relevance | path

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

/optee_test-3.20.0/ta/crypt/
A Dsha2_impl.c46 #define ROTR(x, n) ((x >> n) | (x << ((sizeof(x) << 3) - n))) macro
51 #define SHA256_F1(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22))
52 #define SHA256_F2(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25))
53 #define SHA256_F3(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHFR(x, 3))
54 #define SHA256_F4(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SHFR(x, 10))

Completed in 3 milliseconds