License
liboqs is licensed under the MIT License; see LICENSE.txt for details.
liboqs includes some third party libraries or modules that are licensed differently; the corresponding subfolder contains the license that applies in that case. In particular:
.CMake/CMakeDependentOption.cmake
: BSD 3-Clause Licensesrc/common/common.c
: includes portions which are Apache License v2.0src/common/crypto/aes/aes_c.c
: public domain or any OSI-approved licensesrc/common/crypto/aes/aes*_ni.c
: public domainsrc/common/crypto/sha2/sha2_c.c
: public domainsrc/common/crypto/sha3/xkcp_low
: CC0 (public domain), exceptbrg_endian.h
andKeccakP-1600-AVX2.s
src/common/crypto/sha3/xkcp_low/.../brg_endian.h
: BSD 3-Clause Licensesrc/common/crypto/sha3/xkcp_low/.../KeccakP-1600-AVX2.s
: BSD-like CRYPTOGAMS licensesrc/common/rand/rand_nist.c
: See filesrc/kem/bike/additional
: Apache License v2.0src/kem/classic_mceliece/pqclean_*
: public domainsrc/kem/kyber/pqcrystals-*
: public domain (CC0) or Apache License v2.0src/kem/kyber/pqclean_*
: public domain (CC0), and public domain (CC0) or Apache License v2.0, and public domain (CC0) or MIT, and MITsrc/kem/ml_kem/pqcrystals-*
: public domain (CC0) or Apache License v2.0src/sig/dilithium/pqcrystals-*
: public domain (CC0) or Apache License v2.0src/sig/dilithium/pqclean_*
: public domain (CC0), and public domain (CC0) or Apache License v2.0, and public domain (CC0) or MIT, and MIT- src/sig/falcon/pqclean_*_aarch64 : Apache License v2.0
src/sig/mayo/*
: Apache License v2.0src/sig/ml_dsa/pqcrystals-*
: public domain (CC0) or Apache License v2.0src/sig/sphincs/pqclean_*
: CC0 (public domain)
MIT License
The MIT license, the text of which is below, applies to liboqs in general. liboqs includes some third party libraries or modules that are licensed differently; the corresponding subfolder contains the license that applies in that case.
Copyright (c) 2016-2024 The Open Quantum Safe project authors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.