diff options
author | lloyd <[email protected]> | 2010-03-05 16:33:54 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-05 16:33:54 +0000 |
commit | ce88e2c6918bb012321e1d7599c2a13b9ba9301e (patch) | |
tree | a87a57844f494a9b9ea6022b655f28a0c031a6ab /src/pubkey/rsa | |
parent | 284cae08b24ae892ee8ce5c3511acbf0b7688a43 (diff) |
Remove sign and verify ops from key types
Diffstat (limited to 'src/pubkey/rsa')
-rw-r--r-- | src/pubkey/rsa/rsa.cpp | 9 | ||||
-rw-r--r-- | src/pubkey/rsa/rsa.h | 2 |
2 files changed, 0 insertions, 11 deletions
diff --git a/src/pubkey/rsa/rsa.cpp b/src/pubkey/rsa/rsa.cpp index f21459f7b..76165090e 100644 --- a/src/pubkey/rsa/rsa.cpp +++ b/src/pubkey/rsa/rsa.cpp @@ -34,15 +34,6 @@ SecureVector<byte> RSA_PublicKey::encrypt(const byte in[], u32bit len, } /* -* RSA Verification Function -*/ -SecureVector<byte> RSA_PublicKey::verify(const byte in[], u32bit len) const - { - BigInt i(in, len); - return BigInt::encode(public_op(i)); - } - -/* * Create a RSA private key */ RSA_PrivateKey::RSA_PrivateKey(RandomNumberGenerator& rng, diff --git a/src/pubkey/rsa/rsa.h b/src/pubkey/rsa/rsa.h index 43abf2a09..c62616cdc 100644 --- a/src/pubkey/rsa/rsa.h +++ b/src/pubkey/rsa/rsa.h @@ -25,8 +25,6 @@ class BOTAN_DLL RSA_PublicKey : public PK_Encrypting_Key, SecureVector<byte> encrypt(const byte[], u32bit, RandomNumberGenerator& rng) const; - SecureVector<byte> verify(const byte[], u32bit) const; - RSA_PublicKey(const AlgorithmIdentifier& alg_id, const MemoryRegion<byte>& key_bits) : IF_Scheme_PublicKey(alg_id, key_bits) |