AI_RC2_CBCPad

Algorithm methods to include in application’s algorithm chooser:

AM_RC2_CBC_ENCRYPT for encryption and AM_RC2_CBC_DECRYPT for decryption.

Key info types for keyObject in B_EncryptInit or B_DecryptInit:

KI_8Byte, KI_Item, KI_RC2WithBSAFE1Params, or KI_RC2_BSAFE1.

Compatible representation:

AI_RC2_CBCPadBER, AI_RC2_CBCPadPEM.

Output considerations:

During encryption, this AI pads the output. Thus, the total number of output bytes from encryption can be as many as 8 bytes more than the total input.

C h a p t e r 2 A l g o r i t h m I n f o Ty p e s

183

Page 193
Image 193
RSA Security 5 manual A p t e r 2 a l g o r i t h m I n f o Ty p e s 183