1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/lib/tls/mbedtls/wrapper/include/internal
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
..
ssl3.h tls: split out common, openssl and mbedtls code 2017-10-25 07:17:29 +08:00
ssl_cert.h tls: mbedtls-3 2021-07-13 13:22:50 +01:00
ssl_code.h tls: split out common, openssl and mbedtls code 2017-10-25 07:17:29 +08:00
ssl_dbg.h private.h: rename to contain dir 2019-08-15 10:49:52 +01:00
ssl_lib.h tls: split out common, openssl and mbedtls code 2017-10-25 07:17:29 +08:00
ssl_methods.h tls: split out common, openssl and mbedtls code 2017-10-25 07:17:29 +08:00
ssl_pkey.h tls: mbedtls-3 2021-07-13 13:22:50 +01:00
ssl_stack.h tls: split out common, openssl and mbedtls code 2017-10-25 07:17:29 +08:00
ssl_types.h tls: mbedtls-3 2021-07-13 13:22:50 +01:00
ssl_x509.h tls: lws_system per-connection client certs 2019-12-09 14:48:54 +00:00
tls1.h tls: split out common, openssl and mbedtls code 2017-10-25 07:17:29 +08:00
x509_vfy.h mbedtls: wrapper: avoid redefine forward-typedef of X509_STORE_CTX 2019-07-29 00:37:06 +01:00