RSA Security 5 Projection Television User Manual


 
AI_SET_OAEP_RSAPublic
222 RSA BSAFE Crypto-C Library Reference Manual
AI_SET_OAEP_RSAPublic
Purpose:
This AI allows you to encrypt data which will be decrypted using
AI_SET_OAEP_RSAPrivate. This algorithm is used by the Secure Electronic Transaction
(SET) protocol defined by Visa and MasterCard in the SET 1.0 specification released
August 1, 1996. It replaces PKCS #1 v1.5 padding with a form of Optimal Asymmetric
Encryption Padding (OAEP) that was developed for the SET protocol. OAEP provides
protection against cryptanalytic attacks on the padding algorithm which are possible
when most of the message being encrypted is known to the attacker. A more standard
form of OAEP is now part of version 2.0 of the PKCS #1 standard and is implemented
by
AI_PKCS_OAEP_RSAPrivate and AI_PKCS_OAEP_RSAPublic.
Type of information this allows you to use:
the RSA algorithm for performing public-key encryption following the OAEP
procedure outlined in the Aug. 1, 1996 version of the SET specifications.
Format of info supplied to B_SetAlgorithmInfo:
NULL_PTR.
Format of info returned by B_GetAlgorithmInfo:
NULL_PTR.
Crypto-C procedures to use with algorithm object:
B_EncryptInit, B_EncryptUpdate, B_EncryptFinal, B_DecryptInit,
B_DecryptUpdate, and B_DecryptFinal. B_EncryptUpdate and B_EncryptFinal
require a random algorithm. You may pass
(B_ALGORITHM_OBJ)NULL_PTR for the
randomAlgorithm
argument in B_DecryptUpdate and B_DecryptFinal.
Algorithm methods to include in application’s algorithm chooser:
AM_RSA_ENCRYPT for encryption and AM_RSA_DECRYPT for decryption.