Strophe 0.11
XMPP client library
|
SHA-256 hash API. More...
Data Structures | |
struct | sha256_context |
Macros | |
#define | SHA256_DIGEST_SIZE 32 |
Functions | |
void | sha256_init (sha256_context *md) |
void | sha256_process (sha256_context *md, const uint8_t *in, size_t inlen) |
void | sha256_done (sha256_context *md, uint8_t *out) |
void | sha256_hash (const uint8_t *data, size_t len, uint8_t *digest) |
SHA-256 hash API.
#define SHA256_DIGEST_SIZE 32 |
void sha256_init | ( | sha256_context * | md | ) |
void sha256_process | ( | sha256_context * | md, |
const uint8_t * | in, | ||
size_t | inlen | ||
) |
void sha256_done | ( | sha256_context * | md, |
uint8_t * | out | ||
) |
void sha256_hash | ( | const uint8_t * | data, |
size_t | len, | ||
uint8_t * | digest | ||
) |