Mbed TLS v3.6.2
Loading...
Searching...
No Matches
Deprecated List
File compat-2.x.h
Use the new names directly instead
Global mbedtls_asn1_free_named_data (mbedtls_asn1_named_data *entry)
This function is deprecated and will be removed in a future version of the library. Please use mbedtls_asn1_free_named_data_list() or mbedtls_asn1_free_named_data_list_shallow().
Global MBEDTLS_CIPHER_BLKSIZE_MAX
For the maximum block size of a cipher supported by the CMAC module, use MBEDTLS_CMAC_MAX_BLOCK_SIZE. For the maximum block size of a cipher supported by the cipher module, use MBEDTLS_MAX_BLOCK_LENGTH.
Global mbedtls_ecp_write_key (mbedtls_ecp_keypair *key, unsigned char *buf, size_t buflen)
Note that although this function accepts an output buffer that is smaller or larger than the key, most key import interfaces require the output to have exactly key's nominal length. It is generally simplest to pass the key's nominal length as buflen, after checking that the output buffer is large enough. See the description of the buflen parameter for how to calculate the nominal length. To avoid this difficulty, use mbedtls_ecp_write_key_ext() instead. mbedtls_ecp_write_key() is deprecated and will be removed in a future version of the library.
Global mbedtls_pkcs12_pbe (mbedtls_asn1_buf *pbe_params, int mode, mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type, const unsigned char *pwd, size_t pwdlen, const unsigned char *data, size_t len, unsigned char *output)
This function is deprecated and will be removed in a future version of the library. Please use mbedtls_pkcs12_pbe_ext() instead.
Global mbedtls_pkcs5_pbes2 (const mbedtls_asn1_buf *pbe_params, int mode, const unsigned char *pwd, size_t pwdlen, const unsigned char *data, size_t datalen, unsigned char *output)
This function is deprecated and will be removed in a future version of the library. Please use mbedtls_pkcs5_pbes2_ext() instead.
Global mbedtls_pkcs5_pbkdf2_hmac (mbedtls_md_context_t *ctx, const unsigned char *password, size_t plen, const unsigned char *salt, size_t slen, unsigned int iteration_count, uint32_t key_length, unsigned char *output)
Superseded by mbedtls_pkcs5_pbkdf2_hmac_ext().
Global mbedtls_ssl_conf_curves (mbedtls_ssl_config *conf, const mbedtls_ecp_group_id *curves)
Superseded by mbedtls_ssl_conf_groups().
Global mbedtls_ssl_conf_sig_hashes (mbedtls_ssl_config *conf, const int *hashes)
Superseded by mbedtls_ssl_conf_sig_algs().
Global MBEDTLS_SSL_DTLS_CONNECTION_ID_COMPAT
Support for the legacy version of the DTLS Connection ID feature is deprecated. Please switch to the standardized version defined in RFC 9146 enabled by utilizing MBEDTLS_SSL_DTLS_CONNECTION_ID without use of MBEDTLS_SSL_DTLS_CONNECTION_ID_COMPAT.
Global mbedtls_x509write_crt_set_serial (mbedtls_x509write_cert *ctx, const mbedtls_mpi *serial)
This function is deprecated and will be removed in a future version of the library. Please use mbedtls_x509write_crt_set_serial_raw() instead.
Global PSA_DH_FAMILY_CUSTOM
This value is not useful, so this macro will be removed in a future version of the library.
Global psa_get_key_domain_parameters (const psa_key_attributes_t *attributes, uint8_t *data, size_t data_size, size_t *data_length)
Mbed TLS no longer supports any domain parameters. This function alwaya has an empty output and will be removed in a future version of the library.
Global psa_set_key_domain_parameters (psa_key_attributes_t *attributes, psa_key_type_t type, const uint8_t *data, size_t data_length)
Mbed TLS no longer supports any domain parameters. This function only does the equivalent of psa_set_key_type() and will be removed in a future version of the library.