Skip to content

Commit ef1004c

Browse files
author
ipl_ci
committed
Docs update: a7cfb1b
[SB][Library][Feature] Add pre-hashed mode to the RSA PKCS1v15 verify function (#809)
1 parent ba009e6 commit ef1004c

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.doctrees/environment.pickle

0 Bytes
Binary file not shown.
2.06 KB
Binary file not shown.

rsaverify_pkcs1v15.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -796,10 +796,10 @@ <h2>Parameters<a class="headerlink" href="#parameters" title="Link to this headi
796796
<div class="pst-scrollable-table-container"><table class="table">
797797
<tbody>
798798
<tr class="row-odd"><td><p>pMsg</p></td>
799-
<td><p>Pointer to the message that has been signed.</p></td>
799+
<td><p>Pointer to the message that has been signed, or pointer to the pre-hashed message digest.</p></td>
800800
</tr>
801801
<tr class="row-even"><td><p>msgLen</p></td>
802-
<td><p>Length of the message *pMsg in octets.</p></td>
802+
<td><p>Length of the message *pMsg in octets, or IPPCP_RSA_PKCS1V15_PREHASHED if *pMsg contains a pre-hashed message digest (ippsRSAVerify_PKCS1v15_rmf only).</p></td>
803803
</tr>
804804
<tr class="row-odd"><td><p>pSign</p></td>
805805
<td><p>Pointer to the signature string to be verified.</p></td>
@@ -839,6 +839,11 @@ <h2>Description<a class="headerlink" href="#description" title="Link to this hea
839839
<p>This function has a <em>reduced memory footprint</em> version. To learn
840840
more, see <a class="reference internal" href="one-way-hash-primitives.html#one-way-hash-primitives"><span class="std std-ref">Reduced Memory Footprint Functions</span></a>.</p>
841841
</div>
842+
<p>The ippsRSAVerify_PKCS1v15_rmf function supports two modes of operation:</p>
843+
<ul class="simple">
844+
<li><p>Standard mode: When msgLen &gt;= 0, the function hashes the input message internally using the specified hash method before verification.</p></li>
845+
<li><p>Pre-hashed mode: When msgLen == IPPCP_RSA_PKCS1V15_PREHASHED, the function treats pMsg as a pre-computed hash digest and bypasses internal hashing. In this mode, pMsg must point to a hash digest of exactly pMethod-&gt;hashLen bytes.</p></li>
846+
</ul>
842847
</section>
843848
<section id="return-values">
844849
<h2>Return Values<a class="headerlink" href="#return-values" title="Link to this heading">#</a></h2>

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)