AI_RC5_CBCPad

Algorithm methods to include in application’s algorithm chooser:

AM_RC5_CBC_ENCRYPT for encryption and AM_RC5_CBC_DECRYPT for decryption.

Key info types for keyObject in B_EncryptInit or B_DecryptInit:

KI_Item, that gives the address and length of the RC5 key.

Compatible representation:

AI_RC5_CBCPadBER.

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

199

Page 209
Image 209
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 199