![](/images/new-backgrounds/1225625/225625409x1.webp)
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 keyObject 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.
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 | 195 |