A SERVICE OF

logo

Chapter 2 Algorithm Info Types 179
AI_RC2_CBC
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 keyObjec t in B_EncryptInit or B_DecryptInit:
KI_8Byte, KI_Item, 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.
Token-based algorithm methods:
AI_RC2_CBC may be used to access the hardware-related algorithm
methods
AM_TOKEN_RC2_CBC_ENCRYPT and AM_TOKEN_RC2_CBC_DECRYPT, for use with
BHAPI.
Token-based key info types:
When used with one of the hardware algorithm methods listed above, AI_RC2_CBC
should be used with
KI_Token or KI_ExtendedToken.