summaryrefslogtreecommitdiffstats
path: root/src/plugins/quic/quic_crypto.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-05-20 13:48:33 -0700
committerDamjan Marion <dmarion@me.com>2021-05-21 06:56:52 +0000
commit0978ae86705f0327f4e0a47dfa190aa070be411e (patch)
treeead0b7cd9b71618728116607c15505e3b21955b0 /src/plugins/quic/quic_crypto.c
parent5606c82c7221feba47932bd958ce1d8d9a92ace9 (diff)
quic: make sure aead crypto context matches quicly
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I8003198c15cd511750dc7eaae025025c733c059c
Diffstat (limited to 'src/plugins/quic/quic_crypto.c')
-rw-r--r--src/plugins/quic/quic_crypto.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/quic/quic_crypto.c b/src/plugins/quic/quic_crypto.c
index 05211cd310d..602b3f8570c 100644
--- a/src/plugins/quic/quic_crypto.c
+++ b/src/plugins/quic/quic_crypto.c
@@ -36,11 +36,12 @@ struct cipher_context_t
struct aead_crypto_context_t
{
ptls_aead_context_t super;
+ EVP_CIPHER_CTX *evp_ctx;
+ uint8_t static_iv[PTLS_MAX_IV_SIZE];
vnet_crypto_op_t op;
u32 key_index;
vnet_crypto_op_id_t id;
uint8_t iv[PTLS_MAX_IV_SIZE];
- uint8_t static_iv[PTLS_MAX_IV_SIZE];
};
static int