summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/application.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-10-20 19:32:47 -0700
committerDamjan Marion <dmarion@me.com>2019-10-21 10:46:09 +0000
commit79ba25d40248ceba3efb232952282678b5a7f910 (patch)
treeb6f27b8d1f1e539ee925778fc91a055a60443b6f /src/vnet/session/application.h
parentef7cbf6adf1882af4d4ae8657632d4a2a59efcb2 (diff)
session: support registration of custom crypto engines
Type: feature Change-Id: I888d415ff645b3827df7d4cfb0d3c5f4ac940617 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/application.h')
-rw-r--r--src/vnet/session/application.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/vnet/session/application.h b/src/vnet/session/application.h
index a853c3cb73a..08117b744f1 100644
--- a/src/vnet/session/application.h
+++ b/src/vnet/session/application.h
@@ -139,6 +139,11 @@ typedef struct app_main_
* Pool from which we allocate certificates (key, cert)
*/
app_cert_key_pair_t *cert_key_pair_store;
+
+ /*
+ * Last registered crypto engine type
+ */
+ crypto_engine_type_t last_crypto_engine;
} app_main_t;
typedef struct app_init_args_
@@ -291,6 +296,9 @@ int mq_send_session_connected_cb (u32 app_wrk_index, u32 api_context,
void mq_send_unlisten_reply (app_worker_t * app_wrk, session_handle_t sh,
u32 context, int rv);
+crypto_engine_type_t app_crypto_engine_type_add (void);
+u8 app_crypto_engine_n_types (void);
+
#endif /* SRC_VNET_SESSION_APPLICATION_H_ */
/*