< Table Of Contents

RSASSAVerify_SHA1

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

Syntax

IppStatus ippsRSASSAVerify_SHA1(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-1 hash function and SHA-1 based MGF implemented in Intel IPP to verify the signature generated by the RSASSASign_SHA1 function. RSASSAVerify_SHA1 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.