Carries out the RSASSA-PSS signature generation scheme using SHA-512 hash algorithm.
IppStatus ippsRSASSASign_SHA512(const Ipp8u* pHMsg, const Ipp8u* pSalt, int saltLen, Ipp8u* pSign, IppsRSAState* pCtx);
pHMsg |
Pointer to the octet message hash to be signed. |
pSalt |
Pointer to the random octet salt string. |
saltLen |
Length of the salt string in octets. |
pSign |
Pointer to the output octet signature. |
pCtx |
Pointer to the properly initialized IppsRSAState context. |
This function is declared in the ippcp.h file. The function uses SHA-512 hash function and SHA-512-based MGF implemented in Intel IPP to generate a message signature according to the RSASSA-PSS scheme and thus is a specific form of the general RSASSASign function. Provided the IppsRSAState context is properly initialized, the entire RSA-SSA signing scheme is carried out in two steps:
See the description of the RSASSA-PSS Sign primitive in [PKCS 1.2.1] for more details.
The function may return any of the values that the general RSASSASign function returns. Specifically:
ippStsLengthErr |
Indicates an error condition if any inconsistencies in data lengths are detected. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.