tls: cleanup engine hs cb and improve ctx formatting 87/39687/6
authorFlorin Coras <fcoras@cisco.com>
Tue, 17 Oct 2023 18:59:49 +0000 (11:59 -0700)
committerDave Barach <vpp@barachs.net>
Thu, 26 Sep 2024 20:44:34 +0000 (20:44 +0000)
commitd0e8bd75f6371d09f31f48ffaf5843dce86ca8e6
tree60afbb7769d3c4abce413d5055387ef031c975d5
parent2193fd06492ee0f9a8c9b89fe665ecbc4d50cefe
tls: cleanup engine hs cb and improve ctx formatting

Handshake completion is now tracked via a ctx flag so we no longer need
ctx_handshake_is_over.

Also, as we no longer prealloc application sessions, improve ctx state
formatting.

Type: improvement

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: If48588ecde13e56fb99d1a46238bda53ed4eae1b
src/plugins/tlsmbedtls/tls_mbedtls.c
src/plugins/tlsopenssl/tls_openssl.c
src/plugins/tlspicotls/tls_picotls.c
src/vnet/tls/tls.c
src/vnet/tls/tls.h
src/vnet/tls/tls_inlines.h