diff options
author | lloyd <[email protected]> | 2008-11-08 21:59:52 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-08 21:59:52 +0000 |
commit | da5a5cbea7f611ebf41a8d3065700106a8d89f2d (patch) | |
tree | 2063c22d19d8583d93208889967b68b10c0a3760 /src/modes/ctr/ctr.cpp | |
parent | a9f747ab6c6f1949410368514e5af74786494318 (diff) |
Remove lookup.h from modebase
Diffstat (limited to 'src/modes/ctr/ctr.cpp')
-rw-r--r-- | src/modes/ctr/ctr.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modes/ctr/ctr.cpp b/src/modes/ctr/ctr.cpp index 8b8c5f35f..c537178f9 100644 --- a/src/modes/ctr/ctr.cpp +++ b/src/modes/ctr/ctr.cpp @@ -14,7 +14,8 @@ namespace Botan { * CTR-BE Constructor * *************************************************/ CTR_BE::CTR_BE(const std::string& cipher_name) : - BlockCipherMode(cipher_name, "CTR-BE", block_size_of(cipher_name), 1) + BlockCipherMode(get_block_cipher(cipher_name), + "CTR-BE", block_size_of(cipher_name), 1) { } @@ -23,7 +24,8 @@ CTR_BE::CTR_BE(const std::string& cipher_name) : *************************************************/ CTR_BE::CTR_BE(const std::string& cipher_name, const SymmetricKey& key, const InitializationVector& iv) : - BlockCipherMode(cipher_name, "CTR-BE", block_size_of(cipher_name), 1) + BlockCipherMode(get_block_cipher(cipher_name), + "CTR-BE", block_size_of(cipher_name), 1) { set_key(key); set_iv(iv); |