Skip to content

Commit

Permalink
Deploying to gh-pages from @ 568a840 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
qd-qd committed May 8, 2024
1 parent e393e48 commit dbebad3
Show file tree
Hide file tree
Showing 11 changed files with 41 additions and 41 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@

<nav id="sidebar" class="sidebar" aria-label="Table of contents">
<div class="sidebar-scrollbox">
<ol class="chapter"><li class="chapter-item "><a href="index.html">Home</a></li><li class="chapter-item affix "><li class="part-title">src</li><li class="chapter-item "><a href="src/utils/index.html">❱ utils</a><a class="toggle"><div></div></a></li><li><ol class="section"><li class="chapter-item "><a href="src/utils/ECDSA.sol/library.ECDSA.html">ECDSA</a></li><li class="chapter-item "><a href="src/utils/secp256r1.sol/function.pModInv.html">pModInv</a></li><li class="chapter-item "><a href="src/utils/secp256r1.sol/function.nModInv.html">nModInv</a></li><li class="chapter-item "><a href="src/utils/secp256r1.sol/constants.secp256r1.html">secp256r1 constants</a></li></ol></li><li class="chapter-item "><a href="src/ECDSA256r1.sol/library.ECDSA256r1.html">ECDSA256r1</a></li></ol>
<ol class="chapter"><li class="chapter-item "><a href="index.html">Home</a></li><li class="chapter-item affix "><li class="part-title">src</li><li class="chapter-item "><a href="src/utils/index.html">❱ utils</a><a class="toggle"><div></div></a></li><li><ol class="section"><li class="chapter-item "><a href="src/utils/ECDSA.sol/library.ECDSA.html">ECDSA</a></li><li class="chapter-item "><a href="src/utils/secp256r1.sol/function.nModInv.html">nModInv</a></li><li class="chapter-item "><a href="src/utils/secp256r1.sol/function.pModInv.html">pModInv</a></li><li class="chapter-item "><a href="src/utils/secp256r1.sol/constants.secp256r1.html">secp256r1 constants</a></li></ol></li><li class="chapter-item "><a href="src/ECDSA256r1.sol/library.ECDSA256r1.html">ECDSA256r1</a></li></ol>
</div>
<div id="sidebar-resize-handle" class="sidebar-resize-handle">
<div class="sidebar-resize-indicator"></div>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@

<nav id="sidebar" class="sidebar" aria-label="Table of contents">
<div class="sidebar-scrollbox">
<ol class="chapter"><li class="chapter-item expanded "><a href="index.html" class="active">Home</a></li><li class="chapter-item affix "><li class="part-title">src</li><li class="chapter-item "><a href="src/utils/index.html">❱ utils</a><a class="toggle"><div></div></a></li><li><ol class="section"><li class="chapter-item "><a href="src/utils/ECDSA.sol/library.ECDSA.html">ECDSA</a></li><li class="chapter-item "><a href="src/utils/secp256r1.sol/function.pModInv.html">pModInv</a></li><li class="chapter-item "><a href="src/utils/secp256r1.sol/function.nModInv.html">nModInv</a></li><li class="chapter-item "><a href="src/utils/secp256r1.sol/constants.secp256r1.html">secp256r1 constants</a></li></ol></li><li class="chapter-item "><a href="src/ECDSA256r1.sol/library.ECDSA256r1.html">ECDSA256r1</a></li></ol>
<ol class="chapter"><li class="chapter-item expanded "><a href="index.html" class="active">Home</a></li><li class="chapter-item affix "><li class="part-title">src</li><li class="chapter-item "><a href="src/utils/index.html">❱ utils</a><a class="toggle"><div></div></a></li><li><ol class="section"><li class="chapter-item "><a href="src/utils/ECDSA.sol/library.ECDSA.html">ECDSA</a></li><li class="chapter-item "><a href="src/utils/secp256r1.sol/function.nModInv.html">nModInv</a></li><li class="chapter-item "><a href="src/utils/secp256r1.sol/function.pModInv.html">pModInv</a></li><li class="chapter-item "><a href="src/utils/secp256r1.sol/constants.secp256r1.html">secp256r1 constants</a></li></ol></li><li class="chapter-item "><a href="src/ECDSA256r1.sol/library.ECDSA256r1.html">ECDSA256r1</a></li></ol>
</div>
<div id="sidebar-resize-handle" class="sidebar-resize-handle">
<div class="sidebar-resize-indicator"></div>
Expand Down
26 changes: 13 additions & 13 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@

