Searched refs:ROTR (Results 1 – 6 of 6) sorted by relevance
/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/source/ |
A 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))
|
/AliOS-Things-master/components/mqtt/example/ |
A D | aiot_mqtt_sign.c | 193 #define ROTR(x,n) (SHR(x,n) | (x << (32 - n))) macro 195 #define S0(x) (ROTR(x, 7) ^ ROTR(x,18) ^ SHR(x, 3)) 196 #define S1(x) (ROTR(x,17) ^ ROTR(x,19) ^ SHR(x,10)) 198 #define S2(x) (ROTR(x, 2) ^ ROTR(x,13) ^ ROTR(x,22)) 199 #define S3(x) (ROTR(x, 6) ^ ROTR(x,11) ^ ROTR(x,25))
|
/AliOS-Things-master/components/linksdk/core/utils/ |
A D | core_sha256.c | 94 #define ROTR(x,n) (SHR(x,n) | (x << (32 - n))) macro 96 #define S0(x) (ROTR(x, 7) ^ ROTR(x,18) ^ SHR(x, 3)) 97 #define S1(x) (ROTR(x,17) ^ ROTR(x,19) ^ SHR(x,10)) 99 #define S2(x) (ROTR(x, 2) ^ ROTR(x,13) ^ ROTR(x,22)) 100 #define S3(x) (ROTR(x, 6) ^ ROTR(x,11) ^ ROTR(x,25))
|
/AliOS-Things-master/components/linkkit/infra/ |
A D | infra_sha256.c | 97 #define ROTR(x, n) (SHR(x, n) | (x << (32 - n))) macro 99 #define S0(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHR(x, 3)) 100 #define S1(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SHR(x, 10)) 102 #define S2(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22)) 103 #define S3(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25))
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | sha512.c | 228 #define ROTR(x,n) (SHR(x,n) | (x << (64 - n))) in mbedtls_internal_sha512_process() macro 230 #define S0(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHR(x, 7)) in mbedtls_internal_sha512_process() 231 #define S1(x) (ROTR(x,19) ^ ROTR(x,61) ^ SHR(x, 6)) in mbedtls_internal_sha512_process() 233 #define S2(x) (ROTR(x,28) ^ ROTR(x,34) ^ ROTR(x,39)) in mbedtls_internal_sha512_process() 234 #define S3(x) (ROTR(x,14) ^ ROTR(x,18) ^ ROTR(x,41)) in mbedtls_internal_sha512_process()
|
A D | sha256.c | 176 #define ROTR(x,n) (SHR(x,n) | (x << (32 - n))) macro 178 #define S0(x) (ROTR(x, 7) ^ ROTR(x,18) ^ SHR(x, 3)) 179 #define S1(x) (ROTR(x,17) ^ ROTR(x,19) ^ SHR(x,10)) 181 #define S2(x) (ROTR(x, 2) ^ ROTR(x,13) ^ ROTR(x,22)) 182 #define S3(x) (ROTR(x, 6) ^ ROTR(x,11) ^ ROTR(x,25))
|
Completed in 15 milliseconds