From fcc7df0e5480c4e5bba5e3663800ca65e7117f42 Mon Sep 17 00:00:00 2001 From: Jeroen Habraken Date: Wed, 15 May 2013 22:29:21 -0500 Subject: [PATCH] Trivial cleanup of crypto_generichash.h --- src/libsodium/include/sodium/crypto_generichash.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libsodium/include/sodium/crypto_generichash.h b/src/libsodium/include/sodium/crypto_generichash.h index a2e1fea3..1b66ad95 100644 --- a/src/libsodium/include/sodium/crypto_generichash.h +++ b/src/libsodium/include/sodium/crypto_generichash.h @@ -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