AI_ECAcceleratorTable

AI_ECAcceleratorTable

Purpose:

This AI allows you to use the acceleration table for various elliptic curve (EC) operations that include encryption, signature creation and verification, key pair generation, and key agreement operations.

Type of information this allows you to use:

the acceleration table produced by the operation of AI_ECBuildAcceleratorTable on EC parameters or the table produced by the operation of AI_ECBuildPubKeyAccelTable on EC parameters.

Format of info supplied to B_SetAlgorithmInfo:

pointer to an ITEM holding the accelerator table.

Format of info returned by B_GetAlgorithmInfo:

pointer to an ITEM holding the accelerator table.

Crypto-C procedures to use with algorithm object:

You use the table generated by AI_ECBuildAcceleratorTable with

B_SetAlgorithmInfo to accelerate EC encryption in AI_EC_ES; signature creation and verification in AI_EC_DSA and AI_EC_DSAWithDigest; key pair generation in AI_ECKeyGen; and phase 1 of key agreement operations in AI_EC_DHKeyAgree. Use the table generated by AI_ECBuildPubKeyAccelTable with B_SetAlgorithmInfo to accelerate verification in AI_EC_DSA and AI_EC_DSAWithDigest.

Algorithm methods to include in application’s algorithm chooser:

None.

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

59

Page 69
Image 69
RSA Security 5 manual AIECAcceleratorTable, Pointer to an Item holding the accelerator table, None