This commit is contained in:
Frank Denis 2013-04-19 23:35:42 +02:00
parent 3f13a1e9d0
commit 2bf7fb85bf
2 changed files with 4 additions and 3 deletions

View File

@ -3,6 +3,6 @@
#include "crypto_generichash_blake2b.h"
#define crypto_generichash crypto_generichash_blake2b
#define crypto_generichash_blake2b crypto_generichash_blake2b_ref
#endif

View File

@ -6,8 +6,9 @@ extern "C" {
#endif
#include <stdlib.h>
extern int crypto_generichash_blake2b_ref(unsigned char *out, const unsigned char *in,
extern int crypto_generichash_blake2b_ref(unsigned char *out,
const unsigned char *in,
const unsigned char *key,
size_t outlen, unsigned long long inlen,
size_t keylen);