diff --git a/src/libsodium/Makefile.am b/src/libsodium/Makefile.am index 632156e5..f15605b7 100644 --- a/src/libsodium/Makefile.am +++ b/src/libsodium/Makefile.am @@ -34,10 +34,10 @@ libsodium_la_SOURCES = \ crypto_verify/16/ref/verify_16.c \ crypto_verify/32/ref/crypto_verify.h \ crypto_verify/32/ref/verify_32.c \ - crypto_auth/hmacsha256/ref/crypto_auth.h \ + crypto_auth/hmacsha256/ref/api.h \ crypto_auth/hmacsha256/ref/hmac_hmacsha256.c \ crypto_auth/hmacsha256/ref/verify_hmacsha256.c \ - crypto_auth/hmacsha512256/ref/crypto_auth.h \ + crypto_auth/hmacsha512256/ref/api.h \ crypto_auth/hmacsha512256/ref/hmac_hmacsha512256.c \ crypto_auth/hmacsha512256/ref/verify_hmacsha512256.c \ crypto_stream/salsa20/ref/crypto_stream.h \ diff --git a/src/libsodium/crypto_auth/hmacsha256/ref/crypto_auth.h b/src/libsodium/crypto_auth/hmacsha256/ref/api.h similarity index 100% rename from src/libsodium/crypto_auth/hmacsha256/ref/crypto_auth.h rename to src/libsodium/crypto_auth/hmacsha256/ref/api.h diff --git a/src/libsodium/crypto_auth/hmacsha256/ref/hmac_hmacsha256.c b/src/libsodium/crypto_auth/hmacsha256/ref/hmac_hmacsha256.c index 8ab30bb4..4aec36f4 100644 --- a/src/libsodium/crypto_auth/hmacsha256/ref/hmac_hmacsha256.c +++ b/src/libsodium/crypto_auth/hmacsha256/ref/hmac_hmacsha256.c @@ -4,8 +4,8 @@ * Public domain. * */ +#include "api.h" #include "crypto_hashblocks_sha256.h" -#include "crypto_auth.h" #define blocks crypto_hashblocks_sha256 diff --git a/src/libsodium/crypto_auth/hmacsha256/ref/verify_hmacsha256.c b/src/libsodium/crypto_auth/hmacsha256/ref/verify_hmacsha256.c index 96ff0ea8..b6cf4893 100644 --- a/src/libsodium/crypto_auth/hmacsha256/ref/verify_hmacsha256.c +++ b/src/libsodium/crypto_auth/hmacsha256/ref/verify_hmacsha256.c @@ -1,5 +1,5 @@ +#include "api.h" #include "crypto_verify_32.h" -#include "crypto_auth.h" int crypto_auth_verify(const unsigned char *h,const unsigned char *in,unsigned long long inlen,const unsigned char *k) { diff --git a/src/libsodium/crypto_auth/hmacsha512256/ref/crypto_auth.h b/src/libsodium/crypto_auth/hmacsha512256/ref/api.h similarity index 100% rename from src/libsodium/crypto_auth/hmacsha512256/ref/crypto_auth.h rename to src/libsodium/crypto_auth/hmacsha512256/ref/api.h diff --git a/src/libsodium/crypto_auth/hmacsha512256/ref/hmac_hmacsha512256.c b/src/libsodium/crypto_auth/hmacsha512256/ref/hmac_hmacsha512256.c index 56ebfa6b..7636e869 100644 --- a/src/libsodium/crypto_auth/hmacsha512256/ref/hmac_hmacsha512256.c +++ b/src/libsodium/crypto_auth/hmacsha512256/ref/hmac_hmacsha512256.c @@ -4,8 +4,8 @@ * Public domain. * */ +#include "api.h" #include "crypto_hashblocks_sha512.h" -#include "crypto_auth.h" #define blocks crypto_hashblocks_sha512 diff --git a/src/libsodium/crypto_auth/hmacsha512256/ref/verify_hmacsha512256.c b/src/libsodium/crypto_auth/hmacsha512256/ref/verify_hmacsha512256.c index 96ff0ea8..b6cf4893 100644 --- a/src/libsodium/crypto_auth/hmacsha512256/ref/verify_hmacsha512256.c +++ b/src/libsodium/crypto_auth/hmacsha512256/ref/verify_hmacsha512256.c @@ -1,5 +1,5 @@ +#include "api.h" #include "crypto_verify_32.h" -#include "crypto_auth.h" int crypto_auth_verify(const unsigned char *h,const unsigned char *in,unsigned long long inlen,const unsigned char *k) {