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
<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>
800
800
</tr>
801
801
<trclass="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>
803
803
</tr>
804
804
<trclass="row-odd"><td><p>pSign</p></td>
805
805
<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
839
839
<p>This function has a <em>reduced memory footprint</em> version. To learn
840
840
more, see <aclass="reference internal" href="one-way-hash-primitives.html#one-way-hash-primitives"><spanclass="std std-ref">Reduced Memory Footprint Functions</span></a>.</p>
841
841
</div>
842
+
<p>The ippsRSAVerify_PKCS1v15_rmf function supports two modes of operation:</p>
843
+
<ulclass="simple">
844
+
<li><p>Standard mode: When msgLen >= 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->hashLen bytes.</p></li>
846
+
</ul>
842
847
</section>
843
848
<sectionid="return-values">
844
849
<h2>Return Values<aclass="headerlink" href="#return-values" title="Link to this heading">#</a></h2>
0 commit comments