A SERVICE OF

logo

Chapter 2 Algorithm Info Types 197
AI_RC5_CBC
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 keyObjec t in B_EncryptInit or B_DecryptInit:
KI_Item, that gives the address and length of the RC5 key.
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_RC5_CBC may be used to access the hardware-related (BHAPI)
algorithm methods
AM_TOKEN_RC5_CBC_ENCRYPT and AM_TOKEN_RC5_CBC_DECRYPT.
Token-based key info types:
When used with one of the hardware algorithm methods listed above, AI_RC5_CBC
should be used with
KI_Token or KI_ExtendedToken.