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/rsa.cpp | |
parent | 284cae08b24ae892ee8ce5c3511acbf0b7688a43 (diff) |
Remove sign and verify ops from key types
Diffstat (limited to 'src/pubkey/rsa/rsa.cpp')
-rw-r--r-- | src/pubkey/rsa/rsa.cpp | 9 |
1 files changed, 0 insertions, 9 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, |