![](/images/new-backgrounds/1225625/225625453x1.webp)
AI_RSAPublicBSAFE1
integer at the beginning of the buffer.
Algorithm methods to include in application’s algorithm chooser:
AM_RSA_ENCRYPT for encryption or AM_RSA_DECRYPT for decryption.
Key info types for keyObject in B_EncryptInit or B_DecryptInit:
KI_RSAPublic, KI_RSAPublicBER, or KI_RSAPublicBSAFE1.
Input constraints:
In raw mode, the total number of input bytes must be a multiple of the key’s modulus size in bytes. Also, each
Output considerations:
In pad mode and in pad with checksum mode, the output can be as large as one block greater than the number of input blocks, where each block is the size of the key’s modulus size in bytes. For instance, given a
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 | 217 |