forked from wolfSSL/wolfssl
Fixes
This commit is contained in:
@@ -35,6 +35,13 @@
|
|||||||
#define Sha256Final wc_Sha256Final
|
#define Sha256Final wc_Sha256Final
|
||||||
#define Sha256Hash wc_Sha256Hash
|
#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 /* CTAO_CRYPT_SHA256_H */
|
||||||
#endif /* NO_SHA256 */
|
#endif /* NO_SHA256 */
|
||||||
|
|
||||||
|
@@ -76,7 +76,7 @@ WOLFSSL_API int wc_InitSha256(Sha256*);
|
|||||||
WOLFSSL_API int wc_Sha256Update(Sha256*, const byte*, word32);
|
WOLFSSL_API int wc_Sha256Update(Sha256*, const byte*, word32);
|
||||||
WOLFSSL_API int wc_Sha256Final(Sha256*, byte*);
|
WOLFSSL_API int wc_Sha256Final(Sha256*, byte*);
|
||||||
|
|
||||||
#if defined(WOLFSSL_SHA224)
|
#ifdef WOLFSSL_SHA224
|
||||||
|
|
||||||
#ifndef HAVE_FIPS /* avoid redefinition of structs */
|
#ifndef HAVE_FIPS /* avoid redefinition of structs */
|
||||||
/* in bytes */
|
/* in bytes */
|
||||||
|
Reference in New Issue
Block a user