mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 19:54:40 +02:00
KeyShareEntry: include private key fields for KYBER
Originallt HAVE_PQC and then changed to HAVE_FALCON and HAVE_DILITHIUM. The KEM PQC algorithm is actually KYBER.
This commit is contained in:
@@ -3539,7 +3539,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