summaryrefslogtreecommitdiff
path: root/wake.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2010-07-06 04:41:28 +0000
committerweidai <weidai11@users.noreply.github.com>2010-07-06 04:41:28 +0000
commit7fbcee6ca1166955aba289937d9ea7334ce2f0db (patch)
tree48b9c94264d07f3c6c482fa8ad79f608b4857629 /wake.cpp
parent9a892095a06ab25d901a98f040cff10841dc72c3 (diff)
downloadcryptopp-git-7fbcee6ca1166955aba289937d9ea7334ce2f0db.tar.gz
remove WAKE-CFB
Diffstat (limited to 'wake.cpp')
-rw-r--r--wake.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/wake.cpp b/wake.cpp
index 0a1d5db2..c34165b8 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<B>::CipherSetKey(const NameValuePairs &params, const byte *key,
GenKey(k0, k1, k2, k3);
}
-// CFB
-template <class B>
-void WAKE_Policy<B>::Iterate(byte *output, const byte *input, CipherDir dir, size_t iterationCount)
-{
- RegisterOutput<B> 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 <class B>
void WAKE_Policy<B>::OperateKeystream(KeystreamOperation operation, byte *output, const byte *input, size_t iterationCount)