summaryrefslogtreecommitdiffstats
path: root/src/vnet/crypto
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2019-03-20 16:30:54 +0100
committerDamjan Marion <dmarion@me.com>2019-03-20 17:24:31 +0000
commit8863123badb7fea96a8a4dfc39131ce40161eee6 (patch)
treea5602b7395f41a94fb41fe3691d324de0f19f7ac /src/vnet/crypto
parentf2edfbd2122bbf746a8e91cb343331fb843ee5eb (diff)
crypto: add hmac truncate option
This reverts commit 785368e559dbdf50676f74f43f13423c817abb52. Change-Id: I782ac2be4e161790c73ccd4b08492e2188a6d79d Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/crypto')
-rw-r--r--src/vnet/crypto/crypto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/crypto/crypto.h b/src/vnet/crypto/crypto.h
index 4c9467f272f..7b65aa5c43d 100644
--- a/src/vnet/crypto/crypto.h
+++ b/src/vnet/crypto/crypto.h
@@ -77,7 +77,7 @@ typedef struct
CLIB_CACHE_LINE_ALIGN_MARK (cacheline0);
vnet_crypto_op_type_t op:16;
vnet_crypto_op_status_t status:8;
- u8 key_len;
+ u8 key_len, hmac_trunc_len;
u16 flags;
#define VNET_CRYPTO_OP_FLAG_INIT_IV 1
u32 len;