open-quantum-safe/liboqs
FreeC library for prototyping and experimenting with quantum-resistant cryptography
About open-quantum-safe/liboqs
liboqs is an open source C library providing a collection of implementations of quantum-safe key encapsulation mechanisms (KEMs) and digital signature algorithms. It offers a common API for these algorithms, along with test harnesses and benchmarking routines. Developed as part of the Open Quantum Safe (OQS) project, liboqs is designed to facilitate prototyping and experimentation with post-quantum cryptography. It supports a wide range of algorithms, including those standardized by NIST like ML-KEM, ML-DSA, and SLH-DSA, as well as experimental ones. The library also provides prototype integrations into protocols such as TLS, X.509, and S/MIME via an OpenSSL 3 Provider.
Key Features
Pros & Cons
- Open source with permissive license (MIT)
- Supports a broad range of algorithms, including NIST-standardized and experimental ones
- Provides a unified API for ease of use
- Active development and community support through Open Quantum Safe project
- Part of the Linux Foundation ecosystem, ensuring long-term governance
- Experimental algorithms may change or become unsupported
- Some algorithms have limited active maintenance (e.g., Classic McEliece is Tier 3 Community)
- Platform limitations may apply; not all algorithms are constant-time or formally verified
- Integration examples are prototypes, not production-ready