diff options
author | lloyd <[email protected]> | 2010-10-13 02:56:03 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-13 02:56:03 +0000 |
commit | 3697dcff8b5e9765b41114281ce10e7ed3d3abb4 (patch) | |
tree | 670853a74b0fe173e7e9fce9cd3e6eda7a03d2c7 /src/stream/ofb | |
parent | 63121e1e169616f724bf79b8aac1a2b4423c8904 (diff) |
s/BLOCK_SIZE/block_size()/
Diffstat (limited to 'src/stream/ofb')
-rw-r--r-- | src/stream/ofb/ofb.cpp | 2 | ||||
-rw-r--r-- | src/stream/ofb/ofb.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/stream/ofb/ofb.cpp b/src/stream/ofb/ofb.cpp index 921401d32..1f25c5c14 100644 --- a/src/stream/ofb/ofb.cpp +++ b/src/stream/ofb/ofb.cpp @@ -21,7 +21,7 @@ OFB::OFB(BlockCipher* ciph) : permutation(ciph) { position = 0; - buffer.resize(permutation->BLOCK_SIZE); + buffer.resize(permutation->block_size()); } /* diff --git a/src/stream/ofb/ofb.h b/src/stream/ofb/ofb.h index af771de15..587a30bab 100644 --- a/src/stream/ofb/ofb.h +++ b/src/stream/ofb/ofb.h @@ -24,7 +24,7 @@ class BOTAN_DLL OFB : public StreamCipher void set_iv(const byte iv[], size_t iv_len); bool valid_iv_length(size_t iv_len) const - { return (iv_len <= permutation->BLOCK_SIZE); } + { return (iv_len <= permutation->block_size()); } std::string name() const; |