diff options
author | lloyd <[email protected]> | 2013-12-10 03:30:24 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2013-12-10 03:30:24 +0000 |
commit | 748d7fd4b622ee3c9d95343e02ed945c217507f7 (patch) | |
tree | d2d1d58147b5b723b37f02133735ebca9bebd6ad /src/block/threefish | |
parent | 4874b0727843bba925bcd3b5c0659c5f1cb059d9 (diff) |
s/default_nonce_size/default_nonce_length/
Diffstat (limited to 'src/block/threefish')
-rw-r--r-- | src/block/threefish/threefish.cpp | 4 | ||||
-rw-r--r-- | src/block/threefish/threefish.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/block/threefish/threefish.cpp b/src/block/threefish/threefish.cpp index 5877235ab..310fd0f69 100644 --- a/src/block/threefish/threefish.cpp +++ b/src/block/threefish/threefish.cpp @@ -142,14 +142,14 @@ size_t Threefish_512::minimum_final_size() const return 0; } -size_t Threefish_512::default_nonce_size() const +size_t Threefish_512::default_nonce_length() const { return 16; } bool Threefish_512::valid_nonce_length(size_t nonce_len) const { - return default_nonce_size() == nonce_len; + return default_nonce_length() == nonce_len; } void Threefish_512::clear() diff --git a/src/block/threefish/threefish.h b/src/block/threefish/threefish.h index 8fa758b12..b7806a93d 100644 --- a/src/block/threefish/threefish.h +++ b/src/block/threefish/threefish.h @@ -30,7 +30,7 @@ class BOTAN_DLL Threefish_512 : public Transformation size_t minimum_final_size() const override; - size_t default_nonce_size() const override; + size_t default_nonce_length() const override; bool valid_nonce_length(size_t nonce_len) const override; |