Which liboqs functions depend on RSA and elliptic-curve keys

liboqs itself implements no RSA or elliptic-curve key exchange. Classical keys enter only through oqs-provider hybrid names and the OpenSSL default provider it depends on.

On this page

Does liboqs depend on RSA and elliptic-curve keys?

If you are assessing a liboqs deployment for public-key dependencies, the short answer is that liboqs itself does not implement RSA or elliptic-curve key exchange. Its job is to provide post-quantum key encapsulation (KEM) and signature primitives through a common API. Classical keys reach your system through two other places: hybrid algorithm names in oqs-provider, and the OpenSSL default provider that oqs-provider requires alongside it. The library has no TLS listener, management interface or update channel of its own, so any RSA or elliptic-curve exposure sits in the protocol integration and the OpenSSL configuration you run around it, not in liboqs.

The liboqs README states that OpenSSL 3.0 or newer is needed only when liboqs uses OpenSSL for symmetric primitives such as AES and SHA-2. The OpenSSL build options for those primitives are ON by default in CONFIGURE.md, and the 0.17.0-rc1 release notes say OpenSSL 3.0 or newer becomes the default requirement. The sources were checked as of 2026-12-03. The oqs-provider README documents hybrid KEM names with classical prefixes such as x25519_mlkem512 and p256_mlkem512, and hybrid signature names such as p256_mldsa44 and rsa3072_falcon512. Those prefixes mean a classical component is combined with a post-quantum one, so a deployment using them still carries an elliptic-curve or RSA element.

The liboqs README says plainly: "WE DO NOT CURRENTLY RECOMMEND RELYING ON THIS LIBRARY IN A PRODUCTION ENVIRONMENT OR TO PROTECT ANY SENSITIVE DATA." The oqs-provider integrations are described as prototypes that should not be considered production quality. Confirm with the project and in your own build that you are not treating these sources as a production recommendation. Then check the specific build and provider configuration: the openssl.cnf group settings, the -groups option, the enabled algorithm list at build time, and which OpenSSL version and default provider are active. Those settings decide whether RSA or elliptic-curve keys are actually negotiated.

Where RSA and elliptic-curve keys appear in liboqs and oqs-provider

This table separates liboqs core, its optional OpenSSL use, and oqs-provider hybrid names by release line, so you can see which parts involve RSA or elliptic-curve keys. Read each row as a component and its source, then check the version you deploy. The main takeaway is that liboqs core itself implements no RSA or elliptic-curve key exchange, while classical keys appear in oqs-provider hybrid names and in the OpenSSL provider you activate alongside it.

ComponentWhere classical keys appearSource and date
liboqs core (0.16.0, 0.17.0-rc1)KEM and signature primitives only, no RSA or elliptic-curve key exchangeliboqs README, 2026-12-03
Optional OpenSSL use in liboqsAES and SHA-2 through OpenSSL 3.0 or newer, enabled by default at build timeliboqs CONFIGURE.md, 2026-12-03
oqs-provider hybrid KEM namesClassical prefixes x25519_, p256_, p384_, p521_, x448_ and bp256_, plus X25519MLKEM768 and SecP256r1MLKEM768oqs-provider README, 2026-12-03
oqs-provider hybrid signature namesClassical prefixes such as p256_mldsa44 and rsa3072_falcon512oqs-provider README, 2026-12-03
OpenSSL 3.5 or later with oqs-providerDisables post-quantum algorithms that the OpenSSL default provider already implements, including X25519MLKEM768 and SecP256r1MLKEM768oqs-provider README, 2026-12-03
liboqs 0.16.0 release lineMade mldsa-native the default ML-DSA implementation and enabled HQC by default, while RSA and elliptic-curve support remains outside liboqs coreliboqs Releases, 0.16.0 (2026-07-09)
liboqs 0.17.0-rc1 release lineRequires OpenSSL 3.0 or newer by default and is the last release to officially support Classic McElieceliboqs Releases, 2026-12-01 pre-release
oqs-provider TLS groups settingGroups = kyber768:kyber1024 or s_server and s_client -groups restricts accepted KEMs, and no built-in default group list is namedoqs-provider USAGE.md, 2026-12-03

Which parts of liboqs touch classical public keys

liboqs itself implements post-quantum key encapsulation and signature primitives and does not implement RSA or elliptic-curve key exchange. Classical public keys enter only through the integrations built around it, so the cards below separate the core library from the OpenSSL provider, the hybrid modes, the TLS demo servers and the build options that link OpenSSL.

