mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-08 17:20:55 +02:00
liboqs: add RNG support for dilithium
Added a RNG argument to the wc_dilithium_sign_msg method to properly generate necessary random data using the desired WolfSSL RNG object. Signed-off-by: Tobias Frauenschläger <t.frauenschlaeger@me.com>
This commit is contained in:
+1
-1
@@ -8896,7 +8896,7 @@ static int SendTls13CertificateVerify(WOLFSSL* ssl)
|
||||
ret = wc_dilithium_sign_msg(args->sigData, args->sigDataSz,
|
||||
args->verify + HASH_SIG_SIZE +
|
||||
VERIFY_HEADER, (word32*)&sig->length,
|
||||
(dilithium_key*)ssl->hsKey);
|
||||
(dilithium_key*)ssl->hsKey, ssl->rng);
|
||||
args->length = (word16)sig->length;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user