Searched refs:SHR (Results 1 – 2 of 2) sorted by relevance
/net-tools-3.6.0/mbedtls-2.4.0/library/ |
D | sha512.c | 205 #define SHR(x,n) (x >> n) in mbedtls_sha512_process() macro 206 #define ROTR(x,n) (SHR(x,n) | (x << (64 - n))) in mbedtls_sha512_process() 208 #define S0(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHR(x, 7)) in mbedtls_sha512_process() 209 #define S1(x) (ROTR(x,19) ^ ROTR(x,61) ^ SHR(x, 6)) in mbedtls_sha512_process()
|
D | sha256.c | 157 #define SHR(x,n) ((x & 0xFFFFFFFF) >> n) macro 158 #define ROTR(x,n) (SHR(x,n) | (x << (32 - n))) 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))
|