A SERVICE OF

logo

Chapter 2 Algorithm Info Types 195
AI_RC4WithMAC_BER
called after B_EncryptFinal. To begin an encryption operation for a new data block,
you must call
B_EncryptInit and supply a new key.
Algorithm methods to include in application’s algorithm chooser:
AM_RC4_WITH_MAC_ENCRYPT for encryption or AM_RC4_WITH_MAC_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 RC4 key.
Compatible representation:
AI_RC4WithMAC.
Output considerations:
The total number of output bytes from encryption will be
macLen
bytes more than the
input.