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/algo_base/transform.h | |
parent | 4874b0727843bba925bcd3b5c0659c5f1cb059d9 (diff) |
s/default_nonce_size/default_nonce_length/
Diffstat (limited to 'src/algo_base/transform.h')
-rw-r--r-- | src/algo_base/transform.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/algo_base/transform.h b/src/algo_base/transform.h index 3f4e80b94..2eec9d85b 100644 --- a/src/algo_base/transform.h +++ b/src/algo_base/transform.h @@ -72,7 +72,11 @@ class BOTAN_DLL Transformation : public SymmetricAlgorithm /** * Return the default size for a nonce */ - virtual size_t default_nonce_size() const = 0; + virtual size_t default_nonce_length() const = 0; + + BOTAN_DEPRECATED("Use default_nonce_length") + size_t default_nonce_size() const + { return default_nonce_length(); } /** * Return true iff nonce_len is a valid length for the nonce |