aboutsummaryrefslogtreecommitdiffstats
path: root/src/modes/xts/xts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modes/xts/xts.cpp')
-rw-r--r--src/modes/xts/xts.cpp2
1 files changed, 1 insertions, 1 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();
}