mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
Merge pull request #7498 from douzzer/20240501-openssl-sha3-sizeof-fix
20240501-openssl-sha3-sizeof-fix
This commit is contained in:
@ -43,7 +43,7 @@
|
|||||||
struct WOLFSSL_SHA3_CTX {
|
struct WOLFSSL_SHA3_CTX {
|
||||||
/* big enough to hold wolfcrypt Sha3, but check on init */
|
/* big enough to hold wolfcrypt Sha3, but check on init */
|
||||||
#ifdef WOLFSSL_SHA3
|
#ifdef WOLFSSL_SHA3
|
||||||
ALIGN16 void* holder[sizeof(struct wc_Sha3)];
|
ALIGN16 void* holder[sizeof(wc_Sha3)];
|
||||||
#else
|
#else
|
||||||
ALIGN16 void* holder[(424 + WC_ASYNC_DEV_SIZE) / sizeof(void*)];
|
ALIGN16 void* holder[(424 + WC_ASYNC_DEV_SIZE) / sizeof(void*)];
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user