diff --git a/src/libsodium/include/sodium/crypto_hash_sha256.h b/src/libsodium/include/sodium/crypto_hash_sha256.h index b9742f96..4b12267b 100644 --- a/src/libsodium/include/sodium/crypto_hash_sha256.h +++ b/src/libsodium/include/sodium/crypto_hash_sha256.h @@ -11,12 +11,12 @@ extern "C" { #endif SODIUM_EXPORT -int crypto_hash_sha256_ref(unsigned char *,const unsigned char *,unsigned long long); +int crypto_hash_sha256(unsigned char *,const unsigned char *,unsigned long long); #ifdef __cplusplus } #endif -#define crypto_hash_sha256 crypto_hash_sha256_ref +#define crypto_hash_sha256_ref crypto_hash_sha256 #endif diff --git a/src/libsodium/include/sodium/crypto_hash_sha512.h b/src/libsodium/include/sodium/crypto_hash_sha512.h index a7f0361e..5ea1c702 100644 --- a/src/libsodium/include/sodium/crypto_hash_sha512.h +++ b/src/libsodium/include/sodium/crypto_hash_sha512.h @@ -11,12 +11,12 @@ extern "C" { #endif SODIUM_EXPORT -int crypto_hash_sha512_ref(unsigned char *,const unsigned char *,unsigned long long); +int crypto_hash_sha512(unsigned char *,const unsigned char *,unsigned long long); #ifdef __cplusplus } #endif -#define crypto_hash_sha512 crypto_hash_sha512_ref +#define crypto_hash_sha512_ref crypto_hash_sha512 #endif