AI_PKCS_OAEP_RSAPrivate
140 RSA BSAFE Crypto-C Library Reference Manual
AI_PKCS_OAEP_RSAPrivate
Purpose:
This AI allows you to decrypt data using the RSA public-key algorithm with the
OAEP padding scheme defined in PKCS #1 v2.0. The OAEP padding scheme prevents
a theoretical attack on interactive key-establishment protocols that use PKCS #1 v1.5.
The parameters of this algorithm include the hash function, mask generator function,
and P source function that are explained below. AI_PKCS_RSAPrivate provides the
PKCS #1 v1.5 version of the RSA private key decryption algorithm.
AI_SET_OAEP_RSAPrivate provides a different type of OAEP padding scheme defined
by the SET specification. See AI_PKCS_OAEP_RSAPrivateBER for the same algorithm
type with BER encoding.
Type of information this allows you to use:
the RSA algorithm for performing private key decryption with OAEP message
padding as defined in PKCS #1 v2.0. When decrypting, this algorithm decodes the
data according to the definition of EME-OAEP-Decode as specified in PKCS #1 v2.0.
Format of info supplied to B_SetAlgorithmInfo:
either:
NULL_PTR. The following parameters are employed when NULL_PTR is specified:
or:
PKCS OAEP RSA PARAMETER DEFAULT VALUE DEFAULT PARAMS
hashFunc “sha1” empty ITEM
maskGenFunc “mgf1” empty ITEM
maskGenFuncUnderlyingAlg “sha1” empty ITEM
pSourceFunc “specifiedParameters” empty ITEM