Go to the source code of this file.
|
| BLAKE2_PACKED (struct blake2s_param { uint8_t digest_length;uint8_t key_length;uint8_t fanout;uint8_t depth;uint32_t leaf_length;uint32_t node_offset;uint16_t xof_length;uint8_t node_depth;uint8_t inner_length;uint8_t salt[BLAKE2S_SALT_BYTES];uint8_t personal[BLAKE2S_PERSONAL_BYTES];}) |
|
int | blake2s_init (blake2s_state_t *S, size_t outlen) |
|
int | blake2s_init_key (blake2s_state_t *S, size_t outlen, const void *key, size_t keylen) |
|
int | blake2s_init_param (blake2s_state_t *S, const blake2s_param_t *P) |
|
int | blake2s_update (blake2s_state_t *S, const void *in, size_t inlen) |
|
int | blake2s_final (blake2s_state_t *S, void *out, size_t outlen) |
|
int | blake2s (void *out, size_t outlen, const void *in, size_t inlen, const void *key, size_t keylen) |
|
◆ BLAKE2_PACKED
#define BLAKE2_PACKED |
( |
|
x | ) |
x __attribute__((packed)) |
◆ blake2s_param_t
◆ blake2s_state_t
◆ blake2s_constant
Enumerator |
---|
BLAKE2S_BLOCK_BYTES | |
BLAKE2S_OUT_BYTES | |
BLAKE2S_KEY_BYTES | |
BLAKE2S_HASH_SIZE | |
BLAKE2S_SALT_BYTES | |
BLAKE2S_PERSONAL_BYTES | |
Definition at line 32 of file blake2s.h.
◆ BLAKE2_PACKED()
BLAKE2_PACKED |
( |
struct blake2s_param { uint8_t digest_length;uint8_t key_length;uint8_t fanout;uint8_t depth;uint32_t leaf_length;uint32_t node_offset;uint16_t xof_length;uint8_t node_depth;uint8_t inner_length;uint8_t salt[BLAKE2S_SALT_BYTES];uint8_t personal[BLAKE2S_PERSONAL_BYTES];} |
| ) |
|
◆ blake2s()
int blake2s |
( |
void * |
out, |
|
|
size_t |
outlen, |
|
|
const void * |
in, |
|
|
size_t |
inlen, |
|
|
const void * |
key, |
|
|
size_t |
keylen |
|
) |
| |
◆ blake2s_final()
◆ blake2s_init()
◆ blake2s_init_key()
int blake2s_init_key |
( |
blake2s_state_t * |
S, |
|
|
size_t |
outlen, |
|
|
const void * |
key, |
|
|
size_t |
keylen |
|
) |
| |
◆ blake2s_init_param()
◆ blake2s_update()