diff options
author | weidai <weidai11@users.noreply.github.com> | 2010-07-06 04:41:28 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2010-07-06 04:41:28 +0000 |
commit | 7fbcee6ca1166955aba289937d9ea7334ce2f0db (patch) | |
tree | 48b9c94264d07f3c6c482fa8ad79f608b4857629 /wake.cpp | |
parent | 9a892095a06ab25d901a98f040cff10841dc72c3 (diff) | |
download | cryptopp-git-7fbcee6ca1166955aba289937d9ea7334ce2f0db.tar.gz |
remove WAKE-CFB
Diffstat (limited to 'wake.cpp')
-rw-r--r-- | wake.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -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 ¶ms, 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) |