summaryrefslogtreecommitdiff
path: root/mdc.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-04 00:17:37 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-04 00:17:37 +0000
commit572fe07633123ce38abf28c6426356e37aef3a99 (patch)
tree0536d87e504a82920156c239bc5ae6aa43e70ebc /mdc.h
parent3e8c979ddc194e043567c036321e67c89f847362 (diff)
downloadcryptopp-572fe07633123ce38abf28c6426356e37aef3a99.tar.gz
create DLL version, fix GetNextIV() bug in CTR and OFB modes
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@87 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'mdc.h')
-rw-r--r--mdc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdc.h b/mdc.h
index ff04360..b587f15 100644
--- a/mdc.h
+++ b/mdc.h
@@ -22,7 +22,7 @@ struct MDC_Info : public FixedBlockSize<T::DIGESTSIZE>, public FixedKeyLength<T:
template <class T>
class MDC : public MDC_Info<T>
{
- class CRYPTOPP_NO_VTABLE Enc : public BlockCipherBaseTemplate<MDC_Info<T> >
+ class CRYPTOPP_NO_VTABLE Enc : public BlockCipherImpl<MDC_Info<T> >
{
typedef typename T::HashWordType HashWordType;
@@ -64,7 +64,7 @@ class MDC : public MDC_Info<T>
public:
//! use BlockCipher interface
- typedef BlockCipherTemplate<ENCRYPTION, Enc> Encryption;
+ typedef BlockCipherFinal<ENCRYPTION, Enc> Encryption;
};
NAMESPACE_END