aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/modes/aead/gcm/gcm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/modes/aead/gcm/gcm.cpp b/src/lib/modes/aead/gcm/gcm.cpp
index 4bace1073..bc48804e6 100644
--- a/src/lib/modes/aead/gcm/gcm.cpp
+++ b/src/lib/modes/aead/gcm/gcm.cpp
@@ -59,7 +59,7 @@ std::string GCM_Mode::provider() const
size_t GCM_Mode::update_granularity() const
{
- return GCM_BS;
+ return GCM_BS * BOTAN_BLOCK_CIPHER_PAR_MULT;
}
bool GCM_Mode::valid_nonce_length(size_t len) const