You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Deterministically derives a NUMS (Nothing-Up-My-Sleeve) generator point. </p>
328
328
<ul>
329
-
<li>Uses SHA-256 try-and-increment to find a valid x-coordinate. This ensures the discrete logarithm of the resulting point is unknown ("unspendable"), which is a core security requirement for Bulletproof binding and vector commitments.</li>
329
+
<li>Uses SHA-256 try-and-increment to find a valid x-coordinate. This ensures the discrete logarithm of the resulting point is unknown, which is a core security requirement for Bulletproof binding and vector commitments.</li>
<li><b>Linkage Proof:</b> Proves consistency between an ElGamal ciphertext (used for transfer) and a Pedersen Commitment (used for the range proof).</li>
126
126
<li><b>Proof of Knowledge (PoK):</b> Proves ownership of the secret key during account registration to prevent rogue key attacks.</li>
<p><b>macOS (Apple Silicon):</b> If you encounter architecture mismatch errors with OpenSSL, explicitly set the architecture: </p><divclass="fragment"><divclass="line">cmake -DCMAKE_OSX_ARCHITECTURES=arm64 ..</div>
162
+
</div><!-- fragment --><p><b>macOS (Intel):</b> Use <spanclass="tt">x86_64</span> instead: </p><divclass="fragment"><divclass="line">cmake -DCMAKE_OSX_ARCHITECTURES=x86_64 ..</div>
163
+
</div><!-- fragment --><h2class="doxsection"><aclass="anchor" id="autotoc_md11"></a>
164
+
Running Tests</h2>
165
+
<p>After building, run the test suite using CTest:</p>
<p><b>Note:</b><spanclass="tt">test_bulletproof.c</span> is excluded from the build because the aggregated implementation (<aclass="el" href="bulletproof__aggregated_8c.html" title="Aggregated Bulletproof Range Proofs (Logarithmic Size).">bulletproof_aggregated.c</a>) is fully general; verifying the m=1 case is now covered by test_bulletproof_agg.c. </p>
<pclass="definition">Definition at line <aclass="el" href="mpt__scalar_8c_source.html#l00043">43</a> of file <aclass="el" href="mpt__scalar_8c_source.html">mpt_scalar.c</a>.</p>
185
+
<pclass="definition">Definition at line <aclass="el" href="mpt__scalar_8c_source.html#l00044">44</a> of file <aclass="el" href="mpt__scalar_8c_source.html">mpt_scalar.c</a>.</p>
<pclass="definition">Definition at line <aclass="el" href="mpt__scalar_8c_source.html#l00040">40</a> of file <aclass="el" href="mpt__scalar_8c_source.html">mpt_scalar.c</a>.</p>
201
+
<pclass="definition">Definition at line <aclass="el" href="mpt__scalar_8c_source.html#l00041">41</a> of file <aclass="el" href="mpt__scalar_8c_source.html">mpt_scalar.c</a>.</p>
<pclass="definition">Definition at line <aclass="el" href="mpt__scalar_8c_source.html#l00059">59</a> of file <aclass="el" href="mpt__scalar_8c_source.html">mpt_scalar.c</a>.</p>
230
+
<pclass="definition">Definition at line <aclass="el" href="mpt__scalar_8c_source.html#l00060">60</a> of file <aclass="el" href="mpt__scalar_8c_source.html">mpt_scalar.c</a>.</p>
<pclass="definition">Definition at line <aclass="el" href="mpt__scalar_8c_source.html#l00075">75</a> of file <aclass="el" href="mpt__scalar_8c_source.html">mpt_scalar.c</a>.</p>
284
+
<pclass="definition">Definition at line <aclass="el" href="mpt__scalar_8c_source.html#l00086">86</a> of file <aclass="el" href="mpt__scalar_8c_source.html">mpt_scalar.c</a>.</p>
<pclass="definition">Definition at line <aclass="el" href="mpt__scalar_8c_source.html#l00067">67</a> of file <aclass="el" href="mpt__scalar_8c_source.html">mpt_scalar.c</a>.</p>
330
+
<pclass="definition">Definition at line <aclass="el" href="mpt__scalar_8c_source.html#l00073">73</a> of file <aclass="el" href="mpt__scalar_8c_source.html">mpt_scalar.c</a>.</p>
<pclass="definition">Definition at line <aclass="el" href="mpt__scalar_8c_source.html#l00082">82</a> of file <aclass="el" href="mpt__scalar_8c_source.html">mpt_scalar.c</a>.</p>
400
+
<pclass="definition">Definition at line <aclass="el" href="mpt__scalar_8c_source.html#l00096">96</a> of file <aclass="el" href="mpt__scalar_8c_source.html">mpt_scalar.c</a>.</p>
<pclass="definition">Definition at line <aclass="el" href="mpt__scalar_8c_source.html#l00089">89</a> of file <aclass="el" href="mpt__scalar_8c_source.html">mpt_scalar.c</a>.</p>
440
+
<pclass="definition">Definition at line <aclass="el" href="mpt__scalar_8c_source.html#l00106">106</a> of file <aclass="el" href="mpt__scalar_8c_source.html">mpt_scalar.c</a>.</p>
0 commit comments