Strophe 0.14
XMPP client library
|
Macros | |
#define | Ch(x, y, z) |
#define | Maj(x, y, z) |
#define | S(x, n) |
#define | R(x, n) |
#define | Sigma0(x) |
#define | Sigma1(x) |
#define | Gamma0(x) |
#define | Gamma1(x) |
#define | RND(a, b, c, d, e, f, g, h, i) |
Functions | |
static void | sha512_compress (sha512_context *md, const uint8_t *buf) |
void | sha512_init (sha512_context *md) |
void | sha512_process (sha512_context *md, const uint8_t *in, size_t inlen) |
void | sha512_done (sha512_context *md, uint8_t *out) |
void | sha512_hash (const uint8_t *data, size_t len, uint8_t *digest) |
Variables | |
static const uint64_t | K [80] |
#define Ch | ( | x, | |
y, | |||
z ) |
#define Maj | ( | x, | |
y, | |||
z ) |
#define R | ( | x, | |
n ) |
#define RND | ( | a, | |
b, | |||
c, | |||
d, | |||
e, | |||
f, | |||
g, | |||
h, | |||
i ) |
|
static |
void sha512_init | ( | sha512_context * | md | ) |
void sha512_process | ( | sha512_context * | md, |
const uint8_t * | in, | ||
size_t | inlen ) |
void sha512_done | ( | sha512_context * | md, |
uint8_t * | out ) |
void sha512_hash | ( | const uint8_t * | data, |
size_t | len, | ||
uint8_t * | digest ) |
|
static |