aboutsummaryrefslogtreecommitdiffstats
path: root/src/modes/aead/ccm/ccm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modes/aead/ccm/ccm.cpp')
-rw-r--r--src/modes/aead/ccm/ccm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modes/aead/ccm/ccm.cpp b/src/modes/aead/ccm/ccm.cpp
index fb35172cc..50fc38738 100644
--- a/src/modes/aead/ccm/ccm.cpp
+++ b/src/modes/aead/ccm/ccm.cpp
@@ -47,7 +47,7 @@ bool CCM_Mode::valid_nonce_length(size_t n) const
return (n == (15-L()));
}
-size_t CCM_Mode::default_nonce_size() const
+size_t CCM_Mode::default_nonce_length() const
{
return (15-L());
}