Home
last modified time | relevance | path

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

/openthread-3.4.0/third_party/mbedtls/repo/library/
Dsha256.c148 #define ROTR(x,n) (SHR(x,n) | ((x) << (32 - (n)))) macro
150 #define S0(x) (ROTR(x, 7) ^ ROTR(x,18) ^ SHR(x, 3))
151 #define S1(x) (ROTR(x,17) ^ ROTR(x,19) ^ SHR(x,10))
153 #define S2(x) (ROTR(x, 2) ^ ROTR(x,13) ^ ROTR(x,22))
154 #define S3(x) (ROTR(x, 6) ^ ROTR(x,11) ^ ROTR(x,25))
Dsha512.c214 #define ROTR(x,n) (SHR((x),(n)) | ((x) << (64 - (n)))) in mbedtls_internal_sha512_process() macro
216 #define S0(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHR(x, 7)) in mbedtls_internal_sha512_process()
217 #define S1(x) (ROTR(x,19) ^ ROTR(x,61) ^ SHR(x, 6)) in mbedtls_internal_sha512_process()
219 #define S2(x) (ROTR(x,28) ^ ROTR(x,34) ^ ROTR(x,39)) in mbedtls_internal_sha512_process()
220 #define S3(x) (ROTR(x,14) ^ ROTR(x,18) ^ ROTR(x,41)) in mbedtls_internal_sha512_process()