quic: Implement crypto contexts 10/23310/15
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>
Thu, 7 Nov 2019 12:52:09 +0000 (13:52 +0100)
committerFlorin Coras <florin.coras@gmail.com>
Tue, 17 Dec 2019 17:03:50 +0000 (17:03 +0000)
commitd1b9e706841150d0da042a05aab51f19fa804192
tree340bcbdd128ff86323eb963631f9f3f018328a67
parent70ae4efaa9b719a0bc84345143a1a4d3944a70fe
quic: Implement crypto contexts

Type: feature

Make quic use the crypto contexts. This introduces a crypto context
pool backed by a hashtable giving ctx indexes by connect params
(ckpair, engine, rx & tx fifo sizes).
Applications keep the initialization vector common.

Change-Id: I22ed6711196cd70a2f2f74240f12113c7af8dfcd
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
src/plugins/quic/quic.c
src/plugins/quic/quic.h
src/vnet/session/application.h
src/vnet/session/application_interface.h