A SERVICE OF

logo

AI_DSA
50 RSA BSAFE Crypto-C Library Reference Manual
AI_DSA
Purpose:
This AI allows you to create or verify raw DSA signatures when the 20-byte input is
already known. It does not compute a message digest before applying the signature
operation. See
AI_DSAWithSHA1 for the DSA algorithm type that involves the SHA1
digest operation.
Type of information this allows you to use:
the DSA signature algorithm for performing raw DSA signing and verifying as
defined in FIPS PUB 186.
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:
AM_DSA_SIGN for signature creation and AM_DSA_VERIFY for signature verification.
Key info types for keyObjec t in B_SignInit:
KI_DSAPrivate, KI_DSAPrivateBER, or KI_DSAPrivateX957BER.
Key info types for keyObjec t in B_VerifyInit:
KI_DSAPublic, KI_DSAPublicBER, or KI_DSAPublicX957BER.