diff options
author | lloyd <[email protected]> | 2010-03-10 16:35:12 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-10 16:35:12 +0000 |
commit | ffebc65a41fbe22934830203cfa4ee791804796b (patch) | |
tree | 8ce04eba960bd524f58e096ac979e7f639696c6a /src/pubkey/rsa | |
parent | d3e279ec353133e9f80f13a536aae15e49c2a206 (diff) | |
parent | fd79f63a44ad0b59507ac67bdb3eccbe4d45adbc (diff) |
propagate from branch 'net.randombit.botan' (head 74e9e8642943d126a5e5efa5be1da8351f0fb6d7)
to branch 'net.randombit.botan.c++0x' (head 24371f742c2a1c7e5f3aace364fbb21e01c94657)
Diffstat (limited to 'src/pubkey/rsa')
-rw-r--r-- | src/pubkey/rsa/rsa.cpp | 2 | ||||
-rw-r--r-- | src/pubkey/rsa/rsa.h | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/pubkey/rsa/rsa.cpp b/src/pubkey/rsa/rsa.cpp index e27b2056d..51c9fd19c 100644 --- a/src/pubkey/rsa/rsa.cpp +++ b/src/pubkey/rsa/rsa.cpp @@ -101,7 +101,7 @@ BigInt RSA_Private_Operation::private_op(const BigInt& m) const SecureVector<byte> RSA_Private_Operation::sign(const byte msg[], u32bit msg_len, - RandomNumberGenerator& rng) + RandomNumberGenerator&) { /* We don't check signatures against powermod_e_n here because PK_Signer checks verification consistency for all signature diff --git a/src/pubkey/rsa/rsa.h b/src/pubkey/rsa/rsa.h index 72cd80fef..7d517e986 100644 --- a/src/pubkey/rsa/rsa.h +++ b/src/pubkey/rsa/rsa.h @@ -22,9 +22,6 @@ class BOTAN_DLL RSA_PublicKey : public virtual IF_Scheme_PublicKey public: std::string algo_name() const { return "RSA"; } - SecureVector<byte> encrypt(const byte[], u32bit, - RandomNumberGenerator& rng) const; - RSA_PublicKey(const AlgorithmIdentifier& alg_id, const MemoryRegion<byte>& key_bits) : IF_Scheme_PublicKey(alg_id, key_bits) @@ -50,8 +47,6 @@ class BOTAN_DLL RSA_PrivateKey : public RSA_PublicKey, public IF_Scheme_PrivateKey { public: - SecureVector<byte> decrypt(const byte[], u32bit) const; - bool check_key(RandomNumberGenerator& rng, bool) const; RSA_PrivateKey(const AlgorithmIdentifier& alg_id, |