Merge pull request #40 from VeXocide/patch-1

Trivial cleanup of crypto_generichash.h
This commit is contained in:
Frank Denis 2013-05-15 20:35:12 -07:00
commit 8d08a564ae

View File

@ -42,17 +42,17 @@ int crypto_generichash(unsigned char *out, size_t outlen,
const unsigned char *key, size_t keylen);
SODIUM_EXPORT
int crypto_generichash_init(crypto_generichash_blake2b_state *state,
int crypto_generichash_init(crypto_generichash_state *state,
const unsigned char *key,
const size_t keylen, const size_t outlen);
SODIUM_EXPORT
int crypto_generichash_update(crypto_generichash_blake2b_state *state,
int crypto_generichash_update(crypto_generichash_state *state,
const unsigned char *in,
unsigned long long inlen);
SODIUM_EXPORT
int crypto_generichash_final(crypto_generichash_blake2b_state *state,
int crypto_generichash_final(crypto_generichash_state *state,
unsigned char *out, const size_t outlen);
#ifdef __cplusplus