This commit is contained in:
Sean Parkinson
2016-11-11 16:11:16 +10:00
parent 45983c3b32
commit 9e81261f1e
2 changed files with 8 additions and 1 deletions

View File

@@ -35,6 +35,13 @@
#define Sha256Final wc_Sha256Final
#define Sha256Hash wc_Sha256Hash
#ifdef WOLFSSL_SHA224
#define InitSha224 wc_InitSha224
#define Sha224Update wc_Sha224Update
#define Sha224Final wc_Sha224Final
#define Sha224Hash wc_Sha224Hash
#endif
#endif /* CTAO_CRYPT_SHA256_H */
#endif /* NO_SHA256 */

View File

@@ -76,7 +76,7 @@ WOLFSSL_API int wc_InitSha256(Sha256*);
WOLFSSL_API int wc_Sha256Update(Sha256*, const byte*, word32);
WOLFSSL_API int wc_Sha256Final(Sha256*, byte*);
#if defined(WOLFSSL_SHA224)
#ifdef WOLFSSL_SHA224
#ifndef HAVE_FIPS /* avoid redefinition of structs */
/* in bytes */