-r--r--r-- 12660 lib25519-20260614/doc/html/download.html raw
<html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <style type="text/css"> html{overflow-y:scroll;background-color:#091552} body{font-family:"Noto Sans","Droid Sans","DejaVu Sans","Arial",sans-serif;line-height:1.5} tt,code{background-color:#f0f0f0;font-family:Consolas,Monaco,"Noto Sans Mono","DejaVu Sans Mono",monospace,sans-serif;font-size:1em;} pre{margin-left:3em} p,ul,ol,blockquote,pre{font-size:1.0em;line-height:1.6} li p{font-size:1.0em} blockquote p{font-size:1.0em} h1{font-size:1.5em} h2{font-size:1.3em} h3{font-size:1.0em} h1 a{text-decoration:none} table{border-collapse:collapse} th,td{border:1px solid black} table a{text-decoration:none} table tr{font-size:1.0em;line-height:1.6em} table tr{font-size:1.0em;line-height:1.5} tbody tr:nth-child(12n+1){background-color:#f0ffff} tbody tr:nth-child(12n+2){background-color:#f0ffff} tbody tr:nth-child(12n+3){background-color:#f0ffff} tbody tr:nth-child(12n+4){background-color:#f0ffff} tbody tr:nth-child(12n+5){background-color:#f0ffff} tbody tr:nth-child(12n+6){background-color:#f0ffff} tbody tr:nth-child(12n+7){background-color:#fffff0} tbody tr:nth-child(12n+8){background-color:#fffff0} tbody tr:nth-child(12n+9){background-color:#fffff0} tbody tr:nth-child(12n+10){background-color:#fffff0} tbody tr:nth-child(12n+11){background-color:#fffff0} tbody tr:nth-child(12n+12){background-color:#fffff0} #headline{display:block;margin:0;padding:0;color:#ffffff;background-color:#091552} #headline .text{font-weight:bold;font-size:1.0em} #headline input{display:none} #nav ul{margin:0;padding:0} #nav li{list-style-type:none;margin:0;padding:0} .navtop{padding-bottom:0.5em;font-weight:bold;font-size:1.0em} .navtop{background-color:#091552;color:#ffffff} #nav .here{background-color:#091552;color:#ffffff} #nav .away{background-color:#091552;color:#ffffff} #nav .away a{text-decoration:none;display:block;color:#ffffff} #nav .away a:hover,.away a:active{text-decoration:underline} #hidemenu{visibility:hidden;display:none;overflow:hidden;position:fixed;top:0;left:0;height:100%;width:100%} .main{padding:5px} .main{background-color:#ffffff} .pagetitle{font-size:1.4em;font-weight:bold} @media only screen and (min-width:512px) { .navtop{padding-top:5px} #headline{top:0;margin:0;width:110px;height:100%;position:fixed;overflow:auto} #headline .noselect{display:none} #headline #nav{visibility:visible;display:block;width:auto;height:auto} .main{margin-left:120px} #headline #hidemenu{visibility:hidden} } @media not screen and (min-width:512px) { #headline .noselect{-webkit-user-select:none;-ms-user-select:none;user-select:none;} #headline #nav #navbot{visibility:hidden;position:fixed;top:0;left:-70%;z-index:2;transition:0.2s;margin:0;padding:0} #headline input:checked ~ #nav #navbot{height:100%;position:fixed;top:0;left:0;visibility:visible;display:block;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;vertical-align:center;font-size:1.0em;width:70%;overflow:auto} #headline input:checked ~ #hidemenu{visibility:visible;display:block;background:black;opacity:0.3;z-index:1} } .openssl{color:#900009} .s2n{color:#004040} .lib25519{color:#091552} </style> <title> lib25519: Download</title> </head> <body> <label id=headline> <input type=checkbox /> <nav id=nav> <div class=navtop> <span class=noselect>≡</span> lib25519</div> <ul id=navbot> <li class=away><a href=index.html>Intro</a> </li><li class=here>Download </li><li class=away><a href=install.html>Install</a> </li><li class=away><a href=test.html>Test</a> </li><li class=away><a href=x25519-cli.html>X CLI</a> </li><li class=away><a href=ed25519-cli.html>Ed CLI</a> </li><li class=away><a href=api.html>API</a> </li><li class=away><a href=security.html>Security</a> </li><li class=away><a href=speed.html>Speed</a> </li><li class=away><a href=internals.html>Internals</a> </li><li class=away><a href=people.html>People</a> </li><li class=away><a href=license.html>License</a> </li></ul></nav> <div id=hidemenu></div> </label> <div class=main> <div class=pagetitle>lib25519: Download</div> <p>To download and unpack the latest version of lib25519:</p> <pre><code>wget -m https://lib25519.cr.yp.to/lib25519-latest-version.txt version=$(cat lib25519.cr.yp.to/lib25519-latest-version.txt) wget -m https://lib25519.cr.yp.to/lib25519-$version.tar.gz tar -xzf lib25519.cr.yp.to/lib25519-$version.tar.gz cd lib25519-$version </code></pre> <p>Then <a href="install.html">install</a>.</p> <h3 id="changelog">Archives and changelog (reverse chronological)</h3> <p><a href="lib25519-20260614.tar.gz"><code>lib25519-20260614.tar.gz</code></a> <a href="lib25519-20260614.html">browse</a></p> <p>Add many new and improved <code>arm64</code> implementations.</p> <p>Support <code>bignum_inv_p25519</code> in <code>use-s2n-bignum</code>.</p> <p>Remove use of <code>rodata</code> for the <code>nG</code> tables in <code>use-s2n-bignum</code>. Teach <code>checkinsns</code> how to skip <code>nG</code> tables at the end of a code section.</p> <p>Add <code>--prioritizeverified</code> option.</p> <p>Upgrade to <code>cryptoint 20250414</code>. Make more use of <code>cryptoint</code>, as in SUPERCOP.</p> <p>Replace <code>shrq %rcx,%rbx</code> with <code>shrq %cl,%rbx</code> for portability to more assemblers.</p> <p>Support Python 3.14 in <code>fulltest</code>, copying djbsort patch supplied by Georg Sauthoff.</p> <p>Copy <code>checkinsns</code> improvements, <code>checknamespace</code> improvements, and <code>hostsanitize</code> improvements from libmceliece.</p> <p>Add initial support for <code>$CROSS</code> and <code>$DESTDIR</code>.</p> <p>Add initial tweaks for Fil-C support. (But Fil-C is starting to add support for inline assembly so some of these tweaks can disappear later.)</p> <p>Include auto-generator for <code>compilers/*</code>.</p> <p>Speed comparison: Bump to current versions of OpenSSL and s2n-bignum. Add a few more microarchitectures. Pin benchmarks to core 0 to avoid questions about big-little CPUs.</p> <p>Change HTML style, in particular for better usability on phones.</p> <p><a href="lib25519-20241004.tar.gz"><code>lib25519-20241004.tar.gz</code></a> <a href="lib25519-20241004.html">browse</a></p> <p>Announce latest version on front page.</p> <p>Upgrade to <code>cryptoint 20241003</code>.</p> <p>Use the <code>cryptoint</code> big-endian load/store functions in various SHA-512 functions. In particular, this ports <code>wflip</code> to big-endian CPUs; thanks to Jan Mojzis for pointing out the portability issue.</p> <p>Include <code>crypto_declassify.h</code> for non-<code>valgrind</code> builds, and include <code>crypto_asm_rodata.h</code> for default builds. Thanks to Jan Mojzis.</p> <p>Align constants in <code>crypto_nP/montgomery25519/amd64-avx512-8x1-ns10l-maax/shared-consts.c</code>.</p> <p><a href="lib25519-20240928.tar.gz"><code>lib25519-20240928.tar.gz</code></a> <a href="lib25519-20240928.html">browse</a></p> <p>Add <code>mGnP/ed25519/arm64-maa4-{int,red}mul</code>.</p> <p>Add <code>multiscalar/ed25519/amd64-{maa4,maax,mxaa}-opt</code>, <code>multiscalar/ed25519/amd64-{maa4,maax,mxaa}-p3-opt</code>, <code>multiscalar/ed25519/arm64-maa4-{int,red}mul</code>, <code>multiscalar/ed25519/arm64-maa4-{int,red}mul-p3</code>.</p> <p>Use <code>nsquare</code> more in <code>fe25519_pow2523.c</code>.</p> <p>Replace <code>fe25519_cmov.c</code> with <code>fe25519_cmov.S</code>.</p> <p>Speed up <code>double_scalarmult</code>, <code>arm64-maa4-{int,red}mul/mladder.S</code>, <code>arm64-maa4-{int,red}mul/fe25519_nsquare.S</code>, <code>arm64-maa4-{int,red}mul/ge25519_base.S</code>.</p> <p>Switch speed measurements from medians to interquartile means.</p> <p>Upgrade from <code>inttypes</code> to <code>cryptoint 20240806</code>, and use <code>cryptoint</code> more systematically.</p> <p>Support <code>valgrind</code> in <code>lib25519-test</code>, with help from <code>configure</code>.</p> <p>Split <code>command/lib25519-test.c</code> into multiple <code>.c</code> files.</p> <p>Support finer-grained command-line splits in <code>lib25519-test</code>. Add <code>lib25519-fulltest</code>. Document <code>lib25519-fulltest</code> as being required for support.</p> <p>Move some entries not supported by <code>valgrind</code> from <code>compilers</code> to <code>skipcompilers</code>.</p> <p>Rename <code>--no</code> as <code>--no-</code>.</p> <p>Rename <code>ALIGN</code> as <code>CRYPTO_ALIGN</code>. Systematically use <code>CRYPTO_ALIGN</code>.</p> <p>Use <code>hidden</code> visibility for <code>crypto_*</code> symbols. Use <code>ASM_HIDDEN</code> in more <code>.S</code> files.</p> <p>Use <code>.note.GNU-stack</code> more.</p> <p>Handle <code>checkinsns</code> etc. on shared directories.</p> <p>Move <code>cat result-impl</code> to <code>default</code> for better visibility.</p> <p>Recognize <code>sun4v</code> as <code>sparc64</code>.</p> <p>For <code>donna_c64</code>: Change <code>uint128_t</code> to <code>my_uint128_t</code>; switch from mode <code>TI</code> to <code>unsigned __int128</code>; import load/store fixes from upstream; compile only for 64-bit architectures.</p> <p>Handle <code>implarchreq</code> better in <code>configure</code>.</p> <p>Make <code>dispatch/ifunc.do</code> work with <code>configure --noclean</code>.</p> <p>Add <code>note.GNU-stack</code> to assembly.</p> <p>Sort directory order in <code>scripts-build/ofiles</code>. Thanks to Jan Mojzis.</p> <p>For <code>use-s2n-bignum</code>, insist locally on precomputed SHA-256 checksums.</p> <p><a href="lib25519-20240321.tar.gz"><code>lib25519-20240321.tar.gz</code></a> <a href="lib25519-20240321.html">browse</a></p> <p>Add <code>./use-s2n-bignum</code> compile-time option, along with lib25519+s2n benchmarks and separate s2n-bignum benchmarks.</p> <p>Speed up <code>amd64-{maa4,maax,mxaa}</code> for <code>nP</code>, <code>nG</code>, <code>mGnP</code>. Add <code>amd64-avx512-8x1-ns10l-maax</code> for <code>nP</code>.</p> <p>Add initial code for 64-bit ARM.</p> <p>MacOS X port: <code>dylib</code>; deal with <code>s</code> and <code>S</code> in <code>checknamespace</code>; use <code>-flat_namespace</code> so <code>lib25519-test</code> can substitute <code>randombytes</code>; add <code>crypto_asm_rodata.h</code> abstraction; expand <code>#define</code> for assembly to eliminate semicolons.</p> <p>Add benchmarks for more platforms.</p> <p>Support empty compiler lists.</p> <p>Improve selection for Zen 2, Zen 3, and Golden Cove.</p> <p>Add background colors to speed table.</p> <p>Improve HTML formatting for code.</p> <p>Add NGI0 information.</p> <p><a href="lib25519-20230630.tar.gz"><code>lib25519-20230630.tar.gz</code></a> <a href="lib25519-20230630.html">browse</a></p> <p>Add <code>powbatch</code>, <code>nPbatch</code>, and <code>multiscalar</code> APIs with various implementations for basic amd64, BMI, ADX, AVX2, and AVX-512, plus portable implementations.</p> <p>Include benchmarks on more microarchitectures. Add auto-generated table in documentation summarizing <a href="speed.html">speeds</a>, with OpenSSL speeds as a baseline for comparison.</p> <p>For compatibility with musl etc., support <code>constructor</code> as an alternative to <code>ifunc</code> for dispatch. Select <code>constructor</code> automatically if an <code>ifunc</code> compile-time test fails, or if <code>--notryifunc</code> is passed to <code>./configure</code>.</p> <p>Add command-line interface for shell scripts.</p> <p>Rely on separate <a href="https://cpucycles.cr.yp.to">libcpucycles</a> to automatically use RDPMC etc., and separate <a href="https://randombytes.cr.yp.to">librandombytes</a> to automatically use <code>getrandom</code> etc.</p> <p>Reorganize documentation into <code>doc/*.md</code> directory, with auto-generation of HTML and manual pages.</p> <p>Inside auto-generation of <code>command/lib25519-test.c</code>, automatically cache Python computations of nP etc.</p> <p>Reorganize precomputed tests to handle APIs with variable-length inputs and outputs.</p> <p>Import infrastructure improvements from libmceliece.</p> <p><a href="lib25519-20221222.tar.gz"><code>lib25519-20221222.tar.gz</code></a> <a href="lib25519-20221222.html">browse</a></p> <p><a href="lib25519-20220726.tar.gz"><code>lib25519-20220726.tar.gz</code></a> <a href="lib25519-20220726.html">browse</a></p> <p><a href="lib25519-20220426.tar.gz"><code>lib25519-20220426.tar.gz</code></a> <a href="lib25519-20220426.html">browse</a></p><hr><font size=1><b>Version:</b> This is version 2026.06.14 of the "Download" web page. </font> </div> </body> </html>