liboqs core library

The core library provides ML-KEM, ML-DSA and other post-quantum primitives through one common API. The liboqs README states that it does not implement RSA or elliptic-curve key exchange, so a plain liboqs call involves no classical public key. The project is a prototype library, and the README says it is not recommended for production or for protecting sensitive data. Confirm that your application calls liboqs directly and does not route through an integration that adds classical keys.

liboqs README

oqs-provider hybrid KEMs

Hybrid KEM names carry a classical prefix. The oqs-provider README documents names such as x25519_mlkem512 and p256_mlkem512, and the TLS names X25519MLKEM768 and SecP256r1MLKEM768. These combine an elliptic-curve exchange with a post-quantum KEM, so the connection depends on the classical curve as well. On OpenSSL 3.5 or later, the provider disables hybrids that the OpenSSL default provider already implements. Check the group names in your openssl.cnf to see which exchange is actually negotiated.

oqs-provider README

oqs-provider hybrid signatures

The oqs-provider README documents hybrid signature names with a classical component, such as p256_mldsa44 and rsa3072_falcon512. A hybrid signature carries both an RSA or ECDSA signature and a post-quantum signature, so certificates or messages signed with these names still contain classical public keys. The README also says these exclusive hybrids are at a pre-standard or draft stage and does not claim standards compliance. Check each certificate chain for the key types it actually contains.

oqs-provider USAGE.md

OpenSSL default or fips provider

oqsprovider depends on the OpenSSL default or fips provider, and one of them must be activated alongside it in openssl.cnf. The default provider supplies RSA, ECDSA and X25519 for ordinary TLS and X.509 work, so classical keys remain in use whenever it is loaded. Removing RSA or ECC from the deployment therefore means changing the OpenSSL configuration as well as the post-quantum settings. Check the provider list in your configuration to see which classical algorithms remain available.

oqs-provider USAGE.md

TLS demo integrations and OQS-BoringSSL

The OQS TLS page lists demo integrations of Apache httpd, nginx, haproxy and curl, and an OQS-BoringSSL snapshot at 2025-01 (liboqs 0.12.0) with no further updates planned. These are prototypes that the page says should not be considered production quality. Each demo uses its own certificate and handshake setup, so classical certificates or hybrid groups may appear depending on how the server is configured. Confirm the TLS library and version each server actually links before assuming any key type.

OQS TLS page

CMake OQS_USE_OPENSSL option

The CMake option OQS_USE_OPENSSL defaults to ON, and the AES and SHA-2 options that use OpenSSL also default to ON. liboqs needs OpenSSL 3.0 or newer for these symmetric primitives, and it does not use OpenSSL for RSA or elliptic-curve keys. Building with the option on therefore links a classical crypto library into the binary even though the post-quantum code paths do not call its key algorithms. Record whether the option is on in each build and which OpenSSL version it links.

liboqs CONFIGURE.md

How the answer changes with the OpenSSL version and provider setup

On OpenSSL 3.0 through 3.4, oqs-provider adds its post-quantum and hybrid algorithms alongside the default provider without removing any of them. The hybrid KEM names documented for this range include classical-prefixed groups such as x25519_mlkem512 and p256_mlkem512, as well as the names X25519MLKEM768 and SecP256r1MLKEM768. Because the default provider on these releases does not implement those hybrids, oqs-provider keeps all of them available. Classical public-key primitives such as RSA, Diffie-Hellman and elliptic-curve keys still come from OpenSSL itself, not from liboqs.

  • Classical prefixes stay available: Hybrid KEMs such as p256_mlkem512 pair an elliptic-curve exchange with ML-KEM, and that elliptic-curve part is performed by OpenSSL.
  • No suppression of default algorithms: The rule that disables overlapping algorithms applies from OpenSSL 3.5, so these releases expose the full oqs-provider set.
  • Provider activation required: oqs-provider depends on the OpenSSL default or fips provider, so one of them must be activated alongside it in openssl.cnf.
  • Group restriction: The Groups setting under system_default_sect, or the s_server and s_client option -groups, limits which KEMs are accepted. The sources name no built-in default group list.
  • Signatures through EVP: Hybrid signatures such as p256_mldsa44 and rsa3072_falcon512 work through the OpenSSL EVP interface.

Confirm your exact OpenSSL patch release and the provider list you have activated, because the tab rules here apply to the whole 3.0 to 3.4 range rather than to individual point releases.

Where classical keys enter a liboqs TLS handshake

