libxcks
0.1.0.1
|
Compute sha1 hash. More...
Go to the source code of this file.
Macros | |
#define | X(a) |
Helper value for SHA1's computing. More... | |
#define | K1 0x5A827999L |
Helper value for SHA1's computing. More... | |
#define | K2 0x6ED9EBA1L |
Helper value for SHA1's computing. More... | |
#define | K3 0x8F1BBCDCL |
Helper value for SHA1's computing. More... | |
#define | K4 0xCA62C1D6L |
Helper value for SHA1's computing. More... | |
#define | F1(x, y, z) ( z ^ ( x & ( y ^ z ) ) ) |
Helper value for SHA1's computing. More... | |
#define | F2(x, y, z) ( x ^ y ^ z ) |
Helper value for SHA1's computing. More... | |
#define | F3(x, y, z) ( ( x & y ) | ( z & ( x | y ) ) ) |
Helper value for SHA1's computing. More... | |
#define | F4(x, y, z) ( x ^ y ^ z ) |
Helper value for SHA1's computing. More... | |
#define | M(i) |
Helper value for SHA1's computing. More... | |
#define | R(a, b, c, d, e, f, k, m) |
Helper value for SHA1's computing. More... | |
Compute sha1 hash.
Definition in file sha1.cpp.
#define F1 | ( | x, | |
y, | |||
z | |||
) | ( z ^ ( x & ( y ^ z ) ) ) |
Helper value for SHA1's computing.
#define F2 | ( | x, | |
y, | |||
z | |||
) | ( x ^ y ^ z ) |
Helper value for SHA1's computing.
#define F3 | ( | x, | |
y, | |||
z | |||
) | ( ( x & y ) | ( z & ( x | y ) ) ) |
Helper value for SHA1's computing.
#define F4 | ( | x, | |
y, | |||
z | |||
) | ( x ^ y ^ z ) |
Helper value for SHA1's computing.
#define K1 0x5A827999L |
Helper value for SHA1's computing.
#define K2 0x6ED9EBA1L |
Helper value for SHA1's computing.
#define K3 0x8F1BBCDCL |
Helper value for SHA1's computing.
#define K4 0xCA62C1D6L |
Helper value for SHA1's computing.
#define M | ( | i | ) |
Helper value for SHA1's computing.
#define R | ( | a, | |
b, | |||
c, | |||
d, | |||
e, | |||
f, | |||
k, | |||
m | |||
) |
Helper value for SHA1's computing.
#define X | ( | a | ) |
Helper value for SHA1's computing.