CINXE.COM

Getting started | 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 > a, .site-nav > ul.nav-list:first-child > li > ul > li:not(:nth-child(1)) > a, .site-nav > ul.nav-list:first-child > li > ul > 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(5) > ul > li:nth-child(1) > a { font-weight: 600; text-decoration: none; }.site-nav > ul.nav-list:first-child > li:nth-child(5) > button svg, .site-nav > ul.nav-list:first-child > li:nth-child(5) > ul > li:nth-child(1) > button svg { transform: rotate(-90deg); }.site-nav > ul.nav-list:first-child > li.nav-list-item:nth-child(5) > ul.nav-list, .site-nav > ul.nav-list:first-child > li.nav-list-item:nth-child(5) > ul.nav-list > li.nav-list-item:nth-child(1) > 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>Getting started | Open聽Quantum聽Safe</title> <meta name="generator" content="Jekyll v4.3.4" /> <meta property="og:title" content="Getting started" /> <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/getting-started.html" /> <meta property="og:url" content="https://openquantumsafe.org/liboqs/getting-started.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="Getting started" /> <script type="application/ld+json"> {"@context":"https://schema.org","@type":"WebPage","description":"Open-source software for prototyping quantum-resistant cryptography","headline":"Getting started","url":"https://openquantumsafe.org/liboqs/getting-started.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&nbsp;Quantum&nbsp;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&nbsp;Quantum&nbsp;Safe" aria-label="Search Open&nbsp;Quantum&nbsp;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>Getting started</span></li> </ol> </nav> <div id="main-content" class="main-content"> <main> <h1 id="getting-started"> <a href="#getting-started" class="anchor-heading" aria-labelledby="getting-started"><svg viewBox="0 0 16 16" aria-hidden="true"><use xlink:href="#svg-link"></use></svg></a> Getting started </h1> <h3 id="linux-and-mac"> <a href="#linux-and-mac" class="anchor-heading" aria-labelledby="linux-and-mac"><svg viewBox="0 0 16 16" aria-hidden="true"><use xlink:href="#svg-link"></use></svg></a> Linux and Mac </h3> <ol> <li> <p>Install dependencies:</p> <p>On Ubuntu:</p> <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code> sudo apt install astyle cmake gcc ninja-build libssl-dev python3-pytest python3-pytest-xdist unzip xsltproc doxygen graphviz python3-yaml valgrind </code></pre></div> </div> <p>On macOS, using a package manager of your choice (we鈥檝e picked Homebrew):</p> <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code> brew install cmake ninja openssl@3 wget doxygen graphviz astyle valgrind pip3 install pytest pytest-xdist pyyaml </code></pre></div> </div> <p>Note that, if you want liboqs to use OpenSSL for various symmetric crypto algorithms (AES, SHA-2, etc.) then you must have OpenSSL installed (version 3.x recommended; EOL version 1.1.1 also still possible).</p> </li> <li> <p>Get the source:</p> <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code> git clone -b main https://github.com/open-quantum-safe/liboqs.git cd liboqs </code></pre></div> </div> <p>and build:</p> <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code> mkdir build &amp;&amp; cd build cmake -GNinja .. ninja </code></pre></div> </div> </li> </ol> <p>Various <code class="language-plaintext highlighter-rouge">cmake</code> build options to customize the resultant artifacts are available and are <a href="CONFIGURE.md#options-for-configuring-liboqs-builds">documented in CONFIGURE.md</a>. All supported options are also listed in the <code class="language-plaintext highlighter-rouge">.CMake/alg-support.cmake</code> file, and can be viewed by running <code class="language-plaintext highlighter-rouge">cmake -LAH -N ..</code> in the <code class="language-plaintext highlighter-rouge">build</code> directory.</p> <p>The following instructions assume we are in <code class="language-plaintext highlighter-rouge">build</code>.</p> <ol> <li> <p>By default the main build result is <code class="language-plaintext highlighter-rouge">lib/liboqs.a</code>, a static library. If you want to build a shared/dynamic library, append <a href="CONFIGURE.md#bUILD_SHARED_LIBS"><code class="language-plaintext highlighter-rouge">-DBUILD_SHARED_LIBS=ON</code></a> to the <code class="language-plaintext highlighter-rouge">cmake -GNinja ..</code> command above and the result will be <code class="language-plaintext highlighter-rouge">lib/liboqs.so|dylib|dll</code>. The public headers are located in the <code class="language-plaintext highlighter-rouge">include</code> directory. There are also a variety of programs built under the <code class="language-plaintext highlighter-rouge">tests</code> directory:</p> <ul> <li><code class="language-plaintext highlighter-rouge">test_kem</code>: Simple test harness for key encapsulation mechanisms</li> <li><code class="language-plaintext highlighter-rouge">test_sig</code>: Simple test harness for signature schemes</li> <li><code class="language-plaintext highlighter-rouge">test_sig_stfl</code>: Simple test harness for stateful signature schemes</li> <li><code class="language-plaintext highlighter-rouge">test_kem_mem</code>: Simple test harness for checking memory consumption of key encapsulation mechanisms</li> <li><code class="language-plaintext highlighter-rouge">test_sig_mem</code>: Simple test harness for checking memory consumption of signature schemes</li> <li><code class="language-plaintext highlighter-rouge">kat_kem</code>: Program that generates known answer test (KAT) values for key encapsulation mechanisms using the same procedure as the NIST submission requirements, for checking against submitted KAT values using <code class="language-plaintext highlighter-rouge">tests/test_kat.py</code></li> <li><code class="language-plaintext highlighter-rouge">kat_sig</code>: Program that generates known answer test (KAT) values for signature schemes using the same procedure as the NIST submission requirements, for checking against submitted KAT values using <code class="language-plaintext highlighter-rouge">tests/test_kat.py</code></li> <li><code class="language-plaintext highlighter-rouge">kat_sig_stfl</code>: Program for checking results against submitted KAT values using <code class="language-plaintext highlighter-rouge">tests/test_kat.py</code></li> <li><code class="language-plaintext highlighter-rouge">speed_kem</code>: Benchmarking program for key encapsulation mechanisms; see <code class="language-plaintext highlighter-rouge">./speed_kem --help</code> for usage instructions</li> <li><code class="language-plaintext highlighter-rouge">speed_sig</code>: Benchmarking program for signature mechanisms; see <code class="language-plaintext highlighter-rouge">./speed_sig --help</code> for usage instructions</li> <li><code class="language-plaintext highlighter-rouge">example_kem</code>: Minimal runnable example showing the usage of the KEM API</li> <li><code class="language-plaintext highlighter-rouge">example_sig</code>: Minimal runnable example showing the usage of the signature API</li> <li><code class="language-plaintext highlighter-rouge">example_sig_stfl</code>: Minimal runnable example showing the usage of the stateful signature API</li> <li><code class="language-plaintext highlighter-rouge">test_aes</code>, <code class="language-plaintext highlighter-rouge">test_sha3</code>: Simple test harnesses for crypto sub-components</li> <li><code class="language-plaintext highlighter-rouge">test_portability</code>: Simple test harnesses for checking cross-CPU code portability; requires presence of <code class="language-plaintext highlighter-rouge">qemu</code>; proper operation validated only on Ubuntu</li> </ul> <p>The complete test suite can be run using</p> <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code> ninja run_tests </code></pre></div> </div> </li> <li> <p>To generate HTML documentation of the API, run:</p> <div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code> ninja gen_docs </code></pre></div> </div> <p>Then open <code class="language-plaintext highlighter-rouge">docs/html/index.html</code> in your web browser.</p> </li> <li> <p><code class="language-plaintext highlighter-rouge">ninja install</code> can be run to install the built library and <code class="language-plaintext highlighter-rouge">include</code> files to a location of choice, which can be specified by passing the <code class="language-plaintext highlighter-rouge">-DCMAKE_INSTALL_PREFIX=&lt;dir&gt;</code> option to <code class="language-plaintext highlighter-rouge">cmake</code> at configure time. Alternatively, <code class="language-plaintext highlighter-rouge">ninja package</code> can be run to create an install package.</p> </li> <li> <p><code class="language-plaintext highlighter-rouge">ninja uninstall</code> can be run to remove all installation files.</p> </li> </ol> <h3 id="windows"> <a href="#windows" class="anchor-heading" aria-labelledby="windows"><svg viewBox="0 0 16 16" aria-hidden="true"><use xlink:href="#svg-link"></use></svg></a> Windows </h3> <p>Binaries can be generated using Visual Studio 2019 with the <a href="https://marketplace.visualstudio.com/items?itemName=ms-vscode.cmake-tools">CMake Tools</a> extension installed. The same options as explained above for Linux/macOS can be used and build artifacts are generated in the specified <code class="language-plaintext highlighter-rouge">build</code> folders.</p> <p>If you want to create Visual Studio build files, e.g., if not using <code class="language-plaintext highlighter-rouge">ninja</code>, be sure to <em>not</em> pass the parameter <code class="language-plaintext highlighter-rouge">-GNinja</code> to the <code class="language-plaintext highlighter-rouge">cmake</code> command as exemplified above. You can then build all components using <code class="language-plaintext highlighter-rouge">msbuild</code>, e.g. as follows: <code class="language-plaintext highlighter-rouge">msbuild ALL_BUILD.vcxproj</code> and install all artifacts e.g. using this command <code class="language-plaintext highlighter-rouge">msbuild INSTALL.vcxproj</code>.</p> <h3 id="cross-compilation"> <a href="#cross-compilation" class="anchor-heading" aria-labelledby="cross-compilation"><svg viewBox="0 0 16 16" aria-hidden="true"><use xlink:href="#svg-link"></use></svg></a> Cross compilation </h3> <p>You can cross compile liboqs for various platforms. Detailed information is available <a href="https://github.com/open-quantum-safe/liboqs/wiki/Platform-specific-notes-for-building-liboqs#cross-compiling">in the Wiki</a>.</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>

Pages: 1 2 3 4 5 6 7 8 9 10