Botan
1.10.9
|
#include <rsa.h>
Public Member Functions | |
SecureVector< byte > | decrypt (const byte msg[], size_t msg_len) |
size_t | max_input_bits () const |
virtual size_t | message_part_size () const |
virtual size_t | message_parts () const |
RSA_Private_Operation (const RSA_PrivateKey &rsa) | |
SecureVector< byte > | sign (const byte msg[], size_t msg_len, RandomNumberGenerator &rng) |
Botan::RSA_Private_Operation::RSA_Private_Operation | ( | const RSA_PrivateKey & | rsa | ) |
Definition at line 63 of file rsa.cpp.
References Botan::BigInt::bits(), Botan::Global_State_Management::global_state(), and Botan::inverse_mod().
|
virtual |
Implements Botan::PK_Ops::Decryption.
Definition at line 107 of file rsa.cpp.
References Botan::Blinder::blind(), BOTAN_ASSERT, Botan::BigInt::encode(), and Botan::Blinder::unblind().
|
inlinevirtual |
|
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 90 of file rsa.cpp.
References Botan::Blinder::blind(), Botan::BigInt::bytes(), Botan::BigInt::encode_1363(), and Botan::Blinder::unblind().