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 License
src/common/common.c: includes portions which are Apache License v2.0
src/common/crypto/aes/aes_c.c: public domain or any OSI-approved license
src/common/crypto/aes/aes*_ni.c: public domain
src/common/crypto/sha2/sha2_c.c: public domain
src/common/crypto/sha3/xkcp_low: CC0 (public domain), except
src/common/crypto/sha3/xkcp_low/.../brg_endian.h: BSD 3-Clause License
src/common/crypto/sha3/xkcp_low/.../KeccakP-1600-AVX2.s: BSD-like CRYPTOGAMS license
src/common/rand/rand_nist.c: See file
src/kem/bike/additional: Apache License v2.0
src/kem/classic_mceliece/pqclean_*: public domain
src/kem/kyber/pqclean_*: public domain
src/kem/ntru/pqclean_*: public domain
src/kem/saber/pqclean_*: public domain
src/sig/dilithium/pqclean_*: public domain
src/sig/rainbow/pqclean_*: CC0 (public domain)
src/sig/sphincs/pqclean_*: CC0 (public domain)
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-2021 Open Quantum Safe project
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.