Botan
1.10.9
|
#include <nr.h>
Public Member Functions | |
size_t | max_input_bits () const |
size_t | message_part_size () const |
size_t | message_parts () const |
NR_Signature_Operation (const NR_PrivateKey &nr) | |
SecureVector< byte > | sign (const byte msg[], size_t msg_len, RandomNumberGenerator &rng) |
Botan::NR_Signature_Operation::NR_Signature_Operation | ( | const NR_PrivateKey & | nr | ) |
|
inlinevirtual |
Get the maximum message size in bits supported by this public key.
Implements Botan::PK_Ops::Signature.
Definition at line 68 of file nr.h.
|
inlinevirtual |
Find out the message part size supported by this scheme/key.
Reimplemented from Botan::PK_Ops::Signature.
Definition at line 67 of file nr.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 83 of file nr.cpp.
References Botan::RandomNumberGenerator::add_entropy(), Botan::BigInt::binary_encode(), Botan::BigInt::bits(), Botan::BigInt::bytes(), Botan::BigInt::randomize(), and Botan::Modular_Reducer::reduce().