AI_RC2_CBC_BSAFE1

Key info types for keyObject in B_EncryptInit or B_DecryptInit:

KI_RC2WithBSAFE1Params or KI_RC2_BSAFE1.

Input constraints:

During encryption, this algorithm does not pad the output. Thus, you must provide input that is a multiple of 8 bytes.

Output considerations:

In pad mode, the total number of output bytes from encryption can be as many as 8 more than the total input. In pad with checksum mode, the total number of output bytes from encryption can be as many as 16 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

181

Page 191
Image 191
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 181