Carries out the RSA-OAEP encryption scheme using SHA-1 hash algorithm.
IppStatus ippsRSAOAEPEncrypt_SHA1(const Ipp8u* pSrc, int srcLen, const Ipp8u* pLabel, int labLen, const Ipp8u* pSeed, Ipp8u* pDst, IppsRSAState* pCtx);
pSrc |
Pointer to the octet message to be encrypted. |
srcLen |
Length of the message to be encrypted. |
pLabel |
Pointer to the optional label to be associated with the message. |
labLen |
Length of the optional label. |
pSeed |
Pointer to the random octet string of length hashLen, where hashLen is the length (in octets) of the hash message digest. |
pDst |
Pointer to the output octet ciphertext string. |
pCtx |
Pointer to the properly initialized IppsRSAState context. |
This function is declared in the ippcp.h file. The function uses SHA-1 hash function and SHA-1-based MGF implemented in Intel IPP to carry out the RSA-OAEP encryption scheme and thus is a specific form of the general RSAOAEPEncrypt function.
The function may return any of the values that the general RSAOAEPEncrypt function returns.
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.