aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/modes/aead/gcm/clmul/info.txt2
-rw-r--r--src/lib/modes/aead/gcm/gcm.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/modes/aead/gcm/clmul/info.txt b/src/lib/modes/aead/gcm/clmul/info.txt
index 8a21b6ac2..b568c6b01 100644
--- a/src/lib/modes/aead/gcm/clmul/info.txt
+++ b/src/lib/modes/aead/gcm/clmul/info.txt
@@ -1,7 +1,7 @@
define GCM_CLMUL 20131227
-need_isa clmul,ssse3
+need_isa aesni,ssse3
<header:internal>
clmul.h
diff --git a/src/lib/modes/aead/gcm/gcm.cpp b/src/lib/modes/aead/gcm/gcm.cpp
index e4a2ad85c..049df4686 100644
--- a/src/lib/modes/aead/gcm/gcm.cpp
+++ b/src/lib/modes/aead/gcm/gcm.cpp
@@ -182,7 +182,7 @@ std::string GCM_Mode::name() const
size_t GCM_Mode::update_granularity() const
{
- return 4096; // CTR-BE's internal block size
+ return BS;
}
Key_Length_Specification GCM_Mode::key_spec() const