<nav id="sidebar" class="sidebar" aria-label="Table of contents">
<div class="sidebar-scrollbox">
<ol class="chapter"><li class="chapter-item "><a href="index.html">Home</a></li><li class="chapter-item affix "><li class="part-title">src</li><li class="chapter-item "><a href="src/utils/index.html">❱ utils</a><a class="toggle"><div></div></a></li><li><ol class="section"><li class="chapter-item "><a href="src/utils/ECDSA.sol/library.ECDSA.html">ECDSA</a></li><li class="chapter-item "><a href="src/utils/secp256r1.sol/function.pModInv.html">pModInv</a></li><li class="chapter-item "><a href="src/utils/secp256r1.sol/function.nModInv.html">nModInv</a></li><li class="chapter-item "><a href="src/utils/secp256r1.sol/constants.secp256r1.html">secp256r1 constants</a></li></ol></li><li class="chapter-item "><a href="src/ECDSA256r1.sol/library.ECDSA256r1.html">ECDSA256r1</a></li></ol>
<ol class="chapter"><li class="chapter-item "><a href="index.html">Home</a></li><li class="chapter-item affix "><li class="part-title">src</li><li class="chapter-item "><a href="src/utils/index.html">❱ utils</a><a class="toggle"><div></div></a></li><li><ol class="section"><li class="chapter-item "><a href="src/utils/ECDSA.sol/library.ECDSA.html">ECDSA</a></li><li class="chapter-item "><a href="src/utils/secp256r1.sol/function.nModInv.html">nModInv</a></li><li class="chapter-item "><a href="src/utils/secp256r1.sol/function.pModInv.html">pModInv</a></li><li class="chapter-item "><a href="src/utils/secp256r1.sol/constants.secp256r1.html">secp256r1 constants</a></li></ol></li><li class="chapter-item "><a href="src/ECDSA256r1.sol/library.ECDSA256r1.html">ECDSA256r1</a></li></ol>
</div>
<div id="sidebar-resize-handle" class="sidebar-resize-handle">
<div class="sidebar-resize-indicator"></div>
Expand Down Expand Up @@ -373,12 +373,12 @@ <h2 id="acknowledgements"><a class="header" href="#acknowledgements">Acknowledge
<div style="break-before: page; page-break-before: always;"></div><h1 id="contents"><a class="header" href="#contents">Contents</a></h1>
<ul>
<li><a href="src/utils/ECDSA.sol/library.ECDSA.html">ECDSA</a></li>
<li><a href="src/utils/secp256r1.sol/function.pModInv.html">pModInv</a></li>
<li><a href="src/utils/secp256r1.sol/function.nModInv.html">nModInv</a></li>
<li><a href="src/utils/secp256r1.sol/function.pModInv.html">pModInv</a></li>
<li><a href="src/utils/secp256r1.sol/constants.secp256r1.html">secp256r1 constants</a></li>
</ul>
<div style="break-before: page; page-break-before: always;"></div><h1 id="ecdsa"><a class="header" href="#ecdsa">ECDSA</a></h1>
<p><a href="https://github.com/get-smooth/secp256r1-verify/blob/62a9b6b73a0f131f8fc8fbc2e8fe4c35c0ebb8df/src/utils/ECDSA.sol">Git Source</a></p>
<p><a href="https://github.com/get-smooth/secp256r1-verify/blob/568a840d0a8465d1bcbb6d96b341e946eeffab6c/src/utils/ECDSA.sol">Git Source</a></p>
<p>Library for handling Elliptic Curve Digital Signature Algorithm (ECDSA) operations on a compatible curve</p>
<h2 id="functions"><a class="header" href="#functions">Functions</a></h2>
<h3 id="zz2aff"><a class="header" href="#zz2aff">zz2Aff</a></h3>
Expand Down Expand Up @@ -494,11 +494,11 @@ <h3 id="affadd"><a class="header" href="#affadd">affAdd</a></h3>
<tr><td><code>x2</code></td><td><code>uint256</code></td><td>The X-coordinate of the resulting point</td></tr>
<tr><td><code>y2</code></td><td><code>uint256</code></td><td>The Y-coordinate of the resulting point</td></tr>
</tbody></table>
</div><div style="break-before: page; page-break-before: always;"></div><h1 id="pmodinv"><a class="header" href="#pmodinv">pModInv</a></h1>
<p><a href="https://github.com/get-smooth/secp256r1-verify/blob/62a9b6b73a0f131f8fc8fbc2e8fe4c35c0ebb8df/src/utils/secp256r1.sol">Git Source</a></p>
<p>Calculate the modular inverse of a given integer, which is the inverse of this integer modulo p.</p>
</div><div style="break-before: page; page-break-before: always;"></div><h1 id="nmodinv"><a class="header" href="#nmodinv">nModInv</a></h1>
<p><a href="https://github.com/get-smooth/secp256r1-verify/blob/568a840d0a8465d1bcbb6d96b341e946eeffab6c/src/utils/secp256r1.sol">Git Source</a></p>
<p>Calculate the modular inverse of a given integer, which is the inverse of this integer modulo n.</p>
<p><em>Uses the ModExp precompiled contract at address 0x05 for fast computation using little Fermat theorem</em></p>
<pre><code class="language-solidity">function pModInv(uint256 self) returns (uint256 result);
<pre><code class="language-solidity">function nModInv(uint256 self) returns (uint256 result);
</code></pre>
<p><strong>Parameters</strong></p>
<div class="table-wrapper"><table><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tbody>
Expand All @@ -509,11 +509,11 @@ <h3 id="affadd"><a class="header" href="#affadd">affAdd</a></h3>
<div class="table-wrapper"><table><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tbody>
<tr><td><code>result</code></td><td><code>uint256</code></td><td>The modular inverse of the input integer. If the modular inverse doesn't exist, it revert the tx</td></tr>
</tbody></table>
</div><div style="break-before: page; page-break-before: always;"></div><h1 id="nmodinv"><a class="header" href="#nmodinv">nModInv</a></h1>
<p><a href="https://github.com/get-smooth/secp256r1-verify/blob/62a9b6b73a0f131f8fc8fbc2e8fe4c35c0ebb8df/src/utils/secp256r1.sol">Git Source</a></p>
<p>Calculate the modular inverse of a given integer, which is the inverse of this integer modulo n.</p>
</div><div style="break-before: page; page-break-before: always;"></div><h1 id="pmodinv"><a class="header" href="#pmodinv">pModInv</a></h1>
<p><a href="https://github.com/get-smooth/secp256r1-verify/blob/568a840d0a8465d1bcbb6d96b341e946eeffab6c/src/utils/secp256r1.sol">Git Source</a></p>
<p>Calculate the modular inverse of a given integer, which is the inverse of this integer modulo p.</p>
<p><em>Uses the ModExp precompiled contract at address 0x05 for fast computation using little Fermat theorem</em></p>
<pre><code class="language-solidity">function nModInv(uint256 self) returns (uint256 result);
<pre><code class="language-solidity">function pModInv(uint256 self) returns (uint256 result);
</code></pre>
<p><strong>Parameters</strong></p>
<div class="table-wrapper"><table><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tbody>
Expand All @@ -525,7 +525,7 @@ <h3 id="affadd"><a class="header" href="#affadd">affAdd</a></h3>
<tr><td><code>result</code></td><td><code>uint256</code></td><td>The modular inverse of the input integer. If the modular inverse doesn't exist, it revert the tx</td></tr>
</tbody></table>
</div><div style="break-before: page; page-break-before: always;"></div><h1 id="constants"><a class="header" href="#constants">Constants</a></h1>
<p><a href="https://github.com/get-smooth/secp256r1-verify/blob/62a9b6b73a0f131f8fc8fbc2e8fe4c35c0ebb8df/src/utils/secp256r1.sol">Git Source</a></p>
<p><a href="https://github.com/get-smooth/secp256r1-verify/blob/568a840d0a8465d1bcbb6d96b341e946eeffab6c/src/utils/secp256r1.sol">Git Source</a></p>
<h3 id="p"><a class="header" href="#p">p</a></h3>
<pre><code class="language-solidity">uint256 constant p = 0xFFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF;
</code></pre>
Expand Down Expand Up @@ -557,7 +557,7 @@ <h3 id="modexp_precompile"><a class="header" href="#modexp_precompile">MODEXP_PR
<pre><code class="language-solidity">address constant MODEXP_PRECOMPILE = 0x0000000000000000000000000000000000000005;
</code></pre>
<div style="break-before: page; page-break-before: always;"></div><h1 id="ecdsa256r1"><a class="header" href="#ecdsa256r1">ECDSA256r1</a></h1>
<p><a href="https://github.com/get-smooth/secp256r1-verify/blob/62a9b6b73a0f131f8fc8fbc2e8fe4c35c0ebb8df/src/ECDSA256r1.sol">Git Source</a></p>
<p><a href="https://github.com/get-smooth/secp256r1-verify/blob/568a840d0a8465d1bcbb6d96b341e946eeffab6c/src/ECDSA256r1.sol">Git Source</a></p>
<p>A library to verify ECDSA signatures made on the secp256r1 curve</p>
<p><em>This is the easiest library to deal with but also the most expensive in terms of gas cost. Indeed, this library
must calculate multiple points on the curve in order to verify the signature. Use it kmowingly.</em></p>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/ECDSA256r1.sol/library.ECDSA256r1.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@

