aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/rsa/rsa.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-05 16:33:54 +0000
committerlloyd <[email protected]>2010-03-05 16:33:54 +0000
commitce88e2c6918bb012321e1d7599c2a13b9ba9301e (patch)
treea87a57844f494a9b9ea6022b655f28a0c031a6ab /src/pubkey/rsa/rsa.cpp
parent284cae08b24ae892ee8ce5c3511acbf0b7688a43 (diff)
Remove sign and verify ops from key types
Diffstat (limited to 'src/pubkey/rsa/rsa.cpp')
-rw-r--r--src/pubkey/rsa/rsa.cpp9
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,