Botan
1.10.9
|
#include <ecdsa.h>
Public Member Functions | |
ECDSA_Signature_Operation (const ECDSA_PrivateKey &ecdsa) | |
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::ECDSA_Signature_Operation::ECDSA_Signature_Operation | ( | const ECDSA_PrivateKey & | ecdsa | ) |
|
inlinevirtual |
Get the maximum message size in bits supported by this public key.
Implements Botan::PK_Ops::Signature.
Definition at line 105 of file ecdsa.h.
|
inlinevirtual |
Find out the message part size supported by this scheme/key.
Reimplemented from Botan::PK_Ops::Signature.
Definition at line 104 of file ecdsa.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 36 of file ecdsa.cpp.
References Botan::RandomNumberGenerator::add_entropy(), Botan::BigInt::binary_encode(), Botan::BigInt::bits(), Botan::BigInt::bytes(), Botan::PointGFp::get_affine_x(), Botan::inverse_mod(), Botan::mul_add(), Botan::Modular_Reducer::multiply(), r, Botan::BigInt::randomize(), Botan::Modular_Reducer::reduce(), and s.