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_Verification_Operation (const NR_PublicKey &nr) | |
virtual bool | verify (const byte[], size_t, const byte[], size_t) |
SecureVector< byte > | verify_mr (const byte msg[], size_t msg_len) |
bool | with_recovery () const |
Botan::NR_Verification_Operation::NR_Verification_Operation | ( | const NR_PublicKey & | nr | ) |
Definition at line 112 of file nr.cpp.
References Botan::DL_Scheme_PublicKey::group_g(), Botan::DL_Scheme_PublicKey::group_p(), and Botan::DL_Scheme_PublicKey::group_q().
|
inlinevirtual |
Get the maximum message size in bits supported by this public key.
Implements Botan::PK_Ops::Verification.
Definition at line 89 of file nr.h.
|
inlinevirtual |
Find out the message part size supported by this scheme/key.
Reimplemented from Botan::PK_Ops::Verification.
Definition at line 88 of file nr.h.
|
inlinevirtual |
Find out the number of message parts supported by this scheme.
Reimplemented from Botan::PK_Ops::Verification.
|
inlinevirtualinherited |
|
virtual |
Reimplemented from Botan::PK_Ops::Verification.
Definition at line 122 of file nr.cpp.
References Botan::BigInt::bytes(), Botan::BigInt::encode(), Botan::Modular_Reducer::get_modulus(), Botan::Modular_Reducer::multiply(), and Botan::Modular_Reducer::reduce().
|
inlinevirtual |
Implements Botan::PK_Ops::Verification.