Project Alice
|
#include <stdint.h>
#include <string.h>
#include <stdio.h>
#include "blake2.h"
#include "blake2-impl.h"
Go to the source code of this file.
Macros | |
#define | G(r, i, a, b, c, d) |
#define | ROUND(r) |
Functions | |
int | blake2b_init_param (blake2b_state *S, const blake2b_param *P) |
int | blake2b_init (blake2b_state *S, size_t outlen) |
int | blake2b_init_key (blake2b_state *S, size_t outlen, const void *key, size_t keylen) |
int | blake2b_update (blake2b_state *S, const void *pin, size_t inlen) |
int | blake2b_final (blake2b_state *S, void *out, size_t outlen) |
int | blake2b (void *out, size_t outlen, const void *in, size_t inlen, const void *key, size_t keylen) |
int | blake2 (void *out, size_t outlen, const void *in, size_t inlen, const void *key, size_t keylen) |
#define G | ( | r, | |
i, | |||
a, | |||
b, | |||
c, | |||
d | |||
) |
#define ROUND | ( | r | ) |
int blake2 | ( | void * | out, |
size_t | outlen, | ||
const void * | in, | ||
size_t | inlen, | ||
const void * | key, | ||
size_t | keylen | ||
) |
int blake2b | ( | void * | out, |
size_t | outlen, | ||
const void * | in, | ||
size_t | inlen, | ||
const void * | key, | ||
size_t | keylen | ||
) |
int blake2b_final | ( | blake2b_state * | S, |
void * | out, | ||
size_t | outlen | ||
) |
int blake2b_init | ( | blake2b_state * | S, |
size_t | outlen | ||
) |
int blake2b_init_key | ( | blake2b_state * | S, |
size_t | outlen, | ||
const void * | key, | ||
size_t | keylen | ||
) |
int blake2b_init_param | ( | blake2b_state * | S, |
const blake2b_param * | P | ||
) |
int blake2b_update | ( | blake2b_state * | S, |
const void * | pin, | ||
size_t | inlen | ||
) |