AI_PKCS_OAEP_RSAPublicBER

AI_PKCS_OAEP_RSAPublic

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. Seefor 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:

PKCS OAEP RSA PARAMETER

DEFAULT VALUE

DEFAULT PARAMETERS

hashFunc

“sha1”

empty ITEM

maskGenFunc

“mgf1”

empty ITEM

maskGenFuncUnderlyingAlg

“sha1”

empty ITEM

pSourceFunc

“specifiedParameters”

empty ITEM

 

 

 

or:

1 4 8

R S A B S A F E C r y p t o - C L i b r a r y R e f e r e n c e M a n u a l

Page 158
Image 158
RSA Security 5 manual AIPKCSOAEPRSAPublic, Pkcs Oaep RSA Parameter Default Value Default Parameters