Searched refs:ROTR (Results 1 – 4 of 4) sorted by relevance
/hal_espressif-latest/components/bt/porting/ext/tinycrypt/src/ |
D | sha256.c | 157 static inline unsigned int ROTR(unsigned int a, unsigned int n) in ROTR() function 162 #define Sigma0(a)(ROTR((a), 2) ^ ROTR((a), 13) ^ ROTR((a), 22)) 163 #define Sigma1(a)(ROTR((a), 6) ^ ROTR((a), 11) ^ ROTR((a), 25)) 164 #define sigma0(a)(ROTR((a), 7) ^ ROTR((a), 18) ^ ((a) >> 3)) 165 #define sigma1(a)(ROTR((a), 17) ^ ROTR((a), 19) ^ ((a) >> 10))
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/ |
D | sha256.c | 157 static inline unsigned int ROTR(unsigned int a, unsigned int n) in ROTR() function 162 #define Sigma0(a)(ROTR((a), 2) ^ ROTR((a), 13) ^ ROTR((a), 22)) 163 #define Sigma1(a)(ROTR((a), 6) ^ ROTR((a), 11) ^ ROTR((a), 25)) 164 #define sigma0(a)(ROTR((a), 7) ^ ROTR((a), 18) ^ ((a) >> 3)) 165 #define sigma1(a)(ROTR((a), 17) ^ ROTR((a), 19) ^ ((a) >> 10))
|
/hal_espressif-latest/components/mbedtls/port/sha/parallel_engine/ |
D | esp_sha512.c | 217 #define ROTR(x,n) (SHR(x,n) | (x << (64 - n))) in mbedtls_sha512_software_process() macro 219 #define S0(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHR(x, 7)) in mbedtls_sha512_software_process() 220 #define S1(x) (ROTR(x,19) ^ ROTR(x,61) ^ SHR(x, 6)) in mbedtls_sha512_software_process() 222 #define S2(x) (ROTR(x,28) ^ ROTR(x,34) ^ ROTR(x,39)) in mbedtls_sha512_software_process() 223 #define S3(x) (ROTR(x,14) ^ ROTR(x,18) ^ ROTR(x,41)) in mbedtls_sha512_software_process()
|
D | esp_sha256.c | 158 #define ROTR(x,n) (SHR(x,n) | (x << (32 - n))) macro 160 #define S0(x) (ROTR(x, 7) ^ ROTR(x,18) ^ SHR(x, 3)) 161 #define S1(x) (ROTR(x,17) ^ ROTR(x,19) ^ SHR(x,10)) 163 #define S2(x) (ROTR(x, 2) ^ ROTR(x,13) ^ ROTR(x,22)) 164 #define S3(x) (ROTR(x, 6) ^ ROTR(x,11) ^ ROTR(x,25))
|