This sketch follows a TLS 1.3 handshake from the client through OpenSSL, into oqsprovider and the default provider. The client offers key shares, and the Groups setting or the -groups option decides which KEM groups are acceptable. A hybrid group such as X25519MLKEM768 carries a classical share next to the ML-KEM share, and that classical share is where RSA or elliptic-curve key exchange enters. Liboqs itself implements no RSA or elliptic-curve exchange, so check which provider supplies each group and whether the default provider disables any hybrid that OpenSSL 3.5 or later already implements. This is a sketch of the sources, not a wire capture.

Sketch of where classical key shares join a hybrid TLS 1.3 handshake, not a wire capture.

How to confirm which classical keys a liboqs build actually uses

This sequence establishes which liboqs and oqs-provider versions are in use, which post-quantum and hybrid algorithms are enabled, and whether classical RSA and elliptic-curve paths are still reachable. The output is a dated record your assessors can check against the build.

  1. Record the liboqs and oqs-provider versions

    The engineer running the build records the liboqs version from the build configuration or release tag, and the oqs-provider version from its package or source tree. The sources listed on this page show liboqs 0.16.0 as the latest stable release on 2026-12-03, and oqs-provider 0.12.0 as aligned with liboqs 0.16.0, so compare your versions against those. The step closes when both version strings are written down with the date they were read.

  2. List enabled KEM algorithms in oqsprovider

    Run openssl list -kem-algorithms -provider oqsprovider on the host where the provider loads. The output shows the KEMs and hybrid names the provider exposes, including hybrids with classical prefixes such as x25519_mlkem512 and p256_mlkem512. Note any hybrid entries that carry a classical key component, since those are the paths that still depend on elliptic-curve key exchange. The step closes when the full list is saved to a file with the host name and date.

  3. List enabled signature algorithms in oqsprovider

    Run openssl list -signature-algorithms -provider oqsprovider on the same host. Look for hybrid signature names with classical prefixes, such as p256_mldsa44 and rsa3072_falcon512, because these combine a classical signature with a post-quantum one. The sources on this page do not say which signatures your TLS server will accept, so confirm that with the vendor or in your server configuration. The step closes when the signature list is saved alongside the KEM list.

  4. Confirm the OpenSSL default or fips provider is active

    Open openssl.cnf and check that either the default or the fips provider is activated alongside oqsprovider, because oqsprovider depends on one of them. Confirm this by running openssl list -providers and checking that the expected providers show as active. Also note the OpenSSL version, since OpenSSL 3.5 or later disables post-quantum algorithms that the default provider already implements, including hybrids such as X25519MLKEM768. The step closes when the active provider list is recorded.

  5. Check for group restrictions in openssl.cnf or -groups

    Look for a Groups setting under system_default_sect in openssl.cnf, or a -groups option on s_server or s_client, because either one restricts which KEMs are acceptable for TLS key exchange. The sources on this page show an example of Groups = kyber768:kyber1024, but do not list a built-in default group list for oqsprovider, so the absence of a restriction does not tell you what is offered. Record the exact restriction line you find, or record that none is set. The step closes when the restriction state is written down for each server configuration.

  6. Review OQS_USE_OPENSSL and algorithm flags in the build

    Inspect the CMake configuration of the liboqs build for OQS_USE_OPENSSL, which defaults to ON, along with OQS_USE_AES_OPENSSL and OQS_USE_SHA2_OPENSSL, which are also ON by default. Note that these settings control optional symmetric primitives and do not by themselves add RSA or elliptic-curve key exchange, which liboqs does not implement. Then check OQS_ALGS_ENABLED and OQS_MINIMAL_BUILD, because the build-time algorithm choice decides which KEMs and signatures exist in the library at all. The step closes when the flag values are saved from the CMake cache.

  7. Record the output as dated assessment evidence

    Gather the version records, the KEM and signature lists, the active provider list, the group restriction lines and the build flag values into one evidence file. Label each item with the host, the build identifier and the date the check ran. Mark clearly which entries are hybrids that still include a classical component, because the reader needs that distinction to judge exposure. The step closes when the evidence file is stored where your assessors can retrieve it and the reviewer has signed off on the date and host.

What the sources do not say about classical key dependencies

The liboqs README, the oqs-provider documentation and the OQS project pages establish which parts of the stack depend on classical keys and which do not. They are silent on several questions a security assessor normally needs answered, so the cards below name each gap and who can close it.

No built-in default TLS group list

