Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
fb341b8
)
crypto-ia32: fix typo in ifdef for avx512 version
96/20096/3
author
Neale Ranns
<nranns@cisco.com>
Wed, 12 Jun 2019 16:04:02 +0000
(09:04 -0700)
committer
Damjan Marion
<dmarion@me.com>
Thu, 13 Jun 2019 20:33:41 +0000
(20:33 +0000)
Type: Fix
Fixes:
dd2423ef
Change-Id: I76f0ed5027161c396186845043f5afe395c20280
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/plugins/crypto_ia32/aes_gcm.c
patch
|
blob
|
history
diff --git
a/src/plugins/crypto_ia32/aes_gcm.c
b/src/plugins/crypto_ia32/aes_gcm.c
index
61a04c4
..
c48ee88
100644
(file)
--- 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);