mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-06 05:50:48 +02:00
Clear seed buffer after dilithium key generation
F-767
This commit is contained in:
committed by
David Garske
parent
4ee9a263f0
commit
643427040b
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user