1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib/tls/openssl
Andy Green 4b089788bc tls: mbedtls-3
Adapt mbedtls support for compatibility with v3, while maintaining
compatibility with v2.

Notice v3 has removed the ability to encrypt with pubkey and
decrypt with privkey.  Openssl still has it, atm with v3 these
fall back to encrypt with privkey and decrypt with pubkey.

> The RSA module no longer supports private-key operations with the
> public key or vice versa. As a consequence, RSA operation functions
> no longer have a mode parameter. If you were calling RSA operations
> with the normal mode (public key for verification or encryption,
> private key for signature or decryption), remove the
> MBEDTLS_MODE_PUBLIC or MBEDTLS_MODE_PRIVATE argument. If you were
> calling RSA operations with the wrong mode, which rarely makes sense
>from a security perspective, this is no longer supported.
2021-07-13 13:22:50 +01:00
..
lws-genaes.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
lws-gencrypto.c private.h: rename to contain dir 2019-08-15 10:49:52 +01:00
lws-genec.c windows: doesnt have #warning 2021-03-05 20:08:49 +00:00
lws-genhash.c OpenBSD: various api ports 2021-02-17 11:39:15 +00:00
lws-genrsa.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
openssl-client.c openssl: manage _GNU_SOURCE better 2021-07-08 06:22:47 +01:00
openssl-server.c opensslv3: handle deprecation of EC apis 2021-02-17 11:39:15 +00:00
openssl-session.c tls: client: session cache synthetic cb 2021-04-29 20:03:41 +01:00
openssl-ssl.c tls: fix inbalanced tls restrict borrow/return calls 2021-07-08 06:22:47 +01:00
openssl-tls.c logs: log contexts 2021-07-01 05:20:53 +01:00
openssl-x509.c tls: mbedtls-3 2021-07-13 13:22:50 +01:00
private-lib-tls-openssl.h mbedtls: session cache and resume 2021-04-04 05:44:08 +01:00