diff options
author | weidai <weidai11@users.noreply.github.com> | 2007-04-15 23:46:59 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2007-04-15 23:46:59 +0000 |
commit | 004681fd5a08196d3d69a1b86b6705c255088598 (patch) | |
tree | a500a35c73e935ad67d80e7e7133002187932324 /pkcspad.cpp | |
parent | a22c8e43e5ce9eda14de007677d748eb3fec68db (diff) | |
download | cryptopp-git-004681fd5a08196d3d69a1b86b6705c255088598.tar.gz |
move MD2, MD4, MD5, PanamaHash, WAKE_CFB into the namespace 'Weak'
Diffstat (limited to 'pkcspad.cpp')
-rw-r--r-- | pkcspad.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkcspad.cpp b/pkcspad.cpp index 7cee9b95..0ce0aa55 100644 --- a/pkcspad.cpp +++ b/pkcspad.cpp @@ -11,11 +11,11 @@ NAMESPACE_BEGIN(CryptoPP) // more in dll.cpp -template<> const byte PKCS_DigestDecoration<MD2>::decoration[] = {0x30,0x20,0x30,0x0c,0x06,0x08,0x2a,0x86,0x48,0x86,0xf7,0x0d,0x02,0x02,0x05,0x00,0x04,0x10}; -template<> const unsigned int PKCS_DigestDecoration<MD2>::length = sizeof(PKCS_DigestDecoration<MD2>::decoration); +template<> const byte PKCS_DigestDecoration<Weak::MD2>::decoration[] = {0x30,0x20,0x30,0x0c,0x06,0x08,0x2a,0x86,0x48,0x86,0xf7,0x0d,0x02,0x02,0x05,0x00,0x04,0x10}; +template<> const unsigned int PKCS_DigestDecoration<Weak::MD2>::length = sizeof(PKCS_DigestDecoration<Weak::MD2>::decoration); -template<> const byte PKCS_DigestDecoration<MD5>::decoration[] = {0x30,0x20,0x30,0x0c,0x06,0x08,0x2a,0x86,0x48,0x86,0xf7,0x0d,0x02,0x05,0x05,0x00,0x04,0x10}; -template<> const unsigned int PKCS_DigestDecoration<MD5>::length = sizeof(PKCS_DigestDecoration<MD5>::decoration); +template<> const byte PKCS_DigestDecoration<Weak::MD5>::decoration[] = {0x30,0x20,0x30,0x0c,0x06,0x08,0x2a,0x86,0x48,0x86,0xf7,0x0d,0x02,0x05,0x05,0x00,0x04,0x10}; +template<> const unsigned int PKCS_DigestDecoration<Weak::MD5>::length = sizeof(PKCS_DigestDecoration<Weak::MD5>::decoration); template<> const byte PKCS_DigestDecoration<RIPEMD160>::decoration[] = {0x30,0x21,0x30,0x09,0x06,0x05,0x2b,0x24,0x03,0x02,0x01,0x05,0x00,0x04,0x14}; template<> const unsigned int PKCS_DigestDecoration<RIPEMD160>::length = sizeof(PKCS_DigestDecoration<RIPEMD160>::decoration); |