Searched refs:ROTATE (Results 1 - 5 of 5) sorted by relevance
/fuchsia/zircon/third_party/ulib/uboringssl/crypto/chacha/ |
H A D | chacha.c | 76 #define ROTATE(v, n) (((v) << (n)) | ((v) >> (32 - (n)))) macro 88 x[a] += x[b]; x[d] = ROTATE(x[d] ^ x[a], 16); \ 89 x[c] += x[d]; x[b] = ROTATE(x[b] ^ x[c], 12); \ 90 x[a] += x[b]; x[d] = ROTATE(x[d] ^ x[a], 8); \ 91 x[c] += x[d]; x[b] = ROTATE(x[b] ^ x[c], 7);
|
/fuchsia/zircon/third_party/ulib/uboringssl/crypto/fipsmodule/sha/ |
H A D | sha256.c | 197 #define ROTATE(a, n) (((a) << (n)) | ((a) >> (32 - (n)))) macro 199 // FIPS specification refers to right rotations, while our ROTATE macro 202 #define Sigma0(x) (ROTATE((x), 30) ^ ROTATE((x), 19) ^ ROTATE((x), 10)) 203 #define Sigma1(x) (ROTATE((x), 26) ^ ROTATE((x), 21) ^ ROTATE((x), 7)) 204 #define sigma0(x) (ROTATE((x), 25) ^ ROTATE(( 332 #undef ROTATE macro [all...] |
H A D | sha1.c | 115 #define ROTATE(a, n) (((a) << (n)) | ((a) >> (32 - (n)))) macro 119 (ix) = (a) = ROTATE((a), 1); \ 146 (f) = (xi) + (e) + K_00_19 + ROTATE((a), 5) + F_00_19((b), (c), (d)); \ 147 (b) = ROTATE((b), 30); \ 153 (f) += (e) + K_00_19 + ROTATE((a), 5) + F_00_19((b), (c), (d)); \ 154 (b) = ROTATE((b), 30); \ 160 (f) += (e) + K_20_39 + ROTATE((a), 5) + F_20_39((b), (c), (d)); \ 161 (b) = ROTATE((b), 30); \ 167 (f) += (e) + K_20_39 + ROTATE((a), 5) + F_20_39((b), (c), (d)); \ 168 (b) = ROTATE(( 357 #undef ROTATE macro [all...] |
/fuchsia/zircon/third_party/ulib/uboringssl/crypto/fipsmodule/md4/ |
H A D | md4.c | 117 #define ROTATE(a, n) (((a) << (n)) | ((a) >> (32 - (n)))) macro 122 (a) = ROTATE(a, s); \ 128 (a) = ROTATE(a, s); \ 134 (a) = ROTATE(a, s); \ 249 #undef ROTATE macro
|
/fuchsia/zircon/third_party/ulib/uboringssl/crypto/fipsmodule/md5/ |
H A D | md5.c | 124 #define ROTATE(a, n) (((a) << (n)) | ((a) >> (32 - (n)))) macro 129 (a) = ROTATE(a, s); \ 136 (a) = ROTATE(a, s); \ 143 (a) = ROTATE(a, s); \ 150 (a) = ROTATE(a, s); \ 292 #undef ROTATE macro
|
Completed in 30 milliseconds