Skip to content
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

Sync algs with liboqs and oqs-provider #124

Merged
merged 1 commit into from
Sep 19, 2024
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
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ Along with `X25519MLKEM768` and `X25519Kyber768Draft00` supported by BoringSSL t

<!--- OQS_TEMPLATE_FRAGMENT_LIST_KEXS_START -->
- **BIKE**: `bikel1`, `p256_bikel1`, `x25519_bikel1`, `bikel3`, `p384_bikel3`, `bikel5`, `p521_bikel5`
- **CRYSTALS-Kyber**: `kyber512`, `p256_kyber512`, `x25519_kyber512`, `kyber768`, `p384_kyber768`, `kyber1024`, `p521_kyber1024`
- **CRYSTALS-Kyber**: `kyber512`, `p256_kyber512`, `x25519_kyber512`, `kyber768`, `p256_kyber768`, `p384_kyber768`, `kyber1024`, `p521_kyber1024`
- **FrodoKEM**: `frodo640aes`, `p256_frodo640aes`, `x25519_frodo640aes`, `frodo640shake`, `p256_frodo640shake`, `x25519_frodo640shake`, `frodo976aes`, `p384_frodo976aes`, `frodo976shake`, `p384_frodo976shake`, `frodo1344aes`, `p521_frodo1344aes`, `frodo1344shake`, `p521_frodo1344shake`
- **HQC**: `hqc128`, `p256_hqc128`, `x25519_hqc128`, `hqc192`, `p384_hqc192`, `hqc256`, `p521_hqc256`†
- **ML-KEM**: `mlkem768`, `p384_mlkem768`, `mlkem1024`, `p521_mlkem1024`
- **ML-KEM**: `mlkem768`, `p256_mlkem768`, `p384_mlkem768`, `mlkem1024`, `p384_mlkem1024`, `p521_mlkem1024`
<!--- OQS_TEMPLATE_FRAGMENT_LIST_KEXS_END -->

