From f346519577655fc3da21711d6026aa2ebbed0d46 Mon Sep 17 00:00:00 2001 From: weidai Date: Tue, 6 Jul 2010 04:41:28 +0000 Subject: remove WAKE-CFB git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@501 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- wake.cpp | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'wake.cpp') diff --git a/wake.cpp b/wake.cpp index 0a1d5db..c34165b 100644 --- a/wake.cpp +++ b/wake.cpp @@ -7,8 +7,6 @@ NAMESPACE_BEGIN(CryptoPP) void WAKE_TestInstantiations() { - Weak::WAKE_CFB<>::Encryption x1; - Weak::WAKE_CFB<>::Decryption x3; WAKE_OFB<>::Encryption x2; WAKE_OFB<>::Decryption x4; } @@ -67,22 +65,6 @@ void WAKE_Policy::CipherSetKey(const NameValuePairs ¶ms, const byte *key, GenKey(k0, k1, k2, k3); } -// CFB -template -void WAKE_Policy::Iterate(byte *output, const byte *input, CipherDir dir, size_t iterationCount) -{ - RegisterOutput registerOutput(output, input, dir); - - while (iterationCount--) - { - r3 = M(r3, ConditionalByteReverse(B::ToEnum(), r6)); - r4 = M(r4, r3); - r5 = M(r5, r4); - r6 = M(r6, r5); - registerOutput(r6); - } -} - // OFB template void WAKE_Policy::OperateKeystream(KeystreamOperation operation, byte *output, const byte *input, size_t iterationCount) -- cgit v1.2.1