mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-27 20:42:20 +01:00
Fix swapped WOLFSSL_SILABS_SHA384/SHA512 defines in sha512.c.
This commit is contained in:
@@ -125,7 +125,7 @@
|
||||
!defined(WOLFSSL_QNX_CAAM)
|
||||
/* functions defined in wolfcrypt/src/port/caam/caam_sha.c */
|
||||
|
||||
#elif defined(WOLFSSL_SILABS_SHA384)
|
||||
#elif defined(WOLFSSL_SILABS_SHA512)
|
||||
/* functions defined in wolfcrypt/src/port/silabs/silabs_hash.c */
|
||||
|
||||
#elif defined(WOLFSSL_KCAPI_HASH)
|
||||
@@ -1211,7 +1211,7 @@ int wc_Sha512Update(wc_Sha512* sha512, const byte* data, word32 len)
|
||||
|
||||
#endif /* WOLFSSL_SHA512 */
|
||||
|
||||
#endif /* WOLFSSL_IMX6_CAAM || WOLFSSL_SILABS_SHA384 */
|
||||
#endif /* WOLFSSL_IMX6_CAAM || WOLFSSL_SILABS_SHA512 */
|
||||
|
||||
|
||||
#if defined(WOLFSSL_KCAPI_HASH)
|
||||
@@ -1632,7 +1632,7 @@ int wc_Sha512Transform(wc_Sha512* sha, const unsigned char* data)
|
||||
return ret;
|
||||
}
|
||||
|
||||
#elif defined(WOLFSSL_SILABS_SHA512)
|
||||
#elif defined(WOLFSSL_SILABS_SHA384)
|
||||
/* functions defined in wolfcrypt/src/port/silabs/silabs_hash.c */
|
||||
|
||||
#elif defined(WOLFSSL_KCAPI_HASH)
|
||||
@@ -1897,7 +1897,7 @@ int wc_InitSha384_ex(wc_Sha384* sha384, void* heap, int devId)
|
||||
return ret;
|
||||
}
|
||||
|
||||
#endif /* WOLFSSL_IMX6_CAAM || WOLFSSL_SILABS_SHA512 || WOLFSSL_KCAPI_HASH */
|
||||
#endif /* WOLFSSL_IMX6_CAAM || WOLFSSL_SILABS_SHA384 || WOLFSSL_KCAPI_HASH */
|
||||
|
||||
#if defined(MAX3266X_SHA)
|
||||
/* Functions defined in wolfcrypt/src/port/maxim/max3266x.c */
|
||||
|
||||
Reference in New Issue
Block a user