aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2015-03-15 03:12:37 +0000
committerlloyd <[email protected]>2015-03-15 03:12:37 +0000
commiteba1294cac0d0b069e6a7a156984a0e3fce050a8 (patch)
tree4408cb1d6004e2b8c341591e221b245cc8f11326 /src
parentbdce6b1eea8fecaa64d2e56ceb748febec0351c9 (diff)
Consider AES-NI as implying SSSE3 which lets us merge two of the
amalgamation objects (aes_ni and clmul). The real advantage is for the static link, as GCM will pull in clmul via its reference, which is sufficient to also pull the AES impl into the link.
Diffstat (limited to 'src')
-rw-r--r--src/build-data/cc/clang.txt2
-rw-r--r--src/build-data/cc/gcc.txt2
-rw-r--r--src/lib/modes/aead/gcm/clmul/info.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt
index cbb68bb21..9216c12c9 100644
--- a/src/build-data/cc/clang.txt
+++ b/src/build-data/cc/clang.txt
@@ -38,7 +38,7 @@ sse4.1 -> "-msse4.1"
sse4.2 -> "-msse4.2"
avx2 -> "-mavx2"
bmi2 -> "-mbmi2"
-aesni -> "-maes -mpclmul"
+aesni -> "-maes -mpclmul -mssse3"
rdrand -> "-mrdrnd"
sha -> "-msha"
altivec -> "-maltivec"
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index a22450f3b..324f51071 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -43,7 +43,7 @@ sse4.1 -> "-msse4.1"
sse4.2 -> "-msse4.2"
avx2 -> "-mavx2"
bmi2 -> "-mbmi2"
-aesni -> "-maes -mpclmul"
+aesni -> "-maes -mpclmul -mssse3"
rdrand -> "-mrdrnd"
sha -> "-msha"
altivec -> "-maltivec"
diff --git a/src/lib/modes/aead/gcm/clmul/info.txt b/src/lib/modes/aead/gcm/clmul/info.txt
index b568c6b01..098aa16f9 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 aesni,ssse3
+need_isa aesni
<header:internal>
clmul.h