aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session/application_interface.h
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2019-11-07 13:52:09 +0100
committerFlorin Coras <florin.coras@gmail.com>2019-12-17 17:03:50 +0000
commitd1b9e706841150d0da042a05aab51f19fa804192 (patch)
tree340bcbdd128ff86323eb963631f9f3f018328a67 /src/vnet/session/application_interface.h
parent70ae4efaa9b719a0bc84345143a1a4d3944a70fe (diff)
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>
Diffstat (limited to 'src/vnet/session/application_interface.h')
-rw-r--r--src/vnet/session/application_interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/application_interface.h b/src/vnet/session/application_interface.h
index ec29d18b59b..a40aa9d9a7f 100644
--- a/src/vnet/session/application_interface.h
+++ b/src/vnet/session/application_interface.h
@@ -182,6 +182,7 @@ typedef struct crypto_ctx_
u32 n_subscribers; /**< refcount of sessions using said context */
u32 ckpair_index; /**< certificate & key */
u8 crypto_engine;
+ void *data; /**< protocol specific data */
} crypto_context_t;
/* Application attach options */