summaryrefslogtreecommitdiffstats
path: root/src/plugins/crypto_ia32
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-06-12 09:04:02 -0700
committerDamjan Marion <dmarion@me.com>2019-06-13 20:33:41 +0000
commitd0efdeb60267b9daf939e9bc9dd4141d2623bfaf (patch)
tree7a747bb15048102fa776b3166899a1f1677933e4 /src/plugins/crypto_ia32
parentfb341b87a901ec3b2cb6ff08c1f6278afd0e8086 (diff)
crypto-ia32: fix typo in ifdef for avx512 version
Type: Fix Fixes: dd2423ef Change-Id: I76f0ed5027161c396186845043f5afe395c20280 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/plugins/crypto_ia32')
-rw-r--r--src/plugins/crypto_ia32/aes_gcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/crypto_ia32/aes_gcm.c b/src/plugins/crypto_ia32/aes_gcm.c
index 61a04c45b24..c48ee8847b1 100644
--- a/src/plugins/crypto_ia32/aes_gcm.c
+++ b/src/plugins/crypto_ia32/aes_gcm.c
@@ -73,7 +73,7 @@ aesni_gcm_load_partial (__m128i * p, int n_bytes)
static_always_inline void
aesni_gcm_store_partial (void *p, __m128i r, int n_bytes)
{
-#ifdef x__AVX512F__
+#ifdef __AVX512F__
_mm_mask_storeu_epi8 (p, (1 << n_bytes) - 1, r);
#else
u8x16 mask = u8x16_is_greater (u8x16_splat (n_bytes), byte_mask_scale);