aboutsummaryrefslogtreecommitdiffstats
path: root/src/modes/xts
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-12-10 03:30:24 +0000
committerlloyd <[email protected]>2013-12-10 03:30:24 +0000
commit748d7fd4b622ee3c9d95343e02ed945c217507f7 (patch)
treed2d1d58147b5b723b37f02133735ebca9bebd6ad /src/modes/xts
parent4874b0727843bba925bcd3b5c0659c5f1cb059d9 (diff)
s/default_nonce_size/default_nonce_length/
Diffstat (limited to 'src/modes/xts')
-rw-r--r--src/modes/xts/xts.cpp2
-rw-r--r--src/modes/xts/xts.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modes/xts/xts.cpp b/src/modes/xts/xts.cpp
index 80b7ed7f3..02da5fa5d 100644
--- a/src/modes/xts/xts.cpp
+++ b/src/modes/xts/xts.cpp
@@ -86,7 +86,7 @@ Key_Length_Specification XTS_Mode::key_spec() const
return cipher().key_spec().multiple(2);
}
-size_t XTS_Mode::default_nonce_size() const
+size_t XTS_Mode::default_nonce_length() const
{
return cipher().block_size();
}
diff --git a/src/modes/xts/xts.h b/src/modes/xts/xts.h
index a1f0f1626..49f2a3458 100644
--- a/src/modes/xts/xts.h
+++ b/src/modes/xts/xts.h
@@ -30,7 +30,7 @@ class BOTAN_DLL XTS_Mode : public Cipher_Mode
Key_Length_Specification key_spec() const override;
- size_t default_nonce_size() const override;
+ size_t default_nonce_length() const override;
bool valid_nonce_length(size_t n) const override;