<nav id="sidebar" class="sidebar" aria-label="Table of contents">
<div class="sidebar-scrollbox">
<ol class="chapter"><li class="chapter-item "><a href="../../index.html">Home</a></li><li class="chapter-item affix "><li class="part-title">src</li><li class="chapter-item "><a href="../../src/utils/index.html">❱ utils</a><a class="toggle"><div></div></a></li><li><ol class="section"><li class="chapter-item "><a href="../../src/utils/ECDSA.sol/library.ECDSA.html">ECDSA</a></li><li class="chapter-item "><a href="../../src/utils/secp256r1.sol/function.pModInv.html">pModInv</a></li><li class="chapter-item "><a href="../../src/utils/secp256r1.sol/function.nModInv.html">nModInv</a></li><li class="chapter-item "><a href="../../src/utils/secp256r1.sol/constants.secp256r1.html">secp256r1 constants</a></li></ol></li><li class="chapter-item expanded "><a href="../../src/ECDSA256r1.sol/library.ECDSA256r1.html" class="active">ECDSA256r1</a></li></ol>
<ol class="chapter"><li class="chapter-item "><a href="../../index.html">Home</a></li><li class="chapter-item affix "><li class="part-title">src</li><li class="chapter-item "><a href="../../src/utils/index.html">❱ utils</a><a class="toggle"><div></div></a></li><li><ol class="section"><li class="chapter-item "><a href="../../src/utils/ECDSA.sol/library.ECDSA.html">ECDSA</a></li><li class="chapter-item "><a href="../../src/utils/secp256r1.sol/function.nModInv.html">nModInv</a></li><li class="chapter-item "><a href="../../src/utils/secp256r1.sol/function.pModInv.html">pModInv</a></li><li class="chapter-item "><a href="../../src/utils/secp256r1.sol/constants.secp256r1.html">secp256r1 constants</a></li></ol></li><li class="chapter-item expanded "><a href="../../src/ECDSA256r1.sol/library.ECDSA256r1.html" class="active">ECDSA256r1</a></li></ol>
</div>
<div id="sidebar-resize-handle" class="sidebar-resize-handle">
<div class="sidebar-resize-indicator"></div>
Expand Down Expand Up @@ -178,7 +178,7 @@ <h1 class="menu-title"></h1>
<div id="content" class="content">
<main>
<h1 id="ecdsa256r1"><a class="header" href="#ecdsa256r1">ECDSA256r1</a></h1>
<p><a href="https://github.com/get-smooth/secp256r1-verify/blob/62a9b6b73a0f131f8fc8fbc2e8fe4c35c0ebb8df/src/ECDSA256r1.sol">Git Source</a></p>
<p><a href="https://github.com/get-smooth/secp256r1-verify/blob/568a840d0a8465d1bcbb6d96b341e946eeffab6c/src/ECDSA256r1.sol">Git Source</a></p>
<p>A library to verify ECDSA signatures made on the secp256r1 curve</p>
<p><em>This is the easiest library to deal with but also the most expensive in terms of gas cost. Indeed, this library
must calculate multiple points on the curve in order to verify the signature. Use it kmowingly.</em></p>
Expand Down
8 changes: 4 additions & 4 deletions src/utils/ECDSA.sol/library.ECDSA.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@