The oqs-provider USAGE.md names no default group list for oqsprovider. It documents only that the -groups option or the Groups setting restricts which KEMs are acceptable, using an example of kyber768:kyber1024. Whether a deployment offers classical groups such as X25519 or P-256 alongside hybrids therefore depends on the configuration the integrator writes, not on a documented default. Ask the maintainers for the default group set in each release, and check the effective list with your own openssl s_server and s_client tests.

USAGE.md

No FIPS or CNSA 2.0 statement

The liboqs README does not state that liboqs is FIPS validated or FIPS compliant. The algorithms page and the oqs-provider README say nothing about CNSA 2.0 either. The project also says its README does not claim standards compliance. A certificate or validation for a specific module, version and issuer is a separate fact that the sources do not supply. Ask the maintainers or the integrator whether any validation exists for the exact build you plan to deploy, and get the module, version and issuer in writing.

No harvest now decrypt later statement

Neither the liboqs README nor the OQS FAQ uses the term harvest now decrypt later. Neither document says whether RSA or elliptic-curve key exchange should be replaced in any specific protocol, or on what timeline. The FAQ uses hybrid only for combining a KEM with a symmetric scheme, as in HPKE under RFC 9180. Your own risk analysis has to set the timing for each protocol. Ask the maintainers or the integrator which protocols they recommend for migration and what they assume about the threat model.

No vendor roadmap in the README

The liboqs README says algorithm support is informed by the NIST PQC standardization project and that liboqs will adjust if NIST changes implementation details. It contains no roadmap section, and the sources do not record a dated commitment to support, deprecation or removal of classical keys in oqs-provider. The 0.17.0-rc1 notes announce a removal of Classic McEliece in 0.18.0 but say nothing about RSA or elliptic-curve keys. Ask the maintainers for any written plan, and ask the integrator whether it intends to track one.

Releases page

What can go wrong when classical keys remain in a hybrid setup

A hybrid setup is only as strong as the weakest path a connection can take. In liboqs, the classical half of a hybrid (X25519, P-256, P-384, P-521, X448 or bp256) comes from the integration layer, not from liboqs itself, so the assessor needs to confirm which provider handles each leg. The oqs-provider README documents hybrid KEM names such as x25519_mlkem512 and p256_mlkem512 alongside the names X25519MLKEM768 and SecP256r1MLKEM768. If a client does not offer the hybrid group, the TLS handshake can negotiate a classical-only group without any warning to the operator. Check the Groups setting in openssl.cnf or the -groups option on s_server and s_client, and test with a client that lacks the hybrid group to see what is actually negotiated.

Signature hybrids carry a similar risk. The oqs-provider README notes that some TLS servers handle only 64 signature algorithms, and it advises caution when enabling more than 64 post-quantum signature algorithms. A server that is configured with a long list of hybrid signatures such as rsa3072_falcon512 or p256_mldsa44 may silently drop entries or fail the handshake. Confirm the count of enabled signature algorithms against the limit of the specific server software before rollout, and run the openssl list commands against the oqsprovider to see what is available.

Two further points limit what an assessor can record as production readiness. The OQS TLS page states that its integrations (including the demo builds of Apache httpd, nginx and curl) are prototypes that should not be considered production quality, and that OQS-BoringSSL is frozen at the 2025-01 snapshot. The liboqs README says the project is run on a best-effort basis and does not recommend relying on the library in a production environment or to protect any sensitive data. Record that statement as the vendor's own position, and do not treat a working hybrid handshake in a test environment as evidence that the deployment is supported.

Questions assessors ask about RSA and ECC in liboqs

Is liboqs quantum safe?

The sources do not support calling liboqs quantum safe, and the project itself does not make that claim. The liboqs README says the library is a C library for prototyping and experimenting with quantum-resistant cryptography, and that the project is not commercially supported. It also states: "WE DO NOT CURRENTLY RECOMMEND RELYING ON THIS LIBRARY IN A PRODUCTION ENVIRONMENT OR TO PROTECT ANY SENSITIVE DATA," and that it has not had the auditing needed for high-security use. For your assessment, record liboqs as an experimental library, and confirm the status of any build you consider with the maintainers before use.

Does liboqs itself use RSA or elliptic-curve keys?

No. The liboqs README states that liboqs does not implement RSA or elliptic-curve key exchange itself. It provides key encapsulation (KEM) and signature primitives through a common API, and classical key exchange only appears when a separate integration is used. Its only dependency on OpenSSL 3.0 or newer is optional, for symmetric primitives such as AES and SHA-2, and the CMake option OQS_USE_OPENSSL defaults to ON. The RSA and elliptic-curve dependencies you need to inventory are therefore in the protocol integration, such as oqs-provider, and in the OpenSSL or other provider that carries it, not in liboqs proper.

