aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/crypto_native/crypto_native.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2020-01-30 15:46:23 +0100
committerDamjan Marion <dmarion@me.com>2020-01-30 21:39:20 +0000
commit93975e699a89c5a99dcfb9d6b987f71d2af9c835 (patch)
tree361d5a92175d1718bf8142639d78ba58b7a2ff28 /src/plugins/crypto_native/crypto_native.h
parent548d70de68a4156d5bd4148e50a81555a0ef169f (diff)
crypto-native: refactor AES code
- use neutral types in preparation for ARMv8 support - simplify x86 key extraction support Type: refactor Change-Id: I947eb37b8c9d9ee6909bb32ef14c4de192d40a46 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/crypto_native/crypto_native.h')
-rw-r--r--src/plugins/crypto_native/crypto_native.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/crypto_native/crypto_native.h b/src/plugins/crypto_native/crypto_native.h
index 83362102f77..d496cc6f63d 100644
--- a/src/plugins/crypto_native/crypto_native.h
+++ b/src/plugins/crypto_native/crypto_native.h
@@ -22,7 +22,7 @@ typedef void *(crypto_native_key_fn_t) (vnet_crypto_key_t * key);
typedef struct
{
- __m128i cbc_iv[4];
+ u8x16 cbc_iv[4];
} crypto_native_per_thread_data_t;
typedef struct