From: Florin Coras Date: Thu, 20 May 2021 20:48:33 +0000 (-0700) Subject: quic: make sure aead crypto context matches quicly X-Git-Tag: v21.10-rc0~28 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F06%2F32406%2F3;p=vpp.git quic: make sure aead crypto context matches quicly Type: fix Signed-off-by: Florin Coras Change-Id: I8003198c15cd511750dc7eaae025025c733c059c --- 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