Lines Matching refs:mbedtls_calloc

36 #define mbedtls_calloc    calloc  macro
202 dst->peer_cert = mbedtls_calloc( 1, sizeof(mbedtls_x509_crt) ); in mbedtls_ssl_session_copy()
220 mbedtls_calloc( 1, src->peer_cert_digest_len ); in mbedtls_ssl_session_copy()
236 dst->ticket = mbedtls_calloc( 1, src->ticket_len ); in mbedtls_ssl_session_copy()
251 unsigned char* resized_buffer = mbedtls_calloc( 1, len_new ); in resize_buffer()
422 tmp = mbedtls_calloc( 1, tmp_len ); in tls1_prf()
710 tmp = mbedtls_calloc( 1, tmp_len ); in tls_prf_generic()
1797 ssl->compress_buf = mbedtls_calloc( 1, MBEDTLS_SSL_COMPRESS_BUFFER_LEN ); in mbedtls_ssl_derive_keys()
2818 mbedtls_calloc( 1, MBEDTLS_SSL_PEER_CERT_DIGEST_DFL_LEN ); in ssl_remember_peer_crt_digest()
2921 chain = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ); in mbedtls_ssl_parse_certificate()
3839 ssl->transform_negotiate = mbedtls_calloc( 1, sizeof(mbedtls_ssl_transform) ); in ssl_handshake_init()
3844 ssl->session_negotiate = mbedtls_calloc( 1, sizeof(mbedtls_ssl_session) ); in ssl_handshake_init()
3849 ssl->handshake = mbedtls_calloc( 1, sizeof(mbedtls_ssl_handshake_params) ); in ssl_handshake_init()
3960 ssl->in_buf = mbedtls_calloc( 1, in_buf_len ); in mbedtls_ssl_setup()
3971 ssl->out_buf = mbedtls_calloc( 1, out_buf_len ); in mbedtls_ssl_setup()
4339 new_cert = mbedtls_calloc( 1, sizeof( mbedtls_ssl_key_cert ) ); in ssl_append_key_cert()
4514 conf->psk_identity = mbedtls_calloc( 1, psk_identity_len ); in ssl_conf_set_psk_identity()
4540 if( ( conf->psk = mbedtls_calloc( 1, psk_len ) ) == NULL ) in mbedtls_ssl_conf_psk()
4582 if( ( ssl->handshake->psk = mbedtls_calloc( 1, psk_len ) ) == NULL ) in mbedtls_ssl_set_hs_psk()
4762 ssl->hostname = mbedtls_calloc( 1, hostname_len + 1 ); in mbedtls_ssl_set_hostname()
5731 session->peer_cert = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ); in ssl_session_load()
5770 mbedtls_calloc( 1, session->peer_cert_digest_len ); in ssl_session_load()
5796 session->ticket = mbedtls_calloc( 1, session->ticket_len ); in ssl_session_load()