Searched refs:ROTR (Results 1 – 2 of 2) sorted by relevance
/mcuboot-3.4.0/ext/tinycrypt/lib/source/ |
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))
|
/mcuboot-3.4.0/ext/tinycrypt-sha512/lib/source/ |
D | sha512.c | 170 static inline uint64_t ROTR(uint64_t a, uint64_t n) in ROTR() function 175 #define Sigma0(a)(ROTR((a), 28) ^ ROTR((a), 34) ^ ROTR((a), 39)) 176 #define Sigma1(a)(ROTR((a), 14) ^ ROTR((a), 18) ^ ROTR((a), 41)) 177 #define sigma0(a)(ROTR((a), 1) ^ ROTR((a), 8) ^ ((a) >> 7)) 178 #define sigma1(a)(ROTR((a), 19) ^ ROTR((a), 61) ^ ((a) >> 6))
|