|
Crypto++
8.9
Free C++ class library of cryptographic schemes
|
DSA signature algorithm based on RFC 6979. More...
Inheritance diagram for DL_Algorithm_DSA_RFC6979< T, H >:Public Member Functions | |
| bool | IsProbabilistic () const |
| bool | IsDeterministic () const |
| Signature scheme flag. More... | |
| Integer | GenerateRandom (const Integer &x, const Integer &q, const Integer &e) const |
| Generate k. More... | |
Public Member Functions inherited from DL_Algorithm_GDSA< T > | |
| void | Sign (const DL_GroupParameters< T > ¶ms, const Integer &x, const Integer &k, const Integer &e, Integer &r, Integer &s) const |
| Sign a message using a private key. More... | |
| bool | Verify (const DL_GroupParameters< T > ¶ms, const DL_PublicKey< T > &publicKey, const Integer &e, const Integer &r, const Integer &s) const |
| Verify a message using a public key. More... | |
Public Member Functions inherited from DL_ElgamalLikeSignatureAlgorithm< T > | |
| virtual Integer | RecoverPresignature (const DL_GroupParameters< T > ¶ms, const DL_PublicKey< T > &publicKey, const Integer &r, const Integer &s) const |
| Recover a Presignature. More... | |
| virtual size_t | RLen (const DL_GroupParameters< T > ¶ms) const |
| Retrieve R length. More... | |
| virtual size_t | SLen (const DL_GroupParameters< T > ¶ms) const |
| Retrieve S length. More... | |
Static Public Member Functions | |
| static const char * | StaticAlgorithmName () |
Static Public Member Functions inherited from DL_Algorithm_GDSA< T > | |
| static const char * | StaticAlgorithmName () |
DSA signature algorithm based on RFC 6979.
| T | FieldElement type or class |
| H | HashTransformation derived class |
FieldElement T can be Integer, ECP or EC2N.
Definition at line 346 of file gfpcrypt.h.
|
inlinevirtual |
Signature scheme flag.
IsDeterministic() is provided for DL signers. It is used by RFC 6979 signature schemes.
Reimplemented from DL_ElgamalLikeSignatureAlgorithm< T >.
Definition at line 355 of file gfpcrypt.h.
|
inlinevirtual |
Generate k.
| x | private key |
| q | subgroup generator |
| e | encoded message |
Implements DeterministicSignatureAlgorithm.
Definition at line 359 of file gfpcrypt.h.