AI_PKCS_RSAPrivate

Compatible representation:

AI_PKCS_RSAPrivateBER, AI_PKCS_RSAPrivatePEM.

Input constraints:

The total number of bytes to encrypt may not be more than k – 11, where k is the key’s modulus size in bytes.

Output considerations:

The output of encryption will be the same size as the key’s modulus.

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

167

Page 177
Image 177
RSA Security 5 manual A p t e r 2 a l g o r i t h m I n f o Ty p e s 167