libxcks
0.1.0.1
|
Compute ripe-md160 hash. More...
Go to the source code of this file.
Macros | |
#define | X(a) do { *(uint32_t*)p = h##a ; p += 4; } while(0) |
Helper value for RIPE-MD160's computing. More... | |
#define | K0 0x00000000 |
Helper value for RIPE-MD160's computing. More... | |
#define | K1 0x5A827999 |
Helper value for RIPE-MD160's computing. More... | |
#define | K2 0x6ED9EBA1 |
Helper value for RIPE-MD160's computing. More... | |
#define | K3 0x8F1BBCDC |
Helper value for RIPE-MD160's computing. More... | |
#define | K4 0xA953FD4E |
Helper value for RIPE-MD160's computing. More... | |
#define | KK0 0x50A28BE6 |
Helper value for RIPE-MD160's computing. More... | |
#define | KK1 0x5C4DD124 |
Helper value for RIPE-MD160's computing. More... | |
#define | KK2 0x6D703EF3 |
Helper value for RIPE-MD160's computing. More... | |
#define | KK3 0x7A6D76E9 |
Helper value for RIPE-MD160's computing. More... | |
#define | KK4 0x00000000 |
Helper value for RIPE-MD160's computing. More... | |
#define | F0(x, y, z) ( (x) ^ (y) ^ (z) ) |
Helper value for RIPE-MD160's computing. More... | |
#define | F1(x, y, z) ( ((x) & (y)) | (~(x) & (z)) ) |
Helper value for RIPE-MD160's computing. More... | |
#define | F2(x, y, z) ( ((x) | ~(y)) ^ (z) ) |
Helper value for RIPE-MD160's computing. More... | |
#define | F3(x, y, z) ( ((x) & (z)) | ((y) & ~(z)) ) |
Helper value for RIPE-MD160's computing. More... | |
#define | F4(x, y, z) ( (x) ^ ((y) | ~(z)) ) |
Helper value for RIPE-MD160's computing. More... | |
#define | R(a, b, c, d, e, f, k, r, s) |
Helper value for RIPE-MD160's computing. More... | |
Compute ripe-md160 hash.
Definition in file rmd160.cpp.
#define F0 | ( | x, | |
y, | |||
z | |||
) | ( (x) ^ (y) ^ (z) ) |
Helper value for RIPE-MD160's computing.
#define F1 | ( | x, | |
y, | |||
z | |||
) | ( ((x) & (y)) | (~(x) & (z)) ) |
Helper value for RIPE-MD160's computing.
#define F2 | ( | x, | |
y, | |||
z | |||
) | ( ((x) | ~(y)) ^ (z) ) |
Helper value for RIPE-MD160's computing.
#define F3 | ( | x, | |
y, | |||
z | |||
) | ( ((x) & (z)) | ((y) & ~(z)) ) |
Helper value for RIPE-MD160's computing.
#define F4 | ( | x, | |
y, | |||
z | |||
) | ( (x) ^ ((y) | ~(z)) ) |
Helper value for RIPE-MD160's computing.
#define K0 0x00000000 |
Helper value for RIPE-MD160's computing.
#define K1 0x5A827999 |
Helper value for RIPE-MD160's computing.
#define K2 0x6ED9EBA1 |
Helper value for RIPE-MD160's computing.
#define K3 0x8F1BBCDC |
Helper value for RIPE-MD160's computing.
#define K4 0xA953FD4E |
Helper value for RIPE-MD160's computing.
#define KK0 0x50A28BE6 |
Helper value for RIPE-MD160's computing.
#define KK1 0x5C4DD124 |
Helper value for RIPE-MD160's computing.
#define KK2 0x6D703EF3 |
Helper value for RIPE-MD160's computing.
#define KK3 0x7A6D76E9 |
Helper value for RIPE-MD160's computing.
#define KK4 0x00000000 |
Helper value for RIPE-MD160's computing.
#define R | ( | a, | |
b, | |||
c, | |||
d, | |||
e, | |||
f, | |||
k, | |||
r, | |||
s | |||
) |
Helper value for RIPE-MD160's computing.
#define X | ( | a | ) | do { *(uint32_t*)p = h##a ; p += 4; } while(0) |
Helper value for RIPE-MD160's computing.