AI_SHA1WithDES_CBCPadBER

Algorithm methods to include in application’s algorithm chooser:

AM_SHA and AM_DES_CBC_ENCRYPT for encryption or AM_DES_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 password.

Compatible representation:

AI_SHA1WithDES_CBCPad.

Output considerations:

During encryption, this AI pads the output (which DES requires to be a multiple of 8 bytes long). 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

231

Page 241
Image 241
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 231