Botan
1.10.9
|
#include <rw.h>
Public Member Functions | |
size_t | max_input_bits () const |
virtual size_t | message_part_size () const |
virtual size_t | message_parts () const |
RW_Signature_Operation (const RW_PrivateKey &rw) | |
SecureVector< byte > | sign (const byte msg[], size_t msg_len, RandomNumberGenerator &rng) |
Botan::RW_Signature_Operation::RW_Signature_Operation | ( | const RW_PrivateKey & | rw | ) |
|
inlinevirtual |
Get the maximum message size in bits supported by this public key.
Implements Botan::PK_Ops::Signature.
Definition at line 70 of file rw.h.
References n.
|
inlinevirtualinherited |
Find out the message part size supported by this scheme/key.
Reimplemented in Botan::ECDSA_Signature_Operation, Botan::GOST_3410_Signature_Operation, Botan::DSA_Signature_Operation, and Botan::NR_Signature_Operation.
|
inlinevirtualinherited |
Find out the number of message parts supported by this scheme.
Reimplemented in Botan::ECDSA_Signature_Operation, Botan::GOST_3410_Signature_Operation, Botan::DSA_Signature_Operation, and Botan::NR_Signature_Operation.
Definition at line 56 of file pk_ops.h.
Referenced by Botan::PK_Signer::signature().
|
virtual |
Implements Botan::PK_Ops::Signature.
Definition at line 74 of file rw.cpp.
References Botan::BigInt::bits(), Botan::Blinder::blind(), Botan::BigInt::bytes(), Botan::BigInt::encode_1363(), Botan::Blinder::initialized(), Botan::inverse_mod(), Botan::jacobi(), Botan::mul_add(), Botan::power_mod(), r, Botan::Modular_Reducer::reduce(), Botan::sub_mul(), and Botan::Blinder::unblind().