AI_EC_DSA
66 RSA BSAFE Crypto-C Library Reference Manual
AI_EC_DSA
Purpose:
This AI allows you to perform raw ECDSA signature creation or verification
operations. It does not compute a message digest before applying the signature
operation. To compute a SHA1 message digest and create a signature of that digest,
see AI_EC_DSAWithDigest.
Type of information this allows you to use:
the ECDSA signature algorithm used in raw ECDSA signature generation and
verification, as defined in X9.62. Alternatively, to use an acceleration table in the
generation or verification of a signature, use AI_ECBuildAcceleratorTable or
AI_ECBuildPubKeyAccelTable. The public key-specific acceleration table accelerates
verification only; for this operation, it provides greater acceleration than the
AI_ECBuildAcceleratorTable at the cost of greater memory usage.
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_SignInit, B_SignUpdate, B_SignFinal, B_VerifyInit, B_VerifyUpdate, and
B_VerifyFinal. You must pass a random algorithm in B_SignFinal, but may pass
(B_ALGORITHM_OBJ)NULL_PTR for all other
randomAlgorithm
arguments.
Algorithm methods to include in application's algorithm chooser:
For signature creation, AM_ECFP_DSA_SIGN for odd prime fields and
AM_ECF2POLY_DSA_SIGN for even characteristic. For signature verification,
AM_ECFP_DSA_VERIFY for odd prime fields and AM_ECF2POLY_DSA_VERIFY for even
characteristic.