Skip to content

Commit

Permalink
Ran ./oqs-template/generate.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Pravek Sharma <[email protected]>
  • Loading branch information
praveksharma committed Sep 20, 2024
1 parent 46e1aad commit ad03863
Show file tree
Hide file tree
Showing 13 changed files with 57 additions and 52 deletions.
4 changes: 2 additions & 2 deletions ALGORITHMS.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ As standardization for these algorithms within TLS is not done, all TLS code poi
| p384_mlkem768 | 0x2F4C | Yes | OQS_CODEPOINT_P384_MLKEM768 |
| x448_mlkem768 | 0x2FB7 | Yes | OQS_CODEPOINT_X448_MLKEM768 |
| X25519MLKEM768 | 0x11ec | Yes | OQS_CODEPOINT_X25519MLKEM768 |
| p256_mlkem768 | 4587 | Yes | OQS_CODEPOINT_P256_MLKEM768 |
| SecP256r1MLKEM768 | 0x11eb | Yes | OQS_CODEPOINT_SECP256R1MLKEM768 |
| mlkem1024 | 0x1024 | Yes | OQS_CODEPOINT_MLKEM1024 |
| p521_mlkem1024 | 0x2F4D | Yes | OQS_CODEPOINT_P521_MLKEM1024 |
| p384_mlkem1024 | 0x2F4E | Yes | OQS_CODEPOINT_P384_MLKEM1024 |
Expand Down Expand Up @@ -261,7 +261,7 @@ If [OQS_KEM_ENCODERS](CONFIGURE.md#OQS_KEM_ENCODERS) is enabled the following li
| p384_mlkem768 | 1.3.9999.99.75 | OQS_OID_P384_MLKEM768
| x448_mlkem768 | 1.3.9999.99.53 | OQS_OID_X448_MLKEM768
| X25519MLKEM768 | 1.3.9999.99.54 | OQS_OID_X25519MLKEM768
| p256_mlkem768 | 1.3.9999.99.55 | OQS_OID_P256_MLKEM768
| SecP256r1MLKEM768 | 1.3.9999.99.55 | OQS_OID_SECP256R1MLKEM768
| mlkem1024 | 2.16.840.1.101.3.4.4.3 | OQS_OID_MLKEM1024
| p521_mlkem1024 | 1.3.9999.99.76 | OQS_OID_P521_MLKEM1024
| p384_mlkem1024 | 1.3.6.1.4.1.42235.6 | OQS_OID_P384_MLKEM1024
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ This implementation makes available the following quantum safe algorithms:
- **CRYSTALS-Kyber**: `kyber512`, `p256_kyber512`, `x25519_kyber512`, `kyber768`, `p384_kyber768`, `x448_kyber768`, `x25519_kyber768`, `p256_kyber768`, `kyber1024`, `p521_kyber1024`
- **FrodoKEM**: `frodo640aes`, `p256_frodo640aes`, `x25519_frodo640aes`, `frodo640shake`, `p256_frodo640shake`, `x25519_frodo640shake`, `frodo976aes`, `p384_frodo976aes`, `x448_frodo976aes`, `frodo976shake`, `p384_frodo976shake`, `x448_frodo976shake`, `frodo1344aes`, `p521_frodo1344aes`, `frodo1344shake`, `p521_frodo1344shake`
- **HQC**: `hqc128`, `p256_hqc128`, `x25519_hqc128`, `hqc192`, `p384_hqc192`, `x448_hqc192`, `hqc256`, `p521_hqc256`
- **ML-KEM**: `mlkem512`, `p256_mlkem512`, `x25519_mlkem512`, `mlkem768`, `p384_mlkem768`, `x448_mlkem768`, `x25519_mlkem768`, `p256_mlkem768`, `mlkem1024`, `p521_mlkem1024`, `p384_mlkem1024`
- **ML-KEM**: `mlkem512`, `p256_mlkem512`, `x25519_mlkem512`, `mlkem768`, `p384_mlkem768`, `x448_mlkem768`, `X25519MLKEM768`, `SecP256r1MLKEM768`, `mlkem1024`, `p521_mlkem1024`, `p384_mlkem1024`

### Signature algorithms

Expand Down
6 changes: 4 additions & 2 deletions oqsprov/oqs_decode_der2key.c
Original file line number Diff line number Diff line change
Expand Up @@ -625,8 +625,10 @@ MAKE_DECODER(_ecx, "x448_mlkem768", x448_mlkem768, oqsx, SubjectPublicKeyInfo);
MAKE_DECODER(_ecx, "X25519MLKEM768", X25519MLKEM768, oqsx, PrivateKeyInfo);
MAKE_DECODER(_ecx, "X25519MLKEM768", X25519MLKEM768, oqsx,
SubjectPublicKeyInfo);
MAKE_DECODER(_ecp, "p256_mlkem768", p256_mlkem768, oqsx, PrivateKeyInfo);
MAKE_DECODER(_ecp, "p256_mlkem768", p256_mlkem768, oqsx, SubjectPublicKeyInfo);
MAKE_DECODER(_ecp, "SecP256r1MLKEM768", SecP256r1MLKEM768, oqsx,
PrivateKeyInfo);
MAKE_DECODER(_ecp, "SecP256r1MLKEM768", SecP256r1MLKEM768, oqsx,
SubjectPublicKeyInfo);
MAKE_DECODER(, "mlkem1024", mlkem1024, oqsx, PrivateKeyInfo);
MAKE_DECODER(, "mlkem1024", mlkem1024, oqsx, SubjectPublicKeyInfo);

Expand Down
20 changes: 10 additions & 10 deletions oqsprov/oqs_encode_key2any.c
Original file line number Diff line number Diff line change
Expand Up @@ -998,9 +998,9 @@ static int oqsx_pki_priv_to_der(const void *vxkey, unsigned char **pder) {
#define X25519MLKEM768_evp_type 0
#define X25519MLKEM768_input_type "X25519MLKEM768"
#define X25519MLKEM768_pem_type "X25519MLKEM768"
#define p256_mlkem768_evp_type 0
#define p256_mlkem768_input_type "p256_mlkem768"
#define p256_mlkem768_pem_type "p256_mlkem768"
#define SecP256r1MLKEM768_evp_type 0
#define SecP256r1MLKEM768_input_type "SecP256r1MLKEM768"
#define SecP256r1MLKEM768_pem_type "SecP256r1MLKEM768"
#define mlkem1024_evp_type 0
#define mlkem1024_input_type "mlkem1024"
#define mlkem1024_pem_type "mlkem1024"
Expand Down Expand Up @@ -2123,13 +2123,13 @@ MAKE_ENCODER(_ecx, X25519MLKEM768, oqsx, PrivateKeyInfo, pem);
MAKE_ENCODER(_ecx, X25519MLKEM768, oqsx, SubjectPublicKeyInfo, der);
MAKE_ENCODER(_ecx, X25519MLKEM768, oqsx, SubjectPublicKeyInfo, pem);
MAKE_TEXT_ENCODER(_ecx, X25519MLKEM768);
MAKE_ENCODER(_ecp, p256_mlkem768, oqsx, EncryptedPrivateKeyInfo, der);
MAKE_ENCODER(_ecp, p256_mlkem768, oqsx, EncryptedPrivateKeyInfo, pem);
MAKE_ENCODER(_ecp, p256_mlkem768, oqsx, PrivateKeyInfo, der);
MAKE_ENCODER(_ecp, p256_mlkem768, oqsx, PrivateKeyInfo, pem);
MAKE_ENCODER(_ecp, p256_mlkem768, oqsx, SubjectPublicKeyInfo, der);
MAKE_ENCODER(_ecp, p256_mlkem768, oqsx, SubjectPublicKeyInfo, pem);
MAKE_TEXT_ENCODER(_ecp, p256_mlkem768);
MAKE_ENCODER(_ecp, SecP256r1MLKEM768, oqsx, EncryptedPrivateKeyInfo, der);
MAKE_ENCODER(_ecp, SecP256r1MLKEM768, oqsx, EncryptedPrivateKeyInfo, pem);
MAKE_ENCODER(_ecp, SecP256r1MLKEM768, oqsx, PrivateKeyInfo, der);
MAKE_ENCODER(_ecp, SecP256r1MLKEM768, oqsx, PrivateKeyInfo, pem);
MAKE_ENCODER(_ecp, SecP256r1MLKEM768, oqsx, SubjectPublicKeyInfo, der);
MAKE_ENCODER(_ecp, SecP256r1MLKEM768, oqsx, SubjectPublicKeyInfo, pem);
MAKE_TEXT_ENCODER(_ecp, SecP256r1MLKEM768);
MAKE_ENCODER(, mlkem1024, oqsx, EncryptedPrivateKeyInfo, der);
MAKE_ENCODER(, mlkem1024, oqsx, EncryptedPrivateKeyInfo, pem);
MAKE_ENCODER(, mlkem1024, oqsx, PrivateKeyInfo, der);
Expand Down
2 changes: 1 addition & 1 deletion oqsprov/oqs_kmgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1504,7 +1504,7 @@ MAKE_KEM_ECP_KEYMGMT_FUNCTIONS(p384_mlkem768, OQS_KEM_alg_ml_kem_768, 192)
MAKE_KEM_ECX_KEYMGMT_FUNCTIONS(x448_mlkem768, OQS_KEM_alg_ml_kem_768, 192, 1)

MAKE_KEM_ECX_KEYMGMT_FUNCTIONS(X25519MLKEM768, OQS_KEM_alg_ml_kem_768, 128, 1)
MAKE_KEM_ECP_KEYMGMT_FUNCTIONS(p256_mlkem768, OQS_KEM_alg_ml_kem_768, 128)
MAKE_KEM_ECP_KEYMGMT_FUNCTIONS(SecP256r1MLKEM768, OQS_KEM_alg_ml_kem_768, 128)
MAKE_KEM_KEYMGMT_FUNCTIONS(mlkem1024, OQS_KEM_alg_ml_kem_1024, 256)

MAKE_KEM_ECP_KEYMGMT_FUNCTIONS(p521_mlkem1024, OQS_KEM_alg_ml_kem_1024, 256)
Expand Down
20 changes: 10 additions & 10 deletions oqsprov/oqs_prov.h
Original file line number Diff line number Diff line change
Expand Up @@ -824,22 +824,22 @@ extern const OSSL_DISPATCH
extern const OSSL_DISPATCH
oqs_SubjectPublicKeyInfo_der_to_X25519MLKEM768_decoder_functions[];
extern const OSSL_DISPATCH
oqs_p256_mlkem768_to_PrivateKeyInfo_der_encoder_functions[];
oqs_SecP256r1MLKEM768_to_PrivateKeyInfo_der_encoder_functions[];
extern const OSSL_DISPATCH
oqs_p256_mlkem768_to_PrivateKeyInfo_pem_encoder_functions[];
oqs_SecP256r1MLKEM768_to_PrivateKeyInfo_pem_encoder_functions[];
extern const OSSL_DISPATCH
oqs_p256_mlkem768_to_EncryptedPrivateKeyInfo_der_encoder_functions[];
oqs_SecP256r1MLKEM768_to_EncryptedPrivateKeyInfo_der_encoder_functions[];
extern const OSSL_DISPATCH
oqs_p256_mlkem768_to_EncryptedPrivateKeyInfo_pem_encoder_functions[];
oqs_SecP256r1MLKEM768_to_EncryptedPrivateKeyInfo_pem_encoder_functions[];
extern const OSSL_DISPATCH
oqs_p256_mlkem768_to_SubjectPublicKeyInfo_der_encoder_functions[];
oqs_SecP256r1MLKEM768_to_SubjectPublicKeyInfo_der_encoder_functions[];
extern const OSSL_DISPATCH
oqs_p256_mlkem768_to_SubjectPublicKeyInfo_pem_encoder_functions[];
extern const OSSL_DISPATCH oqs_p256_mlkem768_to_text_encoder_functions[];
oqs_SecP256r1MLKEM768_to_SubjectPublicKeyInfo_pem_encoder_functions[];
extern const OSSL_DISPATCH oqs_SecP256r1MLKEM768_to_text_encoder_functions[];
extern const OSSL_DISPATCH
oqs_PrivateKeyInfo_der_to_p256_mlkem768_decoder_functions[];
oqs_PrivateKeyInfo_der_to_SecP256r1MLKEM768_decoder_functions[];
extern const OSSL_DISPATCH
oqs_SubjectPublicKeyInfo_der_to_p256_mlkem768_decoder_functions[];
oqs_SubjectPublicKeyInfo_der_to_SecP256r1MLKEM768_decoder_functions[];
extern const OSSL_DISPATCH
oqs_mlkem1024_to_PrivateKeyInfo_der_encoder_functions[];
extern const OSSL_DISPATCH
Expand Down Expand Up @@ -2258,7 +2258,7 @@ extern const OSSL_DISPATCH oqs_mlkem768_keymgmt_functions[];
extern const OSSL_DISPATCH oqs_ecp_p384_mlkem768_keymgmt_functions[];
extern const OSSL_DISPATCH oqs_ecx_x448_mlkem768_keymgmt_functions[];
extern const OSSL_DISPATCH oqs_ecx_X25519MLKEM768_keymgmt_functions[];
extern const OSSL_DISPATCH oqs_ecp_p256_mlkem768_keymgmt_functions[];
extern const OSSL_DISPATCH oqs_ecp_SecP256r1MLKEM768_keymgmt_functions[];
extern const OSSL_DISPATCH oqs_mlkem1024_keymgmt_functions[];

extern const OSSL_DISPATCH oqs_ecp_p521_mlkem1024_keymgmt_functions[];
Expand Down
7 changes: 4 additions & 3 deletions oqsprov/oqsdecoders.inc
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,10 @@ DECODER_w_structure("frodo640aes", der, PrivateKeyInfo, frodo640aes),
DECODER_w_structure("X25519MLKEM768", der, PrivateKeyInfo, X25519MLKEM768),
DECODER_w_structure("X25519MLKEM768", der, SubjectPublicKeyInfo,
X25519MLKEM768),
DECODER_w_structure("p256_mlkem768", der, PrivateKeyInfo, p256_mlkem768),
DECODER_w_structure("p256_mlkem768", der, SubjectPublicKeyInfo,
p256_mlkem768),
DECODER_w_structure("SecP256r1MLKEM768", der, PrivateKeyInfo,
SecP256r1MLKEM768),
DECODER_w_structure("SecP256r1MLKEM768", der, SubjectPublicKeyInfo,
SecP256r1MLKEM768),
# endif
# ifdef OQS_ENABLE_KEM_ml_kem_1024
DECODER_w_structure("mlkem1024", der, PrivateKeyInfo, mlkem1024),
Expand Down
16 changes: 9 additions & 7 deletions oqsprov/oqsencoders.inc
Original file line number Diff line number Diff line change
Expand Up @@ -467,17 +467,19 @@ ENCODER_w_structure("frodo640aes", frodo640aes, der, PrivateKeyInfo),
ENCODER_w_structure("X25519MLKEM768", X25519MLKEM768, pem,
SubjectPublicKeyInfo),
ENCODER_TEXT("X25519MLKEM768", X25519MLKEM768),
ENCODER_w_structure("p256_mlkem768", p256_mlkem768, der, PrivateKeyInfo),
ENCODER_w_structure("p256_mlkem768", p256_mlkem768, pem, PrivateKeyInfo),
ENCODER_w_structure("p256_mlkem768", p256_mlkem768, der,
ENCODER_w_structure("SecP256r1MLKEM768", SecP256r1MLKEM768, der,
PrivateKeyInfo),
ENCODER_w_structure("SecP256r1MLKEM768", SecP256r1MLKEM768, pem,
PrivateKeyInfo),
ENCODER_w_structure("SecP256r1MLKEM768", SecP256r1MLKEM768, der,
EncryptedPrivateKeyInfo),
ENCODER_w_structure("p256_mlkem768", p256_mlkem768, pem,
ENCODER_w_structure("SecP256r1MLKEM768", SecP256r1MLKEM768, pem,
EncryptedPrivateKeyInfo),
ENCODER_w_structure("p256_mlkem768", p256_mlkem768, der,
ENCODER_w_structure("SecP256r1MLKEM768", SecP256r1MLKEM768, der,
SubjectPublicKeyInfo),
ENCODER_w_structure("p256_mlkem768", p256_mlkem768, pem,
ENCODER_w_structure("SecP256r1MLKEM768", SecP256r1MLKEM768, pem,
SubjectPublicKeyInfo),
ENCODER_TEXT("p256_mlkem768", p256_mlkem768),
ENCODER_TEXT("SecP256r1MLKEM768", SecP256r1MLKEM768),
# endif
# ifdef OQS_ENABLE_KEM_ml_kem_1024
ENCODER_w_structure("mlkem1024", mlkem1024, der, PrivateKeyInfo),
Expand Down
17 changes: 8 additions & 9 deletions oqsprov/oqsprov.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const char *oqs_oid_alg_list[OQS_OID_CNT] = {
"1.3.9999.99.10",
"X25519MLKEM768",
"1.3.9999.99.11",
"p256_mlkem768",
"SecP256r1MLKEM768",
"2.16.840.1.101.3.4.4.3",
"mlkem1024",
"1.3.9999.99.32",
Expand Down Expand Up @@ -367,7 +367,7 @@ int oqs_patch_oids(void) {
oqs_oid_alg_list[62] = envval;
if ((envval = getenv("OQS_OID_X25519MLKEM768")))
oqs_oid_alg_list[64] = envval;
if ((envval = getenv("OQS_OID_P256_MLKEM768")))
if ((envval = getenv("OQS_OID_SECP256R1MLKEM768")))
oqs_oid_alg_list[66] = envval;
if ((envval = getenv("OQS_OID_MLKEM1024")))
oqs_oid_alg_list[68] = envval;
Expand Down Expand Up @@ -726,7 +726,7 @@ static const OSSL_ALGORITHM oqsprovider_asym_kems[] = {
KEMHYBALG(p384_mlkem768, 192)
KEMHYBALG(x448_mlkem768, 192)
KEMHYBALG(X25519MLKEM768, 128)
KEMHYBALG(p256_mlkem768, 128)
KEMHYBALG(SecP256r1MLKEM768, 128)
#endif
#ifdef OQS_ENABLE_KEM_ml_kem_1024
KEMBASEALG(mlkem1024, 256)
Expand Down Expand Up @@ -765,8 +765,7 @@ static const OSSL_ALGORITHM oqsprovider_asym_kems[] = {
///// OQS_TEMPLATE_FRAGMENT_KEM_FUNCTIONS_END
{NULL, NULL, NULL}};

static const OSSL_ALGORITHM oqsprovider_keymgmt[] =
{
static const OSSL_ALGORITHM oqsprovider_keymgmt[] = {
///// OQS_TEMPLATE_FRAGMENT_KEYMGMT_FUNCTIONS_START
// clang-format off

Expand Down Expand Up @@ -928,7 +927,7 @@ static const OSSL_ALGORITHM oqsprovider_keymgmt[] =
KEMKMHYBALG(p384_mlkem768, 192, ecp)
KEMKMHYBALG(x448_mlkem768, 192, ecx)
KEMKMHYBALG(X25519MLKEM768, 128, ecx)
KEMKMHYBALG(p256_mlkem768, 128, ecp)
KEMKMHYBALG(SecP256r1MLKEM768, 128, ecp)
#endif
#ifdef OQS_ENABLE_KEM_ml_kem_1024
KEMKMALG(mlkem1024, 256)
Expand Down Expand Up @@ -970,9 +969,9 @@ static const OSSL_ALGORITHM oqsprovider_keymgmt[] =

KEMKMHYBALG(p521_hqc256, 256, ecp)
#endif
// clang-format on
///// OQS_TEMPLATE_FRAGMENT_KEYMGMT_FUNCTIONS_END
{NULL, NULL, NULL}};
// clang-format on
///// OQS_TEMPLATE_FRAGMENT_KEYMGMT_FUNCTIONS_END
{NULL, NULL, NULL}};

static const OSSL_ALGORITHM oqsprovider_encoder[] = {
#define ENCODER_PROVIDER "oqsprovider"
Expand Down
9 changes: 5 additions & 4 deletions oqsprov/oqsprov_capabilities.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ static OQS_GROUP_CONSTANTS oqs_group_list[] = {
{0x2F4C, 192, TLS1_3_VERSION, 0, -1, -1, 1},
{0x2FB7, 192, TLS1_3_VERSION, 0, -1, -1, 1},
{0x11ec, 192, TLS1_3_VERSION, 0, -1, -1, 1},
{4587, 192, TLS1_3_VERSION, 0, -1, -1, 1},
{0x11eb, 192, TLS1_3_VERSION, 0, -1, -1, 1},
{0x1024, 256, TLS1_3_VERSION, 0, -1, -1, 1},

{0x2F4D, 256, TLS1_3_VERSION, 0, -1, -1, 1},
Expand Down Expand Up @@ -210,7 +210,8 @@ static const OSSL_PARAM oqs_param_group_list[][11] = {
OQS_GROUP_ENTRY(p384_mlkem768, p384_mlkem768, p384_mlkem768, 30),
OQS_GROUP_ENTRY(x448_mlkem768, x448_mlkem768, x448_mlkem768, 31),
OQS_GROUP_ENTRY(X25519MLKEM768, X25519MLKEM768, X25519MLKEM768, 32),
OQS_GROUP_ENTRY(p256_mlkem768, p256_mlkem768, p256_mlkem768, 33),
OQS_GROUP_ENTRY(SecP256r1MLKEM768, SecP256r1MLKEM768, SecP256r1MLKEM768,
33),
#endif
#ifdef OQS_ENABLE_KEM_ml_kem_1024
OQS_GROUP_ENTRY(mlkem1024, mlkem1024, mlkem1024, 34),
Expand Down Expand Up @@ -390,9 +391,9 @@ int oqs_patch_codepoints() {
if (getenv("OQS_CODEPOINT_X25519MLKEM768"))
oqs_group_list[32].group_id =
atoi(getenv("OQS_CODEPOINT_X25519MLKEM768"));
if (getenv("OQS_CODEPOINT_P256_MLKEM768"))
if (getenv("OQS_CODEPOINT_SECP256R1MLKEM768"))
oqs_group_list[33].group_id =
atoi(getenv("OQS_CODEPOINT_P256_MLKEM768"));
atoi(getenv("OQS_CODEPOINT_SECP256R1MLKEM768"));
if (getenv("OQS_CODEPOINT_MLKEM1024"))
oqs_group_list[34].group_id = atoi(getenv("OQS_CODEPOINT_MLKEM1024"));
if (getenv("OQS_CODEPOINT_P521_MLKEM1024"))
Expand Down
2 changes: 1 addition & 1 deletion oqsprov/oqsprov_keys.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ static oqs_nid_name_t nid_names[NID_TABLE_LEN] = {
{0, "p384_mlkem768", OQS_KEM_alg_ml_kem_768, KEY_TYPE_ECP_HYB_KEM, 192},
{0, "x448_mlkem768", OQS_KEM_alg_ml_kem_768, KEY_TYPE_ECX_HYB_KEM, 192},
{0, "X25519MLKEM768", OQS_KEM_alg_ml_kem_768, KEY_TYPE_ECX_HYB_KEM, 192},
{0, "p256_mlkem768", OQS_KEM_alg_ml_kem_768, KEY_TYPE_ECP_HYB_KEM, 192},
{0, "SecP256r1MLKEM768", OQS_KEM_alg_ml_kem_768, KEY_TYPE_ECP_HYB_KEM, 192},
{0, "mlkem1024", OQS_KEM_alg_ml_kem_1024, KEY_TYPE_KEM, 256},
{0, "p521_mlkem1024", OQS_KEM_alg_ml_kem_1024, KEY_TYPE_ECP_HYB_KEM, 256},
{0, "p384_mlkem1024", OQS_KEM_alg_ml_kem_1024, KEY_TYPE_ECP_HYB_KEM, 256},
Expand Down
2 changes: 1 addition & 1 deletion scripts/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# post-quantum key exchanges
'frodo640aes','frodo640shake','frodo976aes','frodo976shake','frodo1344aes','frodo1344shake','kyber512','kyber768','kyber1024','mlkem512','mlkem768','mlkem1024','bikel1','bikel3','bikel5','hqc128','hqc192','hqc256',
# post-quantum + classical key exchanges
'p256_frodo640aes','x25519_frodo640aes','p256_frodo640shake','x25519_frodo640shake','p384_frodo976aes','x448_frodo976aes','p384_frodo976shake','x448_frodo976shake','p521_frodo1344aes','p521_frodo1344shake','p256_kyber512','x25519_kyber512','p384_kyber768','x448_kyber768','x25519_kyber768','p256_kyber768','p521_kyber1024','p256_mlkem512','x25519_mlkem512','p384_mlkem768','x448_mlkem768','X25519MLKEM768','p256_mlkem768','p521_mlkem1024','p384_mlkem1024','p256_bikel1','x25519_bikel1','p384_bikel3','x448_bikel3','p521_bikel5','p256_hqc128','x25519_hqc128','p384_hqc192','x448_hqc192','p521_hqc256',
'p256_frodo640aes','x25519_frodo640aes','p256_frodo640shake','x25519_frodo640shake','p384_frodo976aes','x448_frodo976aes','p384_frodo976shake','x448_frodo976shake','p521_frodo1344aes','p521_frodo1344shake','p256_kyber512','x25519_kyber512','p384_kyber768','x448_kyber768','x25519_kyber768','p256_kyber768','p521_kyber1024','p256_mlkem512','x25519_mlkem512','p384_mlkem768','x448_mlkem768','X25519MLKEM768','SecP256r1MLKEM768','p521_mlkem1024','p384_mlkem1024','p256_bikel1','x25519_bikel1','p384_bikel3','x448_bikel3','p521_bikel5','p256_hqc128','x25519_hqc128','p384_hqc192','x448_hqc192','p521_hqc256',
##### OQS_TEMPLATE_FRAGMENT_KEX_ALGS_END
]
signatures = [
Expand Down
2 changes: 1 addition & 1 deletion test/oqs_test_evp_pkey_params.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const char *kHybridKEMAlgorithms[] = {
"p384_kyber768", "x448_kyber768", "x25519_kyber768",
"p256_kyber768", "p521_kyber1024", "p256_mlkem512",
"x25519_mlkem512", "p384_mlkem768", "x448_mlkem768",
"X25519MLKEM768", "p256_mlkem768", "p521_mlkem1024",
"X25519MLKEM768", "SecP256r1MLKEM768", "p521_mlkem1024",
"p384_mlkem1024", "p256_bikel1", "x25519_bikel1",
"p384_bikel3", "x448_bikel3", "p521_bikel5",
"p256_hqc128", "x25519_hqc128", "p384_hqc192",
Expand Down

0 comments on commit ad03863

Please sign in to comment.