FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the source code of this file.
Macros | |
#define | G(r, i, a, b, c, d) |
#define | ROUND(r) |
Functions | |
static void | blake2s_set_lastnode (blake2s_state_t *S) |
static int | blake2s_is_lastblock (const blake2s_state_t *S) |
static void | blake2s_set_lastblock (blake2s_state_t *S) |
static void | blake2s_increment_counter (blake2s_state_t *S, const uint32_t inc) |
static void | blake2s_init0 (blake2s_state_t *S) |
int | blake2s_init_param (blake2s_state_t *S, const blake2s_param_t *P) |
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) |
static void | blake2s_compress (blake2s_state_t *S, const uint8_t in[BLAKE2S_BLOCK_BYTES]) |
int | blake2s_update (blake2s_state_t *S, const void *pin, 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) |
Variables | |
static const uint32_t | blake2s_IV [8] |
static const uint8_t | blake2s_sigma [10][16] |
#define ROUND | ( | r | ) |
int blake2s | ( | void * | out, |
size_t | outlen, | ||
const void * | in, | ||
size_t | inlen, | ||
const void * | key, | ||
size_t | keylen | ||
) |
|
static |
int blake2s_final | ( | blake2s_state_t * | S, |
void * | out, | ||
size_t | outlen | ||
) |
|
static |
int blake2s_init | ( | blake2s_state_t * | S, |
size_t | outlen | ||
) |
|
static |
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 | ||
) |
|
static |
|
static |
|
static |
int blake2s_update | ( | blake2s_state_t * | S, |
const void * | pin, | ||
size_t | inlen | ||
) |
|
static |
|
static |