summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-04-16 00:13:32 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2007-04-16 00:13:32 +0000
commitd0381e2915d5546da1b56f309d41c054089885d5 (patch)
tree1301b3d46f39a2cbc45edfda3f04af64e3856e41
parent710599ff70057948901799abd3e959e7d32552a9 (diff)
downloadcryptopp-d0381e2915d5546da1b56f309d41c054089885d5.tar.gz
move MD2, MD4, MD5, PanamaHash, WAKE_CFB into the namespace 'Weak'
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@295 57ff6487-cd31-0410-9ec3-f628ee90f5f0
-rw-r--r--rsa.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rsa.h b/rsa.h
index 420a7bb..debaa44 100644
--- a/rsa.h
+++ b/rsa.h
@@ -161,11 +161,13 @@ typedef RSAES<OAEP<SHA> >::Encryptor RSAES_OAEP_SHA_Encryptor;
typedef RSASS<PKCS1v15, SHA>::Signer RSASSA_PKCS1v15_SHA_Signer;
typedef RSASS<PKCS1v15, SHA>::Verifier RSASSA_PKCS1v15_SHA_Verifier;
+namespace Weak {
typedef RSASS<PKCS1v15, MD2>::Signer RSASSA_PKCS1v15_MD2_Signer;
typedef RSASS<PKCS1v15, MD2>::Verifier RSASSA_PKCS1v15_MD2_Verifier;
typedef RSASS<PKCS1v15, MD5>::Signer RSASSA_PKCS1v15_MD5_Signer;
typedef RSASS<PKCS1v15, MD5>::Verifier RSASSA_PKCS1v15_MD5_Verifier;
+}
NAMESPACE_END