Botan
1.10.9
|
#include <dsa.h>
Public Member Functions | |
DSA_Signature_Operation (const DSA_PrivateKey &dsa) | |
size_t | max_input_bits () const |
size_t | message_part_size () const |
size_t | message_parts () const |
SecureVector< byte > | sign (const byte msg[], size_t msg_len, RandomNumberGenerator &rng) |
Botan::DSA_Signature_Operation::DSA_Signature_Operation | ( | const DSA_PrivateKey & | dsa | ) |
|
inlinevirtual |
Get the maximum message size in bits supported by this public key.
Implements Botan::PK_Ops::Signature.
Definition at line 70 of file dsa.h.
|
inlinevirtual |
Find out the message part size supported by this scheme/key.
Reimplemented from Botan::PK_Ops::Signature.
Definition at line 69 of file dsa.h.
|
inlinevirtual |
Find out the number of message parts supported by this scheme.
Reimplemented from Botan::PK_Ops::Signature.
|
virtual |
Implements Botan::PK_Ops::Signature.
Definition at line 77 of file dsa.cpp.
References Botan::RandomNumberGenerator::add_entropy(), Botan::BigInt::binary_encode(), Botan::BigInt::bits(), Botan::BigInt::bytes(), Botan::inverse_mod(), Botan::mul_add(), Botan::Modular_Reducer::multiply(), r, Botan::BigInt::randomize(), Botan::Modular_Reducer::reduce(), and s.