CINXE.COM
License | Open Quantum Safe
<!DOCTYPE html> <html lang="en-US"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <link rel="stylesheet" href="/assets/css/just-the-docs-default.css"> <link rel="stylesheet" href="/assets/css/just-the-docs-head-nav.css" id="jtd-head-nav-stylesheet"> <style id="jtd-nav-activation"> .site-nav > ul.nav-list:first-child > li:not(:nth-child(2)) > a, .site-nav > ul.nav-list:first-child > li > ul > li a { background-image: none; } .site-nav > ul.nav-list:not(:first-child) a, .site-nav li.external a { background-image: none; } .site-nav > ul.nav-list:first-child > li:nth-child(2) > a { font-weight: 600; text-decoration: none; }.site-nav > ul.nav-list:first-child > li:nth-child(2) > button svg { transform: rotate(-90deg); }.site-nav > ul.nav-list:first-child > li.nav-list-item:nth-child(2) > ul.nav-list { display: block; } </style> <script src="/assets/js/vendor/lunr.min.js"></script> <script src="/assets/js/just-the-docs.js"></script> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Begin Jekyll SEO tag v2.8.0 --> <title>License | Open Quantum Safe</title> <meta name="generator" content="Jekyll v4.3.4" /> <meta property="og:title" content="License" /> <meta property="og:locale" content="en_US" /> <meta name="description" content="Open-source software for prototyping quantum-resistant cryptography" /> <meta property="og:description" content="Open-source software for prototyping quantum-resistant cryptography" /> <link rel="canonical" href="https://openquantumsafe.org/liboqs/license.html" /> <meta property="og:url" content="https://openquantumsafe.org/liboqs/license.html" /> <meta property="og:site_name" content="Open Quantum Safe" /> <meta property="og:type" content="website" /> <meta name="twitter:card" content="summary" /> <meta property="twitter:title" content="License" /> <script type="application/ld+json"> {"@context":"https://schema.org","@type":"WebPage","description":"Open-source software for prototyping quantum-resistant cryptography","headline":"License","url":"https://openquantumsafe.org/liboqs/license.html"}</script> <!-- End Jekyll SEO tag --> <link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css"> <link href='https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic' rel='stylesheet' type='text/css'> <link rel="icon" type="image/png" href="https://openquantumsafe.org/img/logos/oqs-square-32.png" sizes="32x32" /> <link rel="icon" type="image/png" href="https://openquantumsafe.org/img/logos/oqs-square-152.png" sizes="152x152" /> <link rel="icon" type="image/png" href="https://openquantumsafe.org/img/logos/oqs-square-152.png" sizes="160x160" /> <link rel="icon" type="image/png" href="https://openquantumsafe.org/img/logos/oqs-square-192.png" sizes="192x192" /> <link rel="icon" type="image/jpeg" href="https://openquantumsafe.org/img/logos/oqs-square-768.jpg" sizes="768x768" /> <link rel="apple-touch-icon" href="https://openquantumsafe.org/img/logos/oqs-square-152.png" /> <meta property="og:image" content="https://openquantumsafe.org/img/logos/oqs-square-768.jpg" /> <meta property="og:image:type" content="image/jpeg" /> <meta property="og:image:width" content="768" /> <meta property="og:image:height" content="768" /> <style> * { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; } </style> </head> <body> <a class="skip-to-main" href="#main-content">Skip to main content</a> <svg xmlns="http://www.w3.org/2000/svg" class="d-none"> <symbol id="svg-link" viewBox="0 0 24 24"> <title>Link</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-link"> <path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path> </svg> </symbol> <symbol id="svg-menu" viewBox="0 0 24 24"> <title>Menu</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-menu"> <line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line> </svg> </symbol> <symbol id="svg-arrow-right" viewBox="0 0 24 24"> <title>Expand</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"> <polyline points="9 18 15 12 9 6"></polyline> </svg> </symbol> <!-- Feather. MIT License: https://github.com/feathericons/feather/blob/master/LICENSE --> <symbol id="svg-external-link" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-external-link"> <title id="svg-external-link-title">(external link)</title> <path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" y1="14" x2="21" y2="3"></line> </symbol> <symbol id="svg-doc" viewBox="0 0 24 24"> <title>Document</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file"> <path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path><polyline points="13 2 13 9 20 9"></polyline> </svg> </symbol> <symbol id="svg-search" viewBox="0 0 24 24"> <title>Search</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search"> <circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line> </svg> </symbol> <!-- Bootstrap Icons. MIT License: https://github.com/twbs/icons/blob/main/LICENSE.md --> <symbol id="svg-copy" viewBox="0 0 16 16"> <title>Copy</title> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-clipboard" viewBox="0 0 16 16"> <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/> <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z"/> </svg> </symbol> <symbol id="svg-copied" viewBox="0 0 16 16"> <title>Copied</title> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-clipboard-check-fill" viewBox="0 0 16 16"> <path d="M6.5 0A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3Zm3 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3Z"/> <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1A2.5 2.5 0 0 1 9.5 5h-3A2.5 2.5 0 0 1 4 2.5v-1Zm6.854 7.354-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 0 1 .708-.708L7.5 10.793l2.646-2.647a.5.5 0 0 1 .708.708Z"/> </svg> </symbol> </svg> <div class="side-bar"> <div class="site-header" role="banner"> <a href="/" class="site-title lh-tight"><span style="font-family: 'Montserrat'; text-transform: uppercase; font-weight: 700; font-size: 75%; text-align: center;">Open Quantum Safe</span> </a> <button id="menu-button" class="site-button btn-reset" aria-label="Toggle menu" aria-pressed="false"> <svg viewBox="0 0 24 24" class="icon" aria-hidden="true"><use xlink:href="#svg-menu"></use></svg> </button> </div> <nav aria-label="Main" id="site-nav" class="site-nav"> <ul class="nav-list"><li class="nav-list-item"><a href="/" class="nav-list-link">Home</a></li><li class="nav-list-item"><a href="/post-quantum-crypto.html" class="nav-list-link">Post-quantum cryptography</a></li><li class="nav-list-item"><a href="/faq.html" class="nav-list-link">FAQ</a></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in About our project category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/about/" class="nav-list-link">About our project</a><ul class="nav-list"><li class="nav-list-item"><a href="/news/" class="nav-list-link">News</a></li><li class="nav-list-item"><a href="/about/sponsors.html" class="nav-list-link">Sponsors</a></li></ul></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in liboqs category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/liboqs/" class="nav-list-link">liboqs</a><ul class="nav-list"><li class="nav-list-item"><a href="/liboqs/getting-started.html" class="nav-list-link">Getting started</a></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Algorithms category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/liboqs/algorithms/" class="nav-list-link">Algorithms</a><ul class="nav-list"><li class="nav-list-item"><a href="/liboqs/algorithms/kem/bike.html" class="nav-list-link">BIKE</a></li><li class="nav-list-item"><a href="/liboqs/algorithms/kem/classic_mceliece.html" class="nav-list-link">Classic McEliece</a></li><li class="nav-list-item"><a href="/liboqs/algorithms/sig/dilithium.html" class="nav-list-link">Dilithium</a></li><li class="nav-list-item"><a href="/liboqs/algorithms/sig/falcon.html" class="nav-list-link">Falcon</a></li><li class="nav-list-item"><a href="/liboqs/algorithms/kem/frodokem.html" class="nav-list-link">FrodoKEM</a></li><li class="nav-list-item"><a href="/liboqs/algorithms/kem/hqc.html" class="nav-list-link">HQC</a></li><li class="nav-list-item"><a href="/liboqs/algorithms/kem/kyber.html" class="nav-list-link">Kyber</a></li><li class="nav-list-item"><a href="/liboqs/algorithms/sig_stfl/lms.html" class="nav-list-link">LMS</a></li><li class="nav-list-item"><a href="/liboqs/algorithms/sig/mayo.html" class="nav-list-link">MAYO</a></li><li class="nav-list-item"><a href="/liboqs/algorithms/sig/ml-dsa.html" class="nav-list-link">ML-DSA</a></li><li class="nav-list-item"><a href="/liboqs/algorithms/kem/ml-kem.html" class="nav-list-link">ML-KEM</a></li><li class="nav-list-item"><a href="/liboqs/algorithms/kem/ntruprime.html" class="nav-list-link">NTRU-Prime</a></li><li class="nav-list-item"><a href="/liboqs/algorithms/sig/sphincs.html" class="nav-list-link">SPHINCS+</a></li><li class="nav-list-item"><a href="/liboqs/algorithms/sig_stfl/xmss.html" class="nav-list-link">XMSS</a></li></ul></li><li class="nav-list-item"><a href="/liboqs/security.html" class="nav-list-link">Security policy</a></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in C example code category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/liboqs/examples/" class="nav-list-link">C example code</a><ul class="nav-list"><li class="nav-list-item"><a href="/liboqs/examples/kem.html" class="nav-list-link">Encapsulation and decapsulation</a></li><li class="nav-list-item"><a href="/liboqs/examples/sig.html" class="nav-list-link">Signing and verification</a></li></ul></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in C API documentation category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/liboqs/api/" class="nav-list-link">C API documentation</a><ul class="nav-list"></ul></li><li class="nav-list-item"><a href="/liboqs/wrappers.html" class="nav-list-link">Language wrappers</a></li><li class="nav-list-item"><a href="/liboqs/license.html" class="nav-list-link">License</a></li></ul></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Applications and protocols category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/applications/" class="nav-list-link">Applications and protocols</a><ul class="nav-list"><li class="nav-list-item"><a href="/applications/tls.html" class="nav-list-link">TLS</a></li><li class="nav-list-item"><a href="/applications/ssh.html" class="nav-list-link">SSH</a></li><li class="nav-list-item"><a href="/applications/x509.html" class="nav-list-link">X.509</a></li><li class="nav-list-item"><a href="/applications/smime.html" class="nav-list-link">CMS and S/MIME</a></li><li class="nav-list-item"><a href="/applications/external.html" class="nav-list-link">External users of OQS</a></li></ul></li><li class="nav-list-item"><a href="/research/" class="nav-list-link">Research</a></li><li class="nav-list-item"><a href="/benchmarking/" class="nav-list-link">Benchmarking</a></li><li class="nav-list-item"><a href="/team/" class="nav-list-link">Team</a></li></ul> </nav> <footer class="site-footer"> </footer> </div> <div class="main" id="top"> <div id="main-header" class="main-header"> <div class="search" role="search"> <div class="search-input-wrap"> <input type="text" id="search-input" class="search-input" tabindex="0" placeholder="Search Open Quantum Safe" aria-label="Search Open Quantum Safe" autocomplete="off"> <label for="search-input" class="search-label"><svg viewBox="0 0 24 24" class="search-icon"><use xlink:href="#svg-search"></use></svg></label> </div> <div id="search-results" class="search-results"></div> </div> </div> <div class="main-content-wrap"> <nav aria-label="Breadcrumb" class="breadcrumb-nav"> <ol class="breadcrumb-nav-list"> <li class="breadcrumb-nav-list-item"><a href="/liboqs/">liboqs</a></li> <li class="breadcrumb-nav-list-item"><span>License</span></li> </ol> </nav> <div id="main-content" class="main-content"> <main> <h1 id="license"> <a href="#license" class="anchor-heading" aria-labelledby="license"><svg viewBox="0 0 16 16" aria-hidden="true"><use xlink:href="#svg-link"></use></svg></a> License </h1> <p>liboqs is licensed under the MIT License; see <a href="https://github.com/open-quantum-safe/liboqs/blob/main/LICENSE.txt">LICENSE.txt</a> for details.</p> <p>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:</p> <ul> <li><code class="language-plaintext highlighter-rouge">.CMake/CMakeDependentOption.cmake</code>: BSD 3-Clause License</li> <li><code class="language-plaintext highlighter-rouge">src/common/common.c</code>: includes portions which are Apache License v2.0</li> <li><code class="language-plaintext highlighter-rouge">src/common/crypto/aes/aes_c.c</code>: public domain or any OSI-approved license</li> <li><code class="language-plaintext highlighter-rouge">src/common/crypto/aes/aes*_ni.c</code>: public domain</li> <li><code class="language-plaintext highlighter-rouge">src/common/crypto/sha2/sha2_c.c</code>: public domain</li> <li><code class="language-plaintext highlighter-rouge">src/common/crypto/sha3/xkcp_low</code> : CC0 (public domain), except <code class="language-plaintext highlighter-rouge">brg_endian.h</code> and <code class="language-plaintext highlighter-rouge">KeccakP-1600-AVX2.s</code></li> <li><code class="language-plaintext highlighter-rouge">src/common/crypto/sha3/xkcp_low/.../brg_endian.h</code> : BSD 3-Clause License</li> <li><code class="language-plaintext highlighter-rouge">src/common/crypto/sha3/xkcp_low/.../KeccakP-1600-AVX2.s</code> : BSD-like <a href="http://www.openssl.org/~appro/cryptogams/">CRYPTOGAMS license</a></li> <li><code class="language-plaintext highlighter-rouge">src/common/rand/rand_nist.c</code>: See file</li> <li><code class="language-plaintext highlighter-rouge">src/kem/bike/additional</code>: Apache License v2.0</li> <li><code class="language-plaintext highlighter-rouge">src/kem/classic_mceliece/pqclean_*</code>: public domain</li> <li><code class="language-plaintext highlighter-rouge">src/kem/kyber/pqcrystals-*</code>: public domain (CC0) or Apache License v2.0</li> <li><code class="language-plaintext highlighter-rouge">src/kem/kyber/pqclean_*</code>: public domain (CC0), and public domain (CC0) or Apache License v2.0, and public domain (CC0) or MIT, and MIT</li> <li><code class="language-plaintext highlighter-rouge">src/kem/kyber/libjade_*</code> public domain (CC0) or Apache License v2.</li> <li><code class="language-plaintext highlighter-rouge">src/kem/ml_kem/pqcrystals-*</code>: public domain (CC0) or Apache License v2.0</li> <li><code class="language-plaintext highlighter-rouge">src/sig/dilithium/pqcrystals-*</code>: public domain (CC0) or Apache License v2.0</li> <li><code class="language-plaintext highlighter-rouge">src/sig/dilithium/pqclean_*</code>: public domain (CC0), and public domain (CC0) or Apache License v2.0, and public domain (CC0) or MIT, and MIT</li> <li>src/sig/falcon/pqclean_*_aarch64 : Apache License v2.0</li> <li><code class="language-plaintext highlighter-rouge">src/sig/mayo/*</code>: Apache License v2.0</li> <li><code class="language-plaintext highlighter-rouge">src/sig/ml_dsa/pqcrystals-*</code>: public domain (CC0) or Apache License v2.0</li> <li><code class="language-plaintext highlighter-rouge">src/sig/sphincs/pqclean_*</code>: CC0 (public domain)</li> </ul> <h2 id="mit-license"> <a href="#mit-license" class="anchor-heading" aria-labelledby="mit-license"><svg viewBox="0 0 16 16" aria-hidden="true"><use xlink:href="#svg-link"></use></svg></a> MIT License </h2> <p>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.</p> <p>Copyright (c) 2016-2024 The Open Quantum Safe project authors</p> <p>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:</p> <p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p> <p>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.</p> </main> <hr> <footer> <p class="text-small text-grey-dk-100 mb-0">Copyright © Open Quantum Safe a Series of LF Projects, LLC.<br>For website terms of use, trademark policy, and other project policies, please see <a href='https://lfprojects.org'>https://lfprojects.org</a>.<br /> This site uses <a href='https://pmarsceill.github.io/just-the-docs/' target='_blank'>Just the Docs</a>, a documentation theme for Jekyll. Background image by <a href='https://commons.wikimedia.org/wiki/File:05_camera_painting_motion_blur_experimental_digital_photography_by_Rick_Doble.jpg'>Rick Doble</a>.</p> </footer> </div> </div> <div class="search-overlay"></div> </div> </body> </html>