Skip to content

Commit

Permalink
Merge pull request #8196 from SparkiDev/pqc_kem_priv_key_fix
Browse files Browse the repository at this point in the history
KeyShareEntry: include private key fields for KYBER
  • Loading branch information
dgarske authored Nov 18, 2024
2 parents 5dabeb5 + 5d61ca9 commit c111bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wolfssl/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c111bb8

Please sign in to comment.