Does a hybrid mean the classical key is still used?

Yes, a hybrid key exchange or signature keeps a classical component alongside the post-quantum one. The oqs-provider README documents hybrid KEM names with classical prefixes, such as x25519_mlkem512 and p256_mlkem512, and the names X25519MLKEM768 and SecP256r1MLKEM768, plus hybrid signatures such as p256_mldsa44 and rsa3072_falcon512. So an elliptic-curve or RSA key is still in the exchange or signature. The README also says that exclusive hybrids are at a pre-standard or draft stage and that it does not claim standards compliance. Confirm which names your deployment negotiates by listing them with openssl list -kem-algorithms -provider oqsprovider.

Which liboqs version do I need?

The sources list 0.16.0 as the latest stable release on 2026-12-03, dated 2026-07-09, with a pre-release 0.17.0-rc1 dated 2026-12-01. The OQS TLS page lists oqs-provider 0.12.0 as current and aligned with liboqs 0.16.0. Version 0.16.0 made mldsa-native the default for the ML-DSA parameter sets and removed SPHINCS+, so the version you pin changes which algorithms are on by default. The 0.17.0-rc1 notes say OpenSSL 1.1.1 is no longer supported and OpenSSL 3.0 or newer is required by default, and that Classic McEliece is the last version to officially support it. Confirm the exact version and build flags against your own requirements with the project.

Does moving to liboqs cost extra?

The sources do not give a price or fee for liboqs, and the project is open-source and run on a best-effort basis by academic, part-time and voluntary contributors. Its license terms are in the repository, and any cost you face comes from effort rather than purchase: building and pinning the library, configuring OpenSSL 3.0 or newer, restricting algorithms at build time, testing integrations that are documented as prototypes, and handling the support gap since the project offers no commercial support. Ask any vendor that packages liboqs for a quote that covers these items, and confirm the license with your legal team.

Can my team check this without outside help?

Yes, the core checks are available from the documentation and a local build. Use the liboqs CONFIGURE.md to see which OpenSSL and algorithm options are on, and set OQS_MINIMAL_BUILD to limit the algorithms compiled. For the protocol layer, run openssl list -kem-algorithms -provider oqsprovider and openssl list -signature-algorithms -provider oqsprovider to confirm which hybrid names exist, and check that the Groups setting restricts key exchange to what you intend. The oqs-provider USAGE.md notes that oqsprovider needs the OpenSSL default or fips provider activated in openssl.cnf. For an assessment that needs an independent opinion, outside review may still be needed, which DeployOpen can support through security testing.

How DeployOpen helps assess and configure liboqs deployments

DeployOpen helps teams establish which liboqs functions and integrations depend on RSA, Diffie-Hellman or elliptic-curve keys, and which stronger settings are available today. The work is scoped against the builds and integrations your organization actually runs, so the findings reflect your configuration rather than general claims about the library.

How we scope

  • Each engagement starts with a written scope listing the liboqs builds, oqs-provider configurations and TLS applications in your environment.
  • We confirm which OpenSSL versions and providers, including the default or fips provider, sit alongside oqsprovider in each deployment.
  • Scope is fixed and agreed in writing before work begins, and it records which systems are out of scope.

How we build

  • We check the openssl.cnf Groups settings and s_server or s_client -groups options that restrict which KEMs are acceptable on each endpoint.
  • We test whether hybrid names such as X25519MLKEM768 or p256_mlkem512 negotiate correctly, and whether OpenSSL 3.5 or later disables overlapping algorithms.
  • We review the build-time algorithm selection in your liboqs configuration, including OQS_ALGS_ENABLED and any OQS_MINIMAL_BUILD list.

How we hand over

  • You receive a written inventory of public-key dependencies, mapping each connection, login or signature path to its classical or hybrid algorithm.
  • Configuration changes are documented with the exact file, option and version they apply to, so your team can reproduce the results.
  • Findings note where the project states that its integrations are prototypes, so your reviewers can record that status accurately.

How we support

  • Ongoing support and upgrade work are available as a retainer, which covers re-checks after liboqs or oqs-provider releases.
  • We can repeat the dependency review when you move to a new liboqs release, such as 0.17.0-rc1, and report any changed defaults.
  • Retainers can include retesting of the configurations we changed, so evidence stays current for your security and vendor-risk reviews.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.