Be aware that hybrid algorithms utlizing `X448` are not supported. If those are needed for a project please use [OQS-provider](https://github.com/open-quantum-safe/oqs-provider) which supports them out of the box, or implement them and create a pull request, or [create an issue](https://github.com/open-quantum-safe/boringssl/issues).
Expand All @@ -85,10 +85,11 @@ Note that algorithms marked with a dagger (†) have large stack usage and may c
The following quantum-safe digital signature algorithms from liboqs are supported (assuming they have been enabled in liboqs):

<!--- OQS_TEMPLATE_FRAGMENT_LIST_SIGS_START -->
- **CROSS**: `CROSSrsdp128balanced`
- **CRYSTALS-DILITHIUM**: `dilithium2`, `dilithium3`, `dilithium5`
- **Falcon**: `falcon512`, `p256_falcon512`, `falconpadded512`, `falcon1024`, `falconpadded1024`
- **Falcon**: `falcon512`, `rsa3072_falcon512`, `falconpadded512`, `falcon1024`, `falconpadded1024`
- **MAYO**: `mayo1`, `mayo2`, `mayo3`, `mayo5`
- **ML-DSA**: `rsa3072_mldsa44`, `mldsa65`, `p384_mldsa65`, `mldsa87`
- **ML-DSA**: `p256_mldsa44`, `mldsa65`, `p384_mldsa65`, `mldsa87`, `p521_mldsa87`
- **SPHINCS-SHA2**: `sphincssha2128fsimple`, `sphincssha2128ssimple`, `sphincssha2192fsimple`, `sphincssha2192ssimple`, `sphincssha2256fsimple`, `sphincssha2256ssimple`
- **SPHINCS-SHAKE**: `sphincsshake128fsimple`, `sphincsshake128ssimple`, `sphincsshake192fsimple`, `sphincsshake192ssimple`, `sphincsshake256fsimple`, `sphincsshake256ssimple`
<!--- OQS_TEMPLATE_FRAGMENT_LIST_SIGS_END -->
Expand Down
12 changes: 8 additions & 4 deletions crypto/evp/evp.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,14 +221,16 @@ static const EVP_PKEY_ASN1_METHOD *evp_pkey_asn1_find(int nid) {
///// OQS_TEMPLATE_FRAGMENT_PKEY_TO_ASN1_METH_START
case EVP_PKEY_MLDSA44:
return &mldsa44_asn1_meth;
case EVP_PKEY_RSA3072_MLDSA44:
return &rsa3072_mldsa44_asn1_meth;
case EVP_PKEY_P256_MLDSA44:
return &p256_mldsa44_asn1_meth;
case EVP_PKEY_MLDSA65:
return &mldsa65_asn1_meth;
case EVP_PKEY_P384_MLDSA65:
return &p384_mldsa65_asn1_meth;
case EVP_PKEY_MLDSA87:
return &mldsa87_asn1_meth;
case EVP_PKEY_P521_MLDSA87:
return &p521_mldsa87_asn1_meth;
case EVP_PKEY_DILITHIUM2:
return &dilithium2_asn1_meth;
case EVP_PKEY_DILITHIUM3:
Expand All @@ -237,8 +239,8 @@ static const EVP_PKEY_ASN1_METHOD *evp_pkey_asn1_find(int nid) {
return &dilithium5_asn1_meth;
case EVP_PKEY_FALCON512:
return &falcon512_asn1_meth;
case EVP_PKEY_P256_FALCON512:
return &p256_falcon512_asn1_meth;
case EVP_PKEY_RSA3072_FALCON512:
return &rsa3072_falcon512_asn1_meth;
case EVP_PKEY_FALCONPADDED512:
return &falconpadded512_asn1_meth;
case EVP_PKEY_FALCON1024:
Expand All @@ -253,6 +255,8 @@ static const EVP_PKEY_ASN1_METHOD *evp_pkey_asn1_find(int nid) {
return &mayo3_asn1_meth;
case EVP_PKEY_MAYO5:
return &mayo5_asn1_meth;
case EVP_PKEY_CROSSRSDP128BALANCED:
return &CROSSrsdp128balanced_asn1_meth;
case EVP_PKEY_SPHINCSSHA2128FSIMPLE:
return &sphincssha2128fsimple_asn1_meth;
case EVP_PKEY_SPHINCSSHA2128SSIMPLE:
Expand Down
6 changes: 4 additions & 2 deletions crypto/evp/evp_asn1.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,22 +78,24 @@ static const EVP_PKEY_ASN1_METHOD *const kASN1Methods[] = {
&x25519_asn1_meth,
///// OQS_TEMPLATE_FRAGMENT_LIST_PKEY_ASN1_METHS_START
&mldsa44_asn1_meth,
&rsa3072_mldsa44_asn1_meth,
&p256_mldsa44_asn1_meth,
&mldsa65_asn1_meth,
&p384_mldsa65_asn1_meth,
&mldsa87_asn1_meth,
&p521_mldsa87_asn1_meth,
&dilithium2_asn1_meth,
&dilithium3_asn1_meth,
&dilithium5_asn1_meth,
&falcon512_asn1_meth,
&p256_falcon512_asn1_meth,
&rsa3072_falcon512_asn1_meth,
&falconpadded512_asn1_meth,
&falcon1024_asn1_meth,
&falconpadded1024_asn1_meth,
&mayo1_asn1_meth,
&mayo2_asn1_meth,
&mayo3_asn1_meth,
&mayo5_asn1_meth,
&CROSSrsdp128balanced_asn1_meth,
&sphincssha2128fsimple_asn1_meth,
&sphincssha2128ssimple_asn1_meth,
&sphincssha2192fsimple_asn1_meth,
Expand Down
6 changes: 4 additions & 2 deletions crypto/evp/evp_ctx.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,24 @@ static const EVP_PKEY_METHOD *const evp_methods[] = {
&hkdf_pkey_meth,
///// OQS_TEMPLATE_FRAGMENT_LIST_PKEY_METHS_START
&mldsa44_pkey_meth,
&rsa3072_mldsa44_pkey_meth,
&p256_mldsa44_pkey_meth,
&mldsa65_pkey_meth,
&p384_mldsa65_pkey_meth,
&mldsa87_pkey_meth,
&p521_mldsa87_pkey_meth,
&dilithium2_pkey_meth,
&dilithium3_pkey_meth,
&dilithium5_pkey_meth,
&falcon512_pkey_meth,
&p256_falcon512_pkey_meth,
&rsa3072_falcon512_pkey_meth,
&falconpadded512_pkey_meth,
&falcon1024_pkey_meth,
&falconpadded1024_pkey_meth,
&mayo1_pkey_meth,
&mayo2_pkey_meth,
&mayo3_pkey_meth,
&mayo5_pkey_meth,
&CROSSrsdp128balanced_pkey_meth,
&sphincssha2128fsimple_pkey_meth,
&sphincssha2128ssimple_pkey_meth,
&sphincssha2192fsimple_pkey_meth,
Expand Down
12 changes: 8 additions & 4 deletions crypto/evp/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -329,22 +329,24 @@ extern const EVP_PKEY_ASN1_METHOD x25519_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD dh_asn1_meth;
///// OQS_TEMPLATE_FRAGMENT_DECLARE_ASN1_METHS_START
extern const EVP_PKEY_ASN1_METHOD mldsa44_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD rsa3072_mldsa44_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD p256_mldsa44_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD mldsa65_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD p384_mldsa65_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD mldsa87_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD p521_mldsa87_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD dilithium2_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD dilithium3_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD dilithium5_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD falcon512_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD p256_falcon512_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD rsa3072_falcon512_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD falconpadded512_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD falcon1024_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD falconpadded1024_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD mayo1_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD mayo2_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD mayo3_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD mayo5_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD CROSSrsdp128balanced_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD sphincssha2128fsimple_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD sphincssha2128ssimple_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD sphincssha2192fsimple_asn1_meth;
Expand All @@ -367,22 +369,24 @@ extern const EVP_PKEY_METHOD hkdf_pkey_meth;
extern const EVP_PKEY_METHOD dh_pkey_meth;
///// OQS_TEMPLATE_FRAGMENT_DECLARE_PKEY_METHS_START
extern const EVP_PKEY_METHOD mldsa44_pkey_meth;
extern const EVP_PKEY_METHOD rsa3072_mldsa44_pkey_meth;
extern const EVP_PKEY_METHOD p256_mldsa44_pkey_meth;
extern const EVP_PKEY_METHOD mldsa65_pkey_meth;
extern const EVP_PKEY_METHOD p384_mldsa65_pkey_meth;
extern const EVP_PKEY_METHOD mldsa87_pkey_meth;
extern const EVP_PKEY_METHOD p521_mldsa87_pkey_meth;
extern const EVP_PKEY_METHOD dilithium2_pkey_meth;
extern const EVP_PKEY_METHOD dilithium3_pkey_meth;
extern const EVP_PKEY_METHOD dilithium5_pkey_meth;
extern const EVP_PKEY_METHOD falcon512_pkey_meth;
extern const EVP_PKEY_METHOD p256_falcon512_pkey_meth;
extern const EVP_PKEY_METHOD rsa3072_falcon512_pkey_meth;
extern const EVP_PKEY_METHOD falconpadded512_pkey_meth;
extern const EVP_PKEY_METHOD falcon1024_pkey_meth;
extern const EVP_PKEY_METHOD falconpadded1024_pkey_meth;
extern const EVP_PKEY_METHOD mayo1_pkey_meth;
extern const EVP_PKEY_METHOD mayo2_pkey_meth;
extern const EVP_PKEY_METHOD mayo3_pkey_meth;
extern const EVP_PKEY_METHOD mayo5_pkey_meth;
extern const EVP_PKEY_METHOD CROSSrsdp128balanced_pkey_meth;
extern const EVP_PKEY_METHOD sphincssha2128fsimple_pkey_meth;
extern const EVP_PKEY_METHOD sphincssha2128ssimple_pkey_meth;
extern const EVP_PKEY_METHOD sphincssha2192fsimple_pkey_meth;
Expand Down
6 changes: 4 additions & 2 deletions crypto/evp/p_oqs.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,22 +301,24 @@ DEFINE_OQS_PKEY_METHOD(ALG, ALG_PKEY)

///// OQS_TEMPLATE_FRAGMENT_DEF_PKEY_METHODS_START
DEFINE_OQS_PKEY_METHODS(mldsa44, OQS_SIG_alg_ml_dsa_44, EVP_PKEY_MLDSA44)
DEFINE_OQS_PKEY_METHODS(rsa3072_mldsa44, OQS_SIG_alg_ml_dsa_44, EVP_PKEY_RSA3072_MLDSA44)
DEFINE_OQS_PKEY_METHODS(p256_mldsa44, OQS_SIG_alg_ml_dsa_44, EVP_PKEY_P256_MLDSA44)
DEFINE_OQS_PKEY_METHODS(mldsa65, OQS_SIG_alg_ml_dsa_65, EVP_PKEY_MLDSA65)
DEFINE_OQS_PKEY_METHODS(p384_mldsa65, OQS_SIG_alg_ml_dsa_65, EVP_PKEY_P384_MLDSA65)
DEFINE_OQS_PKEY_METHODS(mldsa87, OQS_SIG_alg_ml_dsa_87, EVP_PKEY_MLDSA87)
DEFINE_OQS_PKEY_METHODS(p521_mldsa87, OQS_SIG_alg_ml_dsa_87, EVP_PKEY_P521_MLDSA87)
DEFINE_OQS_PKEY_METHODS(dilithium2, OQS_SIG_alg_dilithium_2, EVP_PKEY_DILITHIUM2)
DEFINE_OQS_PKEY_METHODS(dilithium3, OQS_SIG_alg_dilithium_3, EVP_PKEY_DILITHIUM3)
DEFINE_OQS_PKEY_METHODS(dilithium5, OQS_SIG_alg_dilithium_5, EVP_PKEY_DILITHIUM5)
DEFINE_OQS_PKEY_METHODS(falcon512, OQS_SIG_alg_falcon_512, EVP_PKEY_FALCON512)
DEFINE_OQS_PKEY_METHODS(p256_falcon512, OQS_SIG_alg_falcon_512, EVP_PKEY_P256_FALCON512)
DEFINE_OQS_PKEY_METHODS(rsa3072_falcon512, OQS_SIG_alg_falcon_512, EVP_PKEY_RSA3072_FALCON512)
DEFINE_OQS_PKEY_METHODS(falconpadded512, OQS_SIG_alg_falcon_padded_512, EVP_PKEY_FALCONPADDED512)
DEFINE_OQS_PKEY_METHODS(falcon1024, OQS_SIG_alg_falcon_1024, EVP_PKEY_FALCON1024)
DEFINE_OQS_PKEY_METHODS(falconpadded1024, OQS_SIG_alg_falcon_padded_1024, EVP_PKEY_FALCONPADDED1024)
DEFINE_OQS_PKEY_METHODS(mayo1, OQS_SIG_alg_mayo_1, EVP_PKEY_MAYO1)
DEFINE_OQS_PKEY_METHODS(mayo2, OQS_SIG_alg_mayo_2, EVP_PKEY_MAYO2)
DEFINE_OQS_PKEY_METHODS(mayo3, OQS_SIG_alg_mayo_3, EVP_PKEY_MAYO3)
DEFINE_OQS_PKEY_METHODS(mayo5, OQS_SIG_alg_mayo_5, EVP_PKEY_MAYO5)
DEFINE_OQS_PKEY_METHODS(CROSSrsdp128balanced, OQS_SIG_alg_cross_rsdp_128_balanced, EVP_PKEY_CROSSRSDP128BALANCED)
DEFINE_OQS_PKEY_METHODS(sphincssha2128fsimple, OQS_SIG_alg_sphincs_sha2_128f_simple, EVP_PKEY_SPHINCSSHA2128FSIMPLE)
DEFINE_OQS_PKEY_METHODS(sphincssha2128ssimple, OQS_SIG_alg_sphincs_sha2_128s_simple, EVP_PKEY_SPHINCSSHA2128SSIMPLE)
DEFINE_OQS_PKEY_METHODS(sphincssha2192fsimple, OQS_SIG_alg_sphincs_sha2_192f_simple, EVP_PKEY_SPHINCSSHA2192FSIMPLE)
Expand Down
30 changes: 20 additions & 10 deletions crypto/evp/p_oqs_asn1.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,12 +274,14 @@ int get_classical_nid(int hybrid_id)
switch (hybrid_id)
{
///// OQS_TEMPLATE_FRAGMENT_ASSIGN_CLASSICAL_NIDS_START
case NID_rsa3072_mldsa44:
return NID_rsaEncryption;
case NID_p256_mldsa44:
return NID_X9_62_prime256v1;
case NID_p384_mldsa65:
return NID_secp384r1;
case NID_p256_falcon512:
return NID_X9_62_prime256v1;
case NID_p521_mldsa87:
return NID_secp521r1;
case NID_rsa3072_falcon512:
return NID_rsaEncryption;
///// OQS_TEMPLATE_FRAGMENT_ASSIGN_CLASSICAL_NIDS_END
default:
return 0;
Expand All @@ -291,11 +293,13 @@ int is_oqs_hybrid_alg(int hybrid_nid)
switch (hybrid_nid)
{
///// OQS_TEMPLATE_FRAGMENT_LIST_HYBRID_NIDS_START
case NID_rsa3072_mldsa44:
case NID_p256_mldsa44:
return 1;
case NID_p384_mldsa65:
return 1;
case NID_p256_falcon512:
case NID_p521_mldsa87:
return 1;
case NID_rsa3072_falcon512:
return 1;
///// OQS_TEMPLATE_FRAGMENT_LIST_HYBRID_NIDS_END
default:
Expand Down Expand Up @@ -424,8 +428,8 @@ static int decode_EC_pub(int nid, const unsigned char* encoded_key, int key_len,
DEFINE_OQS_ASN1_METHODS(mldsa44, OQS_SIG_alg_ml_dsa_44, EVP_PKEY_MLDSA44)
DEFINE_OQS_PKEY_ASN1_METHOD(mldsa44, EVP_PKEY_MLDSA44, OID(0x2B, 0x06, 0x01, 0x04, 0x01, 0x02, 0x82, 0x0B, 0x0C, 0x04, 0x04))

DEFINE_OQS_ASN1_METHODS(rsa3072_mldsa44, OQS_SIG_alg_ml_dsa_44, EVP_PKEY_RSA3072_MLDSA44)
DEFINE_OQS_PKEY_ASN1_METHOD(rsa3072_mldsa44, EVP_PKEY_RSA3072_MLDSA44, OID(0x2B, 0xCE, 0x0F, 0x07, 0x02))
DEFINE_OQS_ASN1_METHODS(p256_mldsa44, OQS_SIG_alg_ml_dsa_44, EVP_PKEY_P256_MLDSA44)
DEFINE_OQS_PKEY_ASN1_METHOD(p256_mldsa44, EVP_PKEY_P256_MLDSA44, OID(0x2B, 0xCE, 0x0F, 0x07, 0x01))

DEFINE_OQS_ASN1_METHODS(mldsa65, OQS_SIG_alg_ml_dsa_65, EVP_PKEY_MLDSA65)
DEFINE_OQS_PKEY_ASN1_METHOD(mldsa65, EVP_PKEY_MLDSA65, OID(0x2B, 0x06, 0x01, 0x04, 0x01, 0x02, 0x82, 0x0B, 0x0C, 0x06, 0x05))
Expand All @@ -436,6 +440,9 @@ DEFINE_OQS_PKEY_ASN1_METHOD(p384_mldsa65, EVP_PKEY_P384_MLDSA65, OID(0x2B, 0xCE,
DEFINE_OQS_ASN1_METHODS(mldsa87, OQS_SIG_alg_ml_dsa_87, EVP_PKEY_MLDSA87)
DEFINE_OQS_PKEY_ASN1_METHOD(mldsa87, EVP_PKEY_MLDSA87, OID(0x2B, 0x06, 0x01, 0x04, 0x01, 0x02, 0x82, 0x0B, 0x0C, 0x08, 0x07))

DEFINE_OQS_ASN1_METHODS(p521_mldsa87, OQS_SIG_alg_ml_dsa_87, EVP_PKEY_P521_MLDSA87)
DEFINE_OQS_PKEY_ASN1_METHOD(p521_mldsa87, EVP_PKEY_P521_MLDSA87, OID(0x2B, 0xCE, 0x0F, 0x07, 0x04))

DEFINE_OQS_ASN1_METHODS(dilithium2, OQS_SIG_alg_dilithium_2, EVP_PKEY_DILITHIUM2)
DEFINE_OQS_PKEY_ASN1_METHOD(dilithium2, EVP_PKEY_DILITHIUM2, OID(0x2B, 0x06, 0x01, 0x04, 0x01, 0x02, 0x82, 0x0B, 0x07, 0x04, 0x04))

Expand All @@ -448,8 +455,8 @@ DEFINE_OQS_PKEY_ASN1_METHOD(dilithium5, EVP_PKEY_DILITHIUM5, OID(0x2B, 0x06, 0x0
DEFINE_OQS_ASN1_METHODS(falcon512, OQS_SIG_alg_falcon_512, EVP_PKEY_FALCON512)
DEFINE_OQS_PKEY_ASN1_METHOD(falcon512, EVP_PKEY_FALCON512, OID(0x2B, 0xCE, 0x0F, 0x03, 0x0B))

DEFINE_OQS_ASN1_METHODS(p256_falcon512, OQS_SIG_alg_falcon_512, EVP_PKEY_P256_FALCON512)
DEFINE_OQS_PKEY_ASN1_METHOD(p256_falcon512, EVP_PKEY_P256_FALCON512, OID(0x2B, 0xCE, 0x0F, 0x03, 0x0C))
DEFINE_OQS_ASN1_METHODS(rsa3072_falcon512, OQS_SIG_alg_falcon_512, EVP_PKEY_RSA3072_FALCON512)
DEFINE_OQS_PKEY_ASN1_METHOD(rsa3072_falcon512, EVP_PKEY_RSA3072_FALCON512, OID(0x2B, 0xCE, 0x0F, 0x03, 0x0D))

DEFINE_OQS_ASN1_METHODS(falconpadded512, OQS_SIG_alg_falcon_padded_512, EVP_PKEY_FALCONPADDED512)
DEFINE_OQS_PKEY_ASN1_METHOD(falconpadded512, EVP_PKEY_FALCONPADDED512, OID(0x2B, 0xCE, 0x0F, 0x03, 0x10))
Expand All @@ -472,6 +479,9 @@ DEFINE_OQS_PKEY_ASN1_METHOD(mayo3, EVP_PKEY_MAYO3, OID(0x2B, 0xCE, 0x0F, 0x08, 0
DEFINE_OQS_ASN1_METHODS(mayo5, OQS_SIG_alg_mayo_5, EVP_PKEY_MAYO5)
DEFINE_OQS_PKEY_ASN1_METHOD(mayo5, EVP_PKEY_MAYO5, OID(0x2B, 0xCE, 0x0F, 0x08, 0x05, 0x01))

DEFINE_OQS_ASN1_METHODS(CROSSrsdp128balanced, OQS_SIG_alg_cross_rsdp_128_balanced, EVP_PKEY_CROSSRSDP128BALANCED)
DEFINE_OQS_PKEY_ASN1_METHOD(CROSSrsdp128balanced, EVP_PKEY_CROSSRSDP128BALANCED, OID(0x2B, 0x06, 0x01, 0x04, 0x01, 0x83, 0xE6, 0x25, 0x02, 0x01, 0x01))

DEFINE_OQS_ASN1_METHODS(sphincssha2128fsimple, OQS_SIG_alg_sphincs_sha2_128f_simple, EVP_PKEY_SPHINCSSHA2128FSIMPLE)
DEFINE_OQS_PKEY_ASN1_METHOD(sphincssha2128fsimple, EVP_PKEY_SPHINCSSHA2128FSIMPLE, OID(0x2B, 0xCE, 0x0F, 0x06, 0x04, 0x0D))

Expand Down
Loading