No oneshot Hash() in FIPS c files anymore

This commit is contained in:
toddouska
2015-07-28 16:55:58 -07:00
parent e97a60c647
commit b8fac462cd
3 changed files with 0 additions and 19 deletions

View File

@ -57,11 +57,6 @@
return ShaFinal_fips(sha,out);
}
int wc_ShaHash(const byte* data, word32 sz, byte* out)
{
return ShaHash(data, sz, out);
}
#else /* else build without fips */
#if defined(WOLFSSL_TI_HASH)

View File

@ -49,11 +49,6 @@ int wc_Sha256Final(Sha256* sha, byte* out)
}
int wc_Sha256Hash(const byte* data, word32 len, byte* out)
{
return Sha256Hash(data, len, out);
}
#else /* else build without fips */
#if !defined(NO_SHA256) && defined(WOLFSSL_TI_HASH)

View File

@ -47,11 +47,6 @@ int wc_Sha512Final(Sha512* sha, byte* out)
}
int wc_Sha512Hash(const byte* data, word32 len, byte* out)
{
return Sha512Hash(data, len, out);
}
#if defined(WOLFSSL_SHA384) || defined(HAVE_AESGCM)
int wc_InitSha384(Sha384* sha)
@ -72,10 +67,6 @@ int wc_Sha384Final(Sha384* sha, byte* out)
}
int wc_Sha384Hash(const byte* data, word32 len, byte* out)
{
return Sha384Hash(data, len, out);
}
#endif /* WOLFSSL_SHA384 */
#else /* else build without using fips */
#include <wolfssl/wolfcrypt/logging.h>