From ce88e2c6918bb012321e1d7599c2a13b9ba9301e Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 5 Mar 2010 16:33:54 +0000 Subject: Remove sign and verify ops from key types --- src/pubkey/rsa/rsa.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/pubkey/rsa/rsa.cpp') 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 @@ -33,15 +33,6 @@ SecureVector RSA_PublicKey::encrypt(const byte in[], u32bit len, return BigInt::encode_1363(public_op(i), n.bytes()); } -/* -* RSA Verification Function -*/ -SecureVector RSA_PublicKey::verify(const byte in[], u32bit len) const - { - BigInt i(in, len); - return BigInt::encode(public_op(i)); - } - /* * Create a RSA private key */ -- cgit v1.2.3