AI_PKCS_OAEP_RSAPublic
148 RSA BSAFE Crypto-C Library Reference Manual
AI_PKCS_OAEP_RSAPublic
Purpose:
This AI allows you to encrypt 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_RSAPublic provides the
PKCS #1 v1.5 version of the RSA public-key encryption algorithm.
AI_SET_OAEP_RSAPublic provides a different type of OAEP padding scheme defined
by the SET specification. See AI_PKCS_OAEP_RSAPublicBER for the same algorithm
type with BER encoding.
Type of information this allows you to use:
the RSA algorithm for performing public-key encryption with OAEP message
padding as defined in PKCS #1 v2.0. When encrypting, this algorithm encodes the
data according to the definition of EME-OAEP-Encode 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 PARAMETERS
hashFunc “sha1” empty ITEM
maskGenFunc “mgf1” empty ITEM
maskGenFuncUnderlyingAlg “sha1” empty ITEM
pSourceFunc “specifiedParameters” empty IT EM