/external/dhcpcd-6.8.2/crypt/ |
sha256.c | 78 #define ROTR(x, n) ((x >> n) | (x << (32 - n))) 79 #define S0(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22)) 80 #define S1(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25)) 81 #define s0(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHR(x, 3)) 82 #define s1(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SHR(x, 10) [all...] |
/external/valgrind/none/tests/mips64/ |
shift_instructions.c | 9 ROTR, ROTRV, SLL, SLLV, 143 case ROTR: 146 TEST2("rotr $t0, $t1, 0x00", reg_val1[i], 0x00, t0, t1); 147 TEST2("rotr $t2, $t3, 0x1f", reg_val1[i], 0x1f, t2, t3); 148 TEST2("rotr $a0, $a1, 0x0f", reg_val1[i], 0x0f, a0, a1); 149 TEST2("rotr $s0, $s1, 0x03", reg_val1[i], 0x03, s0, s1);
|
/external/vboot_reference/firmware/2lib/ |
2sha256.c | 43 #define ROTR(x, n) ((x >> n) | (x << ((sizeof(x) << 3) - n))) 48 #define SHA256_F1(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22)) 49 #define SHA256_F2(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25)) 50 #define SHA256_F3(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHFR(x, 3)) 51 #define SHA256_F4(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SHFR(x, 10) [all...] |
2sha512.c | 43 #define ROTR(x, n) ((x >> n) | (x << ((sizeof(x) << 3) - n))) 48 #define SHA512_F1(x) (ROTR(x, 28) ^ ROTR(x, 34) ^ ROTR(x, 39)) 49 #define SHA512_F2(x) (ROTR(x, 14) ^ ROTR(x, 18) ^ ROTR(x, 41)) 50 #define SHA512_F3(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHFR(x, 7)) 51 #define SHA512_F4(x) (ROTR(x, 19) ^ ROTR(x, 61) ^ SHFR(x, 6) [all...] |
/external/vboot_reference/firmware/lib/cryptolib/ |
sha256.c | 44 #define ROTR(x, n) ((x >> n) | (x << ((sizeof(x) << 3) - n))) 49 #define SHA256_F1(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22)) 50 #define SHA256_F2(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25)) 51 #define SHA256_F3(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHFR(x, 3)) 52 #define SHA256_F4(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SHFR(x, 10) [all...] |
sha512.c | 44 #define ROTR(x, n) ((x >> n) | (x << ((sizeof(x) << 3) - n))) 49 #define SHA512_F1(x) (ROTR(x, 28) ^ ROTR(x, 34) ^ ROTR(x, 39)) 50 #define SHA512_F2(x) (ROTR(x, 14) ^ ROTR(x, 18) ^ ROTR(x, 41)) 51 #define SHA512_F3(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHFR(x, 7)) 52 #define SHA512_F4(x) (ROTR(x, 19) ^ ROTR(x, 61) ^ SHFR(x, 6) [all...] |
/external/boringssl/src/crypto/sha/ |
sha512.c | 361 #define ROTR(a, n) \ 382 #define ROTR(a, n) \ 389 #define ROTR(a, n) \ 408 #define ROTR(a, n) _rotr64((a), n) 432 #ifndef ROTR 433 #define ROTR(x, s) (((x) >> s) | (x) << (64 - s)) 436 #define Sigma0(x) (ROTR((x), 28) ^ ROTR((x), 34) ^ ROTR((x), 39)) 437 #define Sigma1(x) (ROTR((x), 14) ^ ROTR((x), 18) ^ ROTR((x), 41) [all...] |