diff options
author | Florin Coras <fcoras@cisco.com> | 2021-05-20 13:48:33 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-05-21 06:56:52 +0000 |
commit | 0978ae86705f0327f4e0a47dfa190aa070be411e (patch) | |
tree | ead0b7cd9b71618728116607c15505e3b21955b0 /src | |
parent | 5606c82c7221feba47932bd958ce1d8d9a92ace9 (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')
-rw-r--r-- | src/plugins/quic/quic_crypto.c | 3 |
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 |