libwebsockets/lib/tls/mbedtls
Andy Green d4820ef5db cao: Connection Attempt Object
Wrap struct lws_conmon into an lws_cao_t, and give that its own lifecycle
distinct from any wsi.

Conmon contains what we want, but it was composed into the wsi and so had
to follow its single wsi's lifecycle.

Let's give it its own lifecycle independent of the wsi it happened to be
born for, and wrap it with an lws_cao_t that can contain private things.
We can still present the lws_conmon_t unchanged to the public apis that
expect it.

Client wsi with the connection have at least one CAO, the HEAD CAO is taken
as the active one for a wsi, it may acquire other "losing" CAOs as it goes
along.

desc moves into this new CAO, it's a bit messy because only client
connections have CAOs, but server connections and listeners have desc.  So
we have a .desc in the wsi still for that, and desc in the CAO for client,
and new helpers to take care of which to use.
2022-05-16 16:49:39 +01:00
..
wrapper mbedtls: some versions need x509 overallocation 2022-04-23 07:39:43 +01:00
CMakeLists.txt cmake: mbedtls: extra CMAKE_REQUIRED_INCLUDES 2021-07-13 08:27:27 +01:00
lws-genaes.c tls: mbedtls-3 2021-07-13 13:22:50 +01:00
lws-gencrypto.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
lws-genec.c cose: keys and signing + validation 2021-08-31 05:45:35 +01:00
lws-genhash.c tls: mbedtls-3 2021-07-13 13:22:50 +01:00
lws-genrsa.c cose: keys and signing + validation 2021-08-31 05:45:35 +01:00
mbedtls-client.c cao: Connection Attempt Object 2022-05-16 16:49:39 +01:00
mbedtls-extensions.c mbedtls: v3.1 reverts privacy of mbedtls_net_context fd 2022-03-15 10:28:09 +00:00
mbedtls-server.c base64: improve sanity checking 2022-03-25 08:18:30 +00:00
mbedtls-session.c mbedtls: sessions: clean session on bail path 2021-07-13 08:27:20 +01:00
mbedtls-ssl.c cao: Connection Attempt Object 2022-05-16 16:49:39 +01:00
mbedtls-tls.c logs: introduce log_cx 2021-07-01 05:20:53 +01:00
mbedtls-x509.c mbedtls: v3.1 reverts privacy of mbedtls_net_context fd 2022-03-15 10:28:09 +00:00
private-lib-tls-mbedtls.h mbedtls: add AKID and SKID support 2021-06-22 15:55:29 +01:00