diff --git a/src/libsodium/crypto_generichash/blake2/ref/api.h b/src/libsodium/crypto_generichash/blake2/ref/api.h index cf2b4143..ae3ecf76 100644 --- a/src/libsodium/crypto_generichash/blake2/ref/api.h +++ b/src/libsodium/crypto_generichash/blake2/ref/api.h @@ -3,6 +3,6 @@ #include "crypto_generichash_blake2b.h" -#define crypto_generichash crypto_generichash_blake2b +#define crypto_generichash_blake2b crypto_generichash_blake2b_ref #endif diff --git a/src/libsodium/include/sodium/crypto_generichash_blake2b.h b/src/libsodium/include/sodium/crypto_generichash_blake2b.h index afd90521..ae636970 100644 --- a/src/libsodium/include/sodium/crypto_generichash_blake2b.h +++ b/src/libsodium/include/sodium/crypto_generichash_blake2b.h @@ -6,8 +6,9 @@ extern "C" { #endif #include - -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);