Home
last modified time | relevance | path

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

/mbedtls-3.7.0/library/
Dsha3.c94 #define ROTR64(x, y) (((x) << (64U - (y))) | ((x) >> (y))) // 64-bit rotate right macro
116 t = lane[(i + 4) % 5] ^ ROTR64(lane[(i + 1) % 5], 63); in keccak_f1600()
126 t = lane[4] ^ ROTR64(lane[1], 63); in keccak_f1600()
129 t = lane[0] ^ ROTR64(lane[2], 63); in keccak_f1600()
132 t = lane[1] ^ ROTR64(lane[3], 63); in keccak_f1600()
135 t = lane[2] ^ ROTR64(lane[4], 63); in keccak_f1600()
138 t = lane[3] ^ ROTR64(lane[0], 63); in keccak_f1600()
149 s[j] = ROTR64(s[j], r8); in keccak_f1600()
152 s[i + 0] = ROTR64(s[i + 0], MBEDTLS_BYTE_3(r)); in keccak_f1600()
153 s[i + 1] = ROTR64(s[i + 1], MBEDTLS_BYTE_2(r)); in keccak_f1600()
[all …]