forked from wolfSSL/wolfssl
wolfssl/openssl/sha3.h: use sizeof(wc_Sha3), not sizeof(struct wc_Sha3), for compatibility with afalg_hash.h and other ports that don't define a struct wc_Sha3.
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