|
| 1 | +New deprecations |
| 2 | + * The following cryptographic mechanisms are planned to be removed |
| 3 | + in Mbed TLS 4.0: |
| 4 | + - DES (including 3DES). |
| 5 | + - PKCS#1v1.5 encryption/decryption (RSAES-PKCS1-v1_5). |
| 6 | + (OAEP, PSS, and PKCS#1v1.5 signature are staying.) |
| 7 | + - Finite-field Diffie-Hellman with custom groups. |
| 8 | + (RFC 7919 groups remain supported.) |
| 9 | + - Elliptic curves of size 225 bits or less. |
| 10 | + * The following cipher suites are planned to be removed from (D)TLS 1.2 |
| 11 | + in Mbed TLS 4.0: |
| 12 | + - TLS_RSA_* (including TLS_RSA_PSK_*), i.e. cipher suites using |
| 13 | + RSA decryption. |
| 14 | + (RSA signatures, i.e. TLS_ECDHE_RSA_*, are staying.) |
| 15 | + - TLS_ECDH_*, i.e. cipher suites using static ECDH. |
| 16 | + (Ephemeral ECDH, i.e. TLS_ECDHE_*, is staying.) |
| 17 | + - TLS_DHE_*, i.e. cipher suites using finite-field Diffie-Hellman. |
| 18 | + (Ephemeral ECDH, i.e. TLS_ECDHE_*, is staying.) |
| 19 | + - TLS_*CBC*, i.e. all cipher suites using CBC. |
| 20 | + * The following low-level application interfaces are planned to be removed |
| 21 | + from the public API in Mbed TLS 4.0: |
| 22 | + - Hashes: hkdf.h, md5.h, ripemd160.h, sha1.h, sha3.h, sha256.h, sha512.h; |
| 23 | + - Random generation: ctr_drbg.h, hmac_drbg.h, entropy.h; |
| 24 | + - Ciphers and modes: aes.h, aria.h, camellia.h, chacha20.h, chachapoly.h, |
| 25 | + cipher.h, cmac.h, gcm.h, poly1305.h; |
| 26 | + - Private key encryption mechanisms: pkcs5.h, pkcs12.h. |
| 27 | + - Asymmetric cryptography: bignum.h, dhm.h, ecdh.h, ecdsa.h, ecjpake.h, |
| 28 | + ecp.h, rsa.h. |
| 29 | + The cryptographic mechanisms remain present, but they will only be |
| 30 | + accessible via the PSA API (psa_xxx functions introduced gradually |
| 31 | + starting with Mbed TLS 2.17) and, where relevant, `pk.h`. |
| 32 | + For guidance on migrating application code to the PSA API, please consult |
| 33 | + the PSA transition guide (docs/psa-transition.md). |
| 34 | + * The following integration interfaces are planned to be removed |
| 35 | + in Mbed TLS 4.0: |
| 36 | + - MBEDTLS_xxx_ALT replacement of cryptographic modules and functions. |
| 37 | + Use PSA transparent drivers instead. |
| 38 | + - MBEDTLS_PK_RSA_ALT and MBEDTLS_PSA_CRYPTO_SE_C. |
| 39 | + Use PSA opaque drivers instead. |
0 commit comments