mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Merge pull request #8196 from SparkiDev/pqc_kem_priv_key_fix
KeyShareEntry: include private key fields for KYBER
This commit is contained in:
@ -3558,7 +3558,7 @@ typedef struct KeyShareEntry {
|
||||
word32 keyLen; /* Key size (bytes) */
|
||||
byte* pubKey; /* Public key */
|
||||
word32 pubKeyLen; /* Public key length */
|
||||
#if !defined(NO_DH) || defined(HAVE_FALCON) || defined(HAVE_DILITHIUM)
|
||||
#if !defined(NO_DH) || defined(WOLFSSL_HAVE_KYBER)
|
||||
byte* privKey; /* Private key - DH and PQ KEMs only */
|
||||
word32 privKeyLen;/* Only for PQ KEMs. */
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user