diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2010-07-06 04:41:28 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2010-07-06 04:41:28 +0000 |
commit | f346519577655fc3da21711d6026aa2ebbed0d46 (patch) | |
tree | 48b9c94264d07f3c6c482fa8ad79f608b4857629 /wake.cpp | |
parent | d7c78e42474cbe7a73f08c46d252eef5e28aef7c (diff) | |
download | cryptopp-f346519577655fc3da21711d6026aa2ebbed0d46.tar.gz |
remove WAKE-CFB
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@501 57ff6487-cd31-0410-9ec3-f628ee90f5f0
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) |