|
Electroneum
|


Go to the source code of this file.
Macros | |
| #define | Ch(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) |
| #define | Maj(x, y, z) (((x) & (y)) | ((z) & ((x) | (y)))) |
| #define | Sigma0(x) (((x) >> 2 | (x) << 30) ^ ((x) >> 13 | (x) << 19) ^ ((x) >> 22 | (x) << 10)) |
| #define | Sigma1(x) (((x) >> 6 | (x) << 26) ^ ((x) >> 11 | (x) << 21) ^ ((x) >> 25 | (x) << 7)) |
| #define | sigma0(x) (((x) >> 7 | (x) << 25) ^ ((x) >> 18 | (x) << 14) ^ ((x) >> 3)) |
| #define | sigma1(x) (((x) >> 17 | (x) << 15) ^ ((x) >> 19 | (x) << 13) ^ ((x) >> 10)) |
| #define | Round(a, b, c, d, e, f, g, h, k, w) |
| #define Ch | ( | x, | |
| y, | |||
| z | |||
| ) | ((z) ^ ((x) & ((y) ^ (z)))) |
Definition at line 17 of file hash_impl.h.
| #define Maj | ( | x, | |
| y, | |||
| z | |||
| ) | (((x) & (y)) | ((z) & ((x) | (y)))) |
Definition at line 18 of file hash_impl.h.
| #define Round | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| k, | |||
| w | |||
| ) |
Definition at line 24 of file hash_impl.h.
| #define Sigma0 | ( | x | ) | (((x) >> 2 | (x) << 30) ^ ((x) >> 13 | (x) << 19) ^ ((x) >> 22 | (x) << 10)) |
Definition at line 19 of file hash_impl.h.
| #define sigma0 | ( | x | ) | (((x) >> 7 | (x) << 25) ^ ((x) >> 18 | (x) << 14) ^ ((x) >> 3)) |
Definition at line 21 of file hash_impl.h.
| #define Sigma1 | ( | x | ) | (((x) >> 6 | (x) << 26) ^ ((x) >> 11 | (x) << 21) ^ ((x) >> 25 | (x) << 7)) |
Definition at line 20 of file hash_impl.h.
| #define sigma1 | ( | x | ) | (((x) >> 17 | (x) << 15) ^ ((x) >> 19 | (x) << 13) ^ ((x) >> 10)) |
Definition at line 22 of file hash_impl.h.