1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/minimal-examples/crypto
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
..
minimal-crypto-jwe type comparisons: fixes 2021-01-05 10:56:38 +00:00
minimal-crypto-jwk cmake: latest cmake shows dep warnings for scripts < 2.8.12 2020-12-06 19:44:54 +00:00
minimal-crypto-jws type comparisons: fixes 2021-01-05 10:56:38 +00:00
minimal-crypto-x509 tls: mbedtls-3 2021-07-13 13:22:50 +01:00
README.md lws-x509: validation functions 2018-12-31 20:35:54 +08:00

name tests
minimal-crypto-jwe Examples for lws RFC7516 JWE apis
minimal-crypto-jwk Examples for lws RFC7517 JWK apis
minimal-crypto-jws Examples for lws RFC7515 JWS apis
minimal-crypto-x509 Examples for lws X.509 apis