RSAOAEPDecrypt_SHA512

Carries out the RSA-OAEP decryption scheme using SHA-512 hash algorithm.

Syntax

IppStatus ippsRSAOAEPDecrypt_SHA512(const Ipp8u* pSrc, const Ipp8u* pLabel, int labLen, Ipp8u* pDst, int* pDstLen, IppsRSAState* pCtx);

Parameters

pSrc

Pointer to the octet ciphertext to be decrypted.

pLabel

Pointer to the optional label to be associated with the message.

labLen

Length of the optional label.

pDst

Pointer to the output octet plaintext message.

pDstLen

Pointer to the length of the decrypted message.

pCtx

Pointer to the properly initialized IppsRSAState context.

Description

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 carry out the RSA-OAEP decryption scheme and thus is a specific form of the general RSAOAEPDecrypt function.

Return Values

The function may return any of the values that the general RSAOAEPDecrypt function returns.


Submit feedback on this help topic

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