Skip to content

Updating the ML-KEM for finalized codepoints #176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ The following quantum-safe algorithms from liboqs are supported (assuming they h
- **FrodoKEM**: `frodokem-640-aes-sha256`\*, `frodokem-976-aes-sha384`\*, `frodokem-1344-aes-sha512`\*, `frodokem-640-shake-sha256`\*, `frodokem-976-shake-sha384`\*, `frodokem-1344-shake-sha512`\*
- **HQC**: `hqc-128-sha256`, `hqc-192-sha384`, `hqc-256-sha512`†
- **Kyber**: `kyber-512-sha256`\*, `kyber-768-sha384`\*, `kyber-1024-sha512`\*
- **ML-KEM**: `ml-kem-512-sha256`\*, `ml-kem-768-sha256`\*, `ml-kem-1024-sha384`\*
- **ML-KEM**: `mlkem512-sha256`\*, `mlkem768-sha256`\*, `mlkem1024-sha384`\*
- **NTRU-Prime**: `ntruprime-sntrup761-sha512`\*
<!--- OQS_TEMPLATE_FRAGMENT_LIST_ALL_KEXS_END -->

Expand Down
6 changes: 3 additions & 3 deletions kex.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@
#define KEX_CLASSIC_MCELIECE_6960119F_SHA512 "classic-mceliece-6960119f-sha512"
#define KEX_CLASSIC_MCELIECE_8192128_SHA512 "classic-mceliece-8192128-sha512"
#define KEX_CLASSIC_MCELIECE_8192128F_SHA512 "classic-mceliece-8192128f-sha512"
#define KEX_ML_KEM_512_SHA256 "ml-kem-512-sha256"
#define KEX_ML_KEM_512_SHA256 "mlkem512-sha256"
#define KEX_ML_KEM_512_X25519_SHA256 "x25519-ml-kem-512-sha256@openquantumsafe.org"
#define KEX_ML_KEM_768_SHA256 "ml-kem-768-sha256"
#define KEX_ML_KEM_768_SHA256 "mlkem768-sha256"
#define KEX_ML_KEM_768_X25519_SHA256 "mlkem768x25519-sha256"
#define KEX_ML_KEM_1024_SHA384 "ml-kem-1024-sha384"
#define KEX_ML_KEM_1024_SHA384 "mlkem1024-sha384"
#define KEX_NTRUPRIME_SNTRUP761_SHA512 "sntrup761-sha512"
#define KEX_NTRUPRIME_SNTRUP761_X25519_SHA512 "sntrup761x25519-sha512@openssh.com"
#ifdef WITH_OPENSSL
Expand Down
6 changes: 3 additions & 3 deletions myproposal.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@
"ecdh-nistp521-classic-mceliece-8192128r4-sha512@openquantumsafe.org," \
"classic-mceliece-8192128f-sha512," \
"ecdh-nistp521-classic-mceliece-8192128fr4-sha512@openquantumsafe.org," \
"ml-kem-512-sha256," \
"mlkem512-sha256," \
"ecdh-nistp256-ml-kem-512-sha256@openquantumsafe.org," \
"x25519-ml-kem-512-sha256@openquantumsafe.org," \
"ml-kem-768-sha256," \
"mlkem768-sha256," \
"mlkem768nistp256-sha256," \
"mlkem768x25519-sha256," \
"ml-kem-1024-sha384," \
"mlkem1024-sha384," \
"mlkem1024nistp384-sha384," \
"sntrup761-sha512," \
"sntrup761x25519-sha512@openssh.com"
Expand Down
6 changes: 3 additions & 3 deletions oqs-template/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ kexs:
name: 'ml_kem_512'
enable: true
hash: 'sha256'
pretty_name: 'ml-kem-512-sha256'
pretty_name: 'mlkem512-sha256'
mix_with:
-
name: 'nistp256'
Expand All @@ -323,7 +323,7 @@ kexs:
name: 'ml_kem_768'
enable: true
hash: 'sha256'
pretty_name: 'ml-kem-768-sha256'
pretty_name: 'mlkem768-sha256'
mix_with:
-
name: 'nistp256'
Expand All @@ -338,7 +338,7 @@ kexs:
name: 'ml_kem_1024'
enable: true
hash: 'sha384'
pretty_name: 'ml-kem-1024-sha384'
pretty_name: 'mlkem1024-sha384'
mix_with:
-
name: 'nistp384'
Expand Down
6 changes: 3 additions & 3 deletions oqs-test/try_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@
"ecdh-nistp521-classic-mceliece-8192128r4-sha512@openquantumsafe.org",
"classic-mceliece-8192128f-sha512",
"ecdh-nistp521-classic-mceliece-8192128fr4-sha512@openquantumsafe.org",
"ml-kem-512-sha256",
"mlkem512-sha256",
"ecdh-nistp256-ml-kem-512-sha256@openquantumsafe.org",
"x25519-ml-kem-512-sha256@openquantumsafe.org",
"ml-kem-768-sha256",
"mlkem768-sha256",
"mlkem768nistp256-sha256",
"mlkem768x25519-sha256",
"ml-kem-1024-sha384",
"mlkem1024-sha384",
"mlkem1024nistp384-sha384",
"sntrup761-sha512",
"sntrup761x25519-sha512@openssh.com",
Expand Down