We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7260cc1 commit 393bf4aCopy full SHA for 393bf4a
1 file changed
wolfssl/openssl/sha3.h
@@ -42,7 +42,11 @@
42
* to Sha3 is expected to also be 16 byte aligned addresses. */
43
struct WOLFSSL_SHA3_CTX {
44
/* big enough to hold wolfcrypt Sha3, but check on init */
45
+#ifdef WOLFSSL_SHA3
46
ALIGN16 void* holder[sizeof(struct wc_Sha3)];
47
+#else
48
+ ALIGN16 void* holder[(424 + WC_ASYNC_DEV_SIZE) / sizeof(void*)];
49
+#endif
50
};
51
52
#ifndef WOLFSSL_NOSHA3_224
0 commit comments