RSASSAVerify_SHA256

Carries out the RSASSA-PSS signature verification scheme using SHA-256 hash algorithm.

Syntax

IppStatus ippsRSASSAVerify_SHA256(const Ipp8u* pHMsg, const Ipp8u* pSign, IppBool* pIsValid, IppsRSAState* pCtx);

Parameters

pHMsg

Pointer to the octet message hash that has been signed.

pSign

Pointer to the octet signature string to be verified.

pIsValid

Pointer to the verification result.

pCtx

Pointer to the properly initialized IppsRSAState context.

Description

This function is declared in the ippcp.h file. The function uses the SHA-256 hash function and SHA-256 based MGF implemented in Intel IPP to verify the signature generated by the RSASSASign_SHA256 function. RSASSAVerify_SHA256 is a specific form of the general RSASSAVerify function.

See the description of the RSASSA-PSS Verify primitive in [PKCS 1.2.1] for more details.

Return Values

The function may return any of the values that the general RSASSAVerify function returns. Specifically:

ippStsLengthErr

Indicates an error condition if any inconsistencies in data lengths are detected.


Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.