Skip to content

Commit

Permalink
Merge pull request #8405 from anhu/thanks_tobiasbrunner
Browse files Browse the repository at this point in the history
Fix some typoes around Kyber and Dilithium
  • Loading branch information
JacobBarthelmeh authored Jan 31, 2025
2 parents e7a0340 + f86b19d commit 4abba81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,7 @@ AC_ARG_WITH([liboqs],
# Used:
# - SHA3, Shake128 and Shake256
AC_ARG_ENABLE([kyber],
[AS_HELP_STRING([--enable-kyber],[Enable KYBER (requires --enable-experimental) (default: disabled)])],
[AS_HELP_STRING([--enable-kyber],[Enable KYBER (default: disabled)])],
[ ENABLED_KYBER=$enableval ],
[ ENABLED_KYBER=no ]
)
Expand Down Expand Up @@ -1473,7 +1473,7 @@ fi
# Dilithium
# - SHA3, Shake128, Shake256 and AES-CTR
AC_ARG_ENABLE([dilithium],
[AS_HELP_STRING([--enable-dilithium],[Enable DILITHIUM (requires --enable-experimental) (default: disabled)])],
[AS_HELP_STRING([--enable-dilithium],[Enable DILITHIUM (default: disabled)])],
[ ENABLED_DILITHIUM=$enableval ],
[ ENABLED_DILITHIUM=no ]
)
Expand Down
2 changes: 1 addition & 1 deletion wolfssl/wolfcrypt/kyber.h
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ WOLFSSL_API int wc_KyberKey_EncodePublicKey(KyberKey* key, unsigned char* out,
#define wc_MlKemKey_SharedSecretSize wc_KyberKey_SharedSecretSize
#define wc_MlKemKey_Encapsulate wc_KyberKey_Encapsulate
#define wc_MlKemKey_EncapsulateWithRandom wc_KyberKey_EncapsulateWithRandom
#define wc_MlKemKey_Decapsulate wc_KyberKey_Encapsulate
#define wc_MlKemKey_Decapsulate wc_KyberKey_Decapsulate
#define wc_MlKemKey_DecodePrivateKey wc_KyberKey_DecodePrivateKey
#define wc_MlKemKey_DecodePublicKey wc_KyberKey_DecodePublicKey
#define wc_MlKemKey_PrivateKeySize wc_KyberKey_PrivateKeySize
Expand Down

0 comments on commit 4abba81

Please sign in to comment.