libxcks
0.1.0.1
|
Compute sha384 hash and sha512 hash. More...
Go to the source code of this file.
Macros | |
#define | X(a) |
Helper function for SHA512's computing. More... | |
#define | ROTR(x, n) (((x)>>(n)) | ((x)<<(64-(n)))) |
Helper function for SHA512's computing. More... | |
#define | Ch(x, y, z) (((x) & (y)) ^ ((~(x)) & (z))) |
Helper function for SHA512's computing. More... | |
#define | Maj(x, y, z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) |
Helper function for SHA512's computing. More... | |
#define | Sum0(x) (ROTR((x),28) ^ ROTR((x),34) ^ ROTR((x),39)) |
Helper function for SHA512's computing. More... | |
#define | Sum1(x) (ROTR((x),14) ^ ROTR((x),18) ^ ROTR((x),41)) |
Helper function for SHA512's computing. More... | |
#define | S0(x) (ROTR((x),1) ^ ROTR((x),8) ^ ((x)>>7)) |
Helper function for SHA512's computing. More... | |
#define | S1(x) (ROTR((x),19) ^ ROTR((x),61) ^ ((x)>>6)) |
Helper function for SHA512's computing. More... | |
Compute sha384 hash and sha512 hash.
Definition in file sha384_512.cpp.
#define Ch | ( | x, | |
y, | |||
z | |||
) | (((x) & (y)) ^ ((~(x)) & (z))) |
Helper function for SHA512's computing.
#define Maj | ( | x, | |
y, | |||
z | |||
) | (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))) |
Helper function for SHA512's computing.
#define ROTR | ( | x, | |
n | |||
) | (((x)>>(n)) | ((x)<<(64-(n)))) |
Helper function for SHA512's computing.
Helper function for SHA512's computing.
Helper function for SHA512's computing.
#define X | ( | a | ) |
Helper function for SHA512's computing.