From 3d4ec1464bf2c47d0e723f2f7be7993d747ff22e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Frauenschl=C3=A4ger?= Date: Wed, 15 Jan 2025 08:34:54 +0100 Subject: [PATCH] Minor Dilithium fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix compilation in case caching is enabled. Signed-off-by: Tobias Frauenschläger --- wolfcrypt/src/dilithium.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/dilithium.c b/wolfcrypt/src/dilithium.c index 6e5df5954..2d623645e 100644 --- a/wolfcrypt/src/dilithium.c +++ b/wolfcrypt/src/dilithium.c @@ -9276,7 +9276,7 @@ int wc_dilithium_import_public(const byte* in, word32 inLen, dilithium_key* key) ret = MEMORY_E; } else { - XMEMSET(key->a, 0, params->aSz); + XMEMSET(key->a, 0, key->params->aSz); } } #endif