mirror of https://github.com/wolfSSL/wolfssl.git
wolfssl/openssl/sha3.h: use sizeof(struct wc_Sha3) only ifdef WOLFSSL_SHA3.
parent
7260cc124c
commit
393bf4a8e2
|
@ -42,7 +42,11 @@
|
|||
* to Sha3 is expected to also be 16 byte aligned addresses. */
|
||||
struct WOLFSSL_SHA3_CTX {
|
||||
/* big enough to hold wolfcrypt Sha3, but check on init */
|
||||
#ifdef WOLFSSL_SHA3
|
||||
ALIGN16 void* holder[sizeof(struct wc_Sha3)];
|
||||
#else
|
||||
ALIGN16 void* holder[(424 + WC_ASYNC_DEV_SIZE) / sizeof(void*)];
|
||||
#endif
|
||||
};
|
||||
|
||||
#ifndef WOLFSSL_NOSHA3_224
|
||||
|
|
Loading…
Reference in New Issue