diff options
Diffstat (limited to 'src/lib/modes/aead/gcm/gcm.h')
-rw-r--r-- | src/lib/modes/aead/gcm/gcm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/modes/aead/gcm/gcm.h b/src/lib/modes/aead/gcm/gcm.h index 463e69a3b..65b6b0474 100644 --- a/src/lib/modes/aead/gcm/gcm.h +++ b/src/lib/modes/aead/gcm/gcm.h @@ -95,7 +95,7 @@ class BOTAN_DLL GCM_Decryption final : public GCM_Mode size_t output_length(size_t input_length) const override { - BOTAN_ASSERT(input_length > tag_size(), "Sufficient input"); + BOTAN_ASSERT(input_length >= tag_size(), "Sufficient input"); return input_length - tag_size(); } |