Clear seed buffer after dilithium key generation

F-767
This commit is contained in:
Juliusz Sosinowicz
2026-03-16 15:44:09 +01:00
committed by David Garske
parent 4ee9a263f0
commit 643427040b
+1
View File
@@ -8026,6 +8026,7 @@ static int dilithium_make_key(dilithium_key* key, WC_RNG* rng)
ret = wc_dilithium_make_key_from_seed(key, seed);
}
ForceZero(seed, sizeof(seed));
return ret;
}
#endif /* !WOLFSSL_DILITHIUM_NO_MAKE_KEY */