Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
crypto: improve key handling
[vpp.git]
/
src
/
plugins
/
crypto_ia32
/
aesni.h
diff --git
a/src/plugins/crypto_ia32/aesni.h
b/src/plugins/crypto_ia32/aesni.h
index
28e09fc
..
80e30e5
100644
(file)
--- a/
src/plugins/crypto_ia32/aesni.h
+++ b/
src/plugins/crypto_ia32/aesni.h
@@
-18,6
+18,13
@@
#ifndef __aesni_h__
#define __aesni_h__
+
+typedef struct
+{
+ __m128i encrypt_key[15];
+ __m128i decrypt_key[15];
+} aesni_key_data_t;
+
typedef enum
{
AESNI_KEY_128 = 0,