<nav id="sidebar" class="sidebar" aria-label="Table of contents">
<div class="sidebar-scrollbox">
<ol class="chapter"><li class="chapter-item "><a href="../../../index.html">Home</a></li><li class="chapter-item affix "><li class="part-title">src</li><li class="chapter-item expanded "><a href="../../../src/utils/index.html">❱ utils</a><a class="toggle"><div></div></a></li><li><ol class="section"><li class="chapter-item expanded "><a href="../../../src/utils/ECDSA.sol/library.ECDSA.html" class="active">ECDSA</a></li><li class="chapter-item "><a href="../../../src/utils/secp256r1.sol/function.pModInv.html">pModInv</a></li><li class="chapter-item "><a href="../../../src/utils/secp256r1.sol/function.nModInv.html">nModInv</a></li><li class="chapter-item "><a href="../../../src/utils/secp256r1.sol/constants.secp256r1.html">secp256r1 constants</a></li></ol></li><li class="chapter-item "><a href="../../../src/ECDSA256r1.sol/library.ECDSA256r1.html">ECDSA256r1</a></li></ol>
<ol class="chapter"><li class="chapter-item "><a href="../../../index.html">Home</a></li><li class="chapter-item affix "><li class="part-title">src</li><li class="chapter-item expanded "><a href="../../../src/utils/index.html">❱ utils</a><a class="toggle"><div></div></a></li><li><ol class="section"><li class="chapter-item expanded "><a href="../../../src/utils/ECDSA.sol/library.ECDSA.html" class="active">ECDSA</a></li><li class="chapter-item "><a href="../../../src/utils/secp256r1.sol/function.nModInv.html">nModInv</a></li><li class="chapter-item "><a href="../../../src/utils/secp256r1.sol/function.pModInv.html">pModInv</a></li><li class="chapter-item "><a href="../../../src/utils/secp256r1.sol/constants.secp256r1.html">secp256r1 constants</a></li></ol></li><li class="chapter-item "><a href="../../../src/ECDSA256r1.sol/library.ECDSA256r1.html">ECDSA256r1</a></li></ol>
</div>
<div id="sidebar-resize-handle" class="sidebar-resize-handle">
<div class="sidebar-resize-indicator"></div>
Expand Down Expand Up @@ -178,7 +178,7 @@ <h1 class="menu-title"></h1>
<div id="content" class="content">
<main>
<h1 id="ecdsa"><a class="header" href="#ecdsa">ECDSA</a></h1>
<p><a href="https://github.com/get-smooth/secp256r1-verify/blob/62a9b6b73a0f131f8fc8fbc2e8fe4c35c0ebb8df/src/utils/ECDSA.sol">Git Source</a></p>
<p><a href="https://github.com/get-smooth/secp256r1-verify/blob/568a840d0a8465d1bcbb6d96b341e946eeffab6c/src/utils/ECDSA.sol">Git Source</a></p>
<p>Library for handling Elliptic Curve Digital Signature Algorithm (ECDSA) operations on a compatible curve</p>
<h2 id="functions"><a class="header" href="#functions">Functions</a></h2>
<h3 id="zz2aff"><a class="header" href="#zz2aff">zz2Aff</a></h3>
Expand Down Expand Up @@ -303,7 +303,7 @@ <h3 id="affadd"><a class="header" href="#affadd">affAdd</a></h3>
<i class="fa fa-angle-left"></i>
</a>

<a rel="next prefetch" href="../../../src/utils/secp256r1.sol/function.pModInv.html" class="mobile-nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
<a rel="next prefetch" href="../../../src/utils/secp256r1.sol/function.nModInv.html" class="mobile-nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
<i class="fa fa-angle-right"></i>
</a>

Expand All @@ -317,7 +317,7 @@ <h3 id="affadd"><a class="header" href="#affadd">affAdd</a></h3>
<i class="fa fa-angle-left"></i>
</a>

<a rel="next prefetch" href="../../../src/utils/secp256r1.sol/function.pModInv.html" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
<a rel="next prefetch" href="../../../src/utils/secp256r1.sol/function.nModInv.html" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
<i class="fa fa-angle-right"></i>
</a>
</nav>
Expand Down
Loading

0 comments on commit dbebad3

Please sign in to comment.