PolarSSL is now part of ARM Official announcement and rebranded as mbed TLS.

API Documentation (Doxygen generated)

These pages are generated with doxygen directly from the source code!

Deprecated List
File compat-1.3.h
Use the new names directly instead
Global mbedtls_aes_decrypt (mbedtls_aes_context *ctx, const unsigned char input[16], unsigned char output[16])
Superseded by mbedtls_aes_decrypt_ext() in 2.5.0.
Global mbedtls_aes_encrypt (mbedtls_aes_context *ctx, const unsigned char input[16], unsigned char output[16])
Superseded by mbedtls_aes_encrypt_ext() in 2.5.0.
Global MBEDTLS_DHM_RFC3526_MODP_2048_P
The hex-encoded primes from RFC 3625 are deprecated and superseded by the corresponding macros providing them as binary constants. Their hex-encoded constants are likely to be removed in a future version of the library.
Global MBEDTLS_DHM_RFC5114_MODP_2048_P
The hex-encoded primes from RFC 5114 are deprecated and are likely to be removed in a future version of the library without replacement.
Global mbedtls_ecdsa_write_signature_det (mbedtls_ecdsa_context *ctx, const unsigned char *hash, size_t hlen, unsigned char *sig, size_t *slen, mbedtls_md_type_t md_alg) MBEDTLS_DEPRECATED
Superseded by mbedtls_ecdsa_write_signature() in Mbed TLS version 2.0 and later.
Global mbedtls_md2 (const unsigned char *input, size_t ilen, unsigned char output[16])
Superseded by mbedtls_md2_ret() in 2.7.0
Global mbedtls_md2_finish (mbedtls_md2_context *ctx, unsigned char output[16])
Superseded by mbedtls_md2_finish_ret() in 2.7.0
Global mbedtls_md2_process (mbedtls_md2_context *ctx)
Superseded by mbedtls_internal_md2_process() in 2.7.0
Global mbedtls_md2_starts (mbedtls_md2_context *ctx)
Superseded by mbedtls_md2_starts_ret() in 2.7.0
Global mbedtls_md2_update (mbedtls_md2_context *ctx, const unsigned char *input, size_t ilen)
Superseded by mbedtls_md2_update_ret() in 2.7.0
Global mbedtls_md4 (const unsigned char *input, size_t ilen, unsigned char output[16])
Superseded by mbedtls_md4_ret() in 2.7.0
Global mbedtls_md4_finish (mbedtls_md4_context *ctx, unsigned char output[16])
Superseded by mbedtls_md4_finish_ret() in 2.7.0
Global mbedtls_md4_process (mbedtls_md4_context *ctx, const unsigned char data[64])
Superseded by mbedtls_internal_md4_process() in 2.7.0
Global mbedtls_md4_starts (mbedtls_md4_context *ctx)
Superseded by mbedtls_md4_starts_ret() in 2.7.0
Global mbedtls_md4_update (mbedtls_md4_context *ctx, const unsigned char *input, size_t ilen)
Superseded by mbedtls_md4_update_ret() in 2.7.0
Global mbedtls_md5 (const unsigned char *input, size_t ilen, unsigned char output[16])
Superseded by mbedtls_md5_ret() in 2.7.0
Global mbedtls_md5_finish (mbedtls_md5_context *ctx, unsigned char output[16])
Superseded by mbedtls_md5_finish_ret() in 2.7.0
Global mbedtls_md5_process (mbedtls_md5_context *ctx, const unsigned char data[64])
Superseded by mbedtls_internal_md5_process() in 2.7.0
Global mbedtls_md5_starts (mbedtls_md5_context *ctx)
Superseded by mbedtls_md5_starts_ret() in 2.7.0
Global mbedtls_md5_update (mbedtls_md5_context *ctx, const unsigned char *input, size_t ilen)
Superseded by mbedtls_md5_update_ret() in 2.7.0
Global mbedtls_md_init_ctx (mbedtls_md_context_t *ctx, const mbedtls_md_info_t *md_info) MBEDTLS_DEPRECATED
Superseded by mbedtls_md_setup() in 2.0.0
Global mbedtls_ripemd160 (const unsigned char *input, size_t ilen, unsigned char output[20])
Superseded by mbedtls_ripemd160_ret() in 2.7.0
Global mbedtls_ripemd160_finish (mbedtls_ripemd160_context *ctx, unsigned char output[20])
Superseded by mbedtls_ripemd160_finish_ret() in 2.7.0
Global mbedtls_ripemd160_process (mbedtls_ripemd160_context *ctx, const unsigned char data[64])
Superseded by mbedtls_internal_ripemd160_process() in 2.7.0
Global mbedtls_ripemd160_starts (mbedtls_ripemd160_context *ctx)
Superseded by mbedtls_ripemd160_starts_ret() in 2.7.0
Global mbedtls_ripemd160_update (mbedtls_ripemd160_context *ctx, const unsigned char *input, size_t ilen)
Superseded by mbedtls_ripemd160_update_ret() in 2.7.0
Global mbedtls_rsa_pkcs1_decrypt (mbedtls_rsa_context *ctx, int(*f_rng)(void *, unsigned char *, size_t), void *p_rng, int mode, size_t *olen, const unsigned char *input, unsigned char *output, size_t output_max_len)
It is deprecated and discouraged to call this function in MBEDTLS_RSA_PUBLIC mode. Future versions of the library are likely to remove the mode argument and have it implicitly set to MBEDTLS_RSA_PRIVATE.
Global mbedtls_rsa_pkcs1_encrypt (mbedtls_rsa_context *ctx, int(*f_rng)(void *, unsigned char *, size_t), void *p_rng, int mode, size_t ilen, const unsigned char *input, unsigned char *output)
It is deprecated and discouraged to call this function in MBEDTLS_RSA_PRIVATE mode. Future versions of the library are likely to remove the mode argument and have it implicitly set to MBEDTLS_RSA_PUBLIC.
Global mbedtls_rsa_pkcs1_sign (mbedtls_rsa_context *ctx, int(*f_rng)(void *, unsigned char *, size_t), void *p_rng, int mode, mbedtls_md_type_t md_alg, unsigned int hashlen, const unsigned char *hash, unsigned char *sig)
It is deprecated and discouraged to call this function in MBEDTLS_RSA_PUBLIC mode. Future versions of the library are likely to remove the mode argument and have it implicitly set to MBEDTLS_RSA_PRIVATE.
Global mbedtls_rsa_pkcs1_verify (mbedtls_rsa_context *ctx, int(*f_rng)(void *, unsigned char *, size_t), void *p_rng, int mode, mbedtls_md_type_t md_alg, unsigned int hashlen, const unsigned char *hash, const unsigned char *sig)
It is deprecated and discouraged to call this function in MBEDTLS_RSA_PRIVATE mode. Future versions of the library are likely to remove the mode argument and have it set to MBEDTLS_RSA_PUBLIC.
Global mbedtls_rsa_rsaes_oaep_decrypt (mbedtls_rsa_context *ctx, int(*f_rng)(void *, unsigned char *, size_t), void *p_rng, int mode, const unsigned char *label, size_t label_len, size_t *olen, const unsigned char *input, unsigned char *output, size_t output_max_len)
It is deprecated and discouraged to call this function in MBEDTLS_RSA_PUBLIC mode. Future versions of the library are likely to remove the mode argument and have it implicitly set to MBEDTLS_RSA_PRIVATE.
Global mbedtls_rsa_rsaes_oaep_encrypt (mbedtls_rsa_context *ctx, int(*f_rng)(void *, unsigned char *, size_t), void *p_rng, int mode, const unsigned char *label, size_t label_len, size_t ilen, const unsigned char *input, unsigned char *output)
It is deprecated and discouraged to call this function in MBEDTLS_RSA_PRIVATE mode. Future versions of the library are likely to remove the mode argument and have it implicitly set to MBEDTLS_RSA_PUBLIC.
Global mbedtls_rsa_rsaes_pkcs1_v15_decrypt (mbedtls_rsa_context *ctx, int(*f_rng)(void *, unsigned char *, size_t), void *p_rng, int mode, size_t *olen, const unsigned char *input, unsigned char *output, size_t output_max_len)
It is deprecated and discouraged to call this function in MBEDTLS_RSA_PUBLIC mode. Future versions of the library are likely to remove the mode argument and have it implicitly set to MBEDTLS_RSA_PRIVATE.
Global mbedtls_rsa_rsaes_pkcs1_v15_encrypt (mbedtls_rsa_context *ctx, int(*f_rng)(void *, unsigned char *, size_t), void *p_rng, int mode, size_t ilen, const unsigned char *input, unsigned char *output)
It is deprecated and discouraged to call this function in MBEDTLS_RSA_PRIVATE mode. Future versions of the library are likely to remove the mode argument and have it implicitly set to MBEDTLS_RSA_PUBLIC.
Global mbedtls_rsa_rsassa_pkcs1_v15_sign (mbedtls_rsa_context *ctx, int(*f_rng)(void *, unsigned char *, size_t), void *p_rng, int mode, mbedtls_md_type_t md_alg, unsigned int hashlen, const unsigned char *hash, unsigned char *sig)
It is deprecated and discouraged to call this function in MBEDTLS_RSA_PUBLIC mode. Future versions of the library are likely to remove the mode argument and have it implicitly set to MBEDTLS_RSA_PRIVATE.
Global mbedtls_rsa_rsassa_pkcs1_v15_verify (mbedtls_rsa_context *ctx, int(*f_rng)(void *, unsigned char *, size_t), void *p_rng, int mode, mbedtls_md_type_t md_alg, unsigned int hashlen, const unsigned char *hash, const unsigned char *sig)
It is deprecated and discouraged to call this function in MBEDTLS_RSA_PRIVATE mode. Future versions of the library are likely to remove the mode argument and have it set to MBEDTLS_RSA_PUBLIC.
Global mbedtls_rsa_rsassa_pss_sign (mbedtls_rsa_context *ctx, int(*f_rng)(void *, unsigned char *, size_t), void *p_rng, int mode, mbedtls_md_type_t md_alg, unsigned int hashlen, const unsigned char *hash, unsigned char *sig)
It is deprecated and discouraged to call this function in MBEDTLS_RSA_PUBLIC mode. Future versions of the library are likely to remove the mode argument and have it implicitly set to MBEDTLS_RSA_PRIVATE.
Global mbedtls_rsa_rsassa_pss_verify (mbedtls_rsa_context *ctx, int(*f_rng)(void *, unsigned char *, size_t), void *p_rng, int mode, mbedtls_md_type_t md_alg, unsigned int hashlen, const unsigned char *hash, const unsigned char *sig)
It is deprecated and discouraged to call this function in MBEDTLS_RSA_PRIVATE mode. Future versions of the library are likely to remove the mode argument and have it implicitly set to MBEDTLS_RSA_PUBLIC.
Global mbedtls_sha1 (const unsigned char *input, size_t ilen, unsigned char output[20])
Superseded by mbedtls_sha1_ret() in 2.7.0
Global mbedtls_sha1_finish (mbedtls_sha1_context *ctx, unsigned char output[20])
Superseded by mbedtls_sha1_finish_ret() in 2.7.0.
Global mbedtls_sha1_process (mbedtls_sha1_context *ctx, const unsigned char data[64])
Superseded by mbedtls_internal_sha1_process() in 2.7.0.
Global mbedtls_sha1_starts (mbedtls_sha1_context *ctx)
Superseded by mbedtls_sha1_starts_ret() in 2.7.0.
Global mbedtls_sha1_update (mbedtls_sha1_context *ctx, const unsigned char *input, size_t ilen)
Superseded by mbedtls_sha1_update_ret() in 2.7.0.
Global mbedtls_sha256 (const unsigned char *input, size_t ilen, unsigned char output[32], int is224)
Superseded by mbedtls_sha256_ret() in 2.7.0.
Global mbedtls_sha256_finish (mbedtls_sha256_context *ctx, unsigned char output[32])
Superseded by mbedtls_sha256_finish_ret() in 2.7.0.
Global mbedtls_sha256_process (mbedtls_sha256_context *ctx, const unsigned char data[64])
Superseded by mbedtls_internal_sha256_process() in 2.7.0.
Global mbedtls_sha256_starts (mbedtls_sha256_context *ctx, int is224)
Superseded by mbedtls_sha256_starts_ret() in 2.7.0.
Global mbedtls_sha256_update (mbedtls_sha256_context *ctx, const unsigned char *input, size_t ilen)
Superseded by mbedtls_sha256_update_ret() in 2.7.0.
Global mbedtls_sha512 (const unsigned char *input, size_t ilen, unsigned char output[64], int is384)
Superseded by mbedtls_sha512_ret() in 2.7.0
Global mbedtls_sha512_finish (mbedtls_sha512_context *ctx, unsigned char output[64])
Superseded by mbedtls_sha512_finish_ret() in 2.7.0.
Global mbedtls_sha512_process (mbedtls_sha512_context *ctx, const unsigned char data[128])
Superseded by mbedtls_internal_sha512_process() in 2.7.0.
Global mbedtls_sha512_starts (mbedtls_sha512_context *ctx, int is384)
Superseded by mbedtls_sha512_starts_ret() in 2.7.0
Global mbedtls_sha512_update (mbedtls_sha512_context *ctx, const unsigned char *input, size_t ilen)
Superseded by mbedtls_sha512_update_ret() in 2.7.0.
Global mbedtls_ssl_conf_dh_param (mbedtls_ssl_config *conf, const char *dhm_P, const char *dhm_G)
Superseded by mbedtls_ssl_conf_dh_param_bin.
File net.h
Superseded by mbedtls/net_sockets.h