AI_EC_ES

AI_EC_ES

Purpose:

This AI allows you to perform public-key encryption or private-key decryption using the Elliptic-Curve Authenticated Encryption System, where ciphertext includes the SHA1 digest as well as encrypted plaintext.

Type of information this allows you to use:

the elliptic curve authenticated encryption scheme as defined in X9.63 Draft, as of 10/97.

Format of info supplied to B_SetAlgorithmInfo:

NULL_PTR.

Format of info returned by B_GetAlgorithmInfo:

NULL_PTR.

Crypto-C procedures to use with algorithm object:

B_EncryptInit, B_EncryptUpdate, B_EncryptFinal, B_DecryptInit,

B_DecryptUpdate, and B_DecryptFinal. You must pass an initialized random algorithm in B_EncryptFinal, but may pass (B_ALGORITHM_OBJ)NULL_PTR for all other randomAlgorithm arguments.

Algorithm methods to include in application's algorithm chooser:

AM_ECFP_ENCRYPT for encryption and AM_ECFP_DECRYPT for decryption with odd prime fields, AM_ECF2POLY_ENCRYPT for encryption and AM_ECF2POLY_DECRYPT for decryption with even characteristic.

Output Considerations:

The encrypted data can be as much as ((21 + 2 · (the size of a field element in bytes) + (length of input in bytes)) bytes long.

7 0

R S A B S A F E C r y p t o - C L i b r a r y R e f e r e n c e M a n u a l

Page 80
Image 80
RSA Security 5 manual Aieces