KI_Token

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 keyObject 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 should be used with

hardware algorithm methods listed above, AI_RC5_CBC or KI_ExtendedToken.

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

197

Page 207
Image 207
RSA Security manual KIItem, that gives the address and length of the RC5 key