Home
last modified time | relevance | path

Searched refs:mbedtls_calloc (Results 1 – 25 of 38) sorted by relevance

12

/optee_os/lib/libmbedtls/mbedtls/library/
A Dmemory_buffer_alloc.c658 p = mbedtls_calloc( 1, 1 ); in mbedtls_memory_buffer_alloc_self_test()
659 q = mbedtls_calloc( 1, 128 ); in mbedtls_memory_buffer_alloc_self_test()
660 r = mbedtls_calloc( 1, 16 ); in mbedtls_memory_buffer_alloc_self_test()
687 p = mbedtls_calloc( 1, 1 ); in mbedtls_memory_buffer_alloc_self_test()
688 q = mbedtls_calloc( 1, 128 ); in mbedtls_memory_buffer_alloc_self_test()
689 r = mbedtls_calloc( 1, 16 ); in mbedtls_memory_buffer_alloc_self_test()
711 p = mbedtls_calloc( 1, sizeof( buf ) - sizeof( memory_header ) ); in mbedtls_memory_buffer_alloc_self_test()
714 TEST_ASSERT( mbedtls_calloc( 1, 1 ) == NULL ); in mbedtls_memory_buffer_alloc_self_test()
719 q = mbedtls_calloc( 1, 16 ); in mbedtls_memory_buffer_alloc_self_test()
722 TEST_ASSERT( mbedtls_calloc( 1, 1 ) == NULL ); in mbedtls_memory_buffer_alloc_self_test()
[all …]
A Dssl_cache.c32 #define mbedtls_calloc calloc macro
106 if( ( session->peer_cert = mbedtls_calloc( 1, in mbedtls_ssl_cache_get()
225 cur = mbedtls_calloc( 1, sizeof(mbedtls_ssl_cache_entry) ); in mbedtls_ssl_cache_set()
273 mbedtls_calloc( 1, cur->session.peer_cert->raw.len ); in mbedtls_ssl_cache_set()
A Dcipher_wrap.c85 #define mbedtls_calloc calloc macro
93 void *ctx = mbedtls_calloc( 1, sizeof( mbedtls_gcm_context ) ); in gcm_ctx_alloc()
117 void *ctx = mbedtls_calloc( 1, sizeof( mbedtls_ccm_context ) ); in ccm_ctx_alloc()
728 ctx = mbedtls_calloc( 1, sizeof( mbedtls_camellia_context ) ); in camellia_ctx_alloc()
1112 ctx = mbedtls_calloc( 1, sizeof( mbedtls_aria_context ) ); in aria_ctx_alloc()
1541 des3 = mbedtls_calloc( 1, sizeof( mbedtls_des3_context ) ); in des3_ctx_alloc()
1766 ctx = mbedtls_calloc( 1, sizeof( mbedtls_blowfish_context ) ); in blowfish_ctx_alloc()
1888 ctx = mbedtls_calloc( 1, sizeof( mbedtls_arc4_context ) ); in arc4_ctx_alloc()
1979 ctx = mbedtls_calloc( 1, sizeof( mbedtls_chacha20_context ) ); in chacha20_ctx_alloc()
2051 ctx = mbedtls_calloc( 1, sizeof( mbedtls_chachapoly_context ) ); in chachapoly_ctx_alloc()
[all …]
A Dasn1write.c33 #define mbedtls_calloc calloc macro
424 cur = (mbedtls_asn1_named_data*)mbedtls_calloc( 1, in mbedtls_asn1_store_named_data()
430 cur->oid.p = mbedtls_calloc( 1, oid_len ); in mbedtls_asn1_store_named_data()
442 cur->val.p = mbedtls_calloc( 1, val_len ); in mbedtls_asn1_store_named_data()
466 void *p = mbedtls_calloc( 1, val_len ); in mbedtls_asn1_store_named_data()
A Dpk_wrap.c57 #define mbedtls_calloc calloc macro
164 void *ctx = mbedtls_calloc( 1, sizeof( mbedtls_rsa_context ) ); in rsa_alloc_wrap()
307 void *ctx = mbedtls_calloc( 1, sizeof( eckey_restart_ctx ) ); in eckey_rs_alloc()
392 void *ctx = mbedtls_calloc( 1, sizeof( mbedtls_ecp_keypair ) ); in eckey_alloc_wrap()
684 void *ctx = mbedtls_calloc( 1, sizeof( mbedtls_ecdsa_context ) ); in ecdsa_alloc_wrap()
701 void *ctx = mbedtls_calloc( 1, sizeof( mbedtls_ecdsa_restart_ctx ) ); in ecdsa_rs_alloc()
826 void *ctx = mbedtls_calloc( 1, sizeof( mbedtls_rsa_alt_context ) ); in rsa_alt_alloc_wrap()
873 void *ctx = mbedtls_calloc( 1, sizeof( psa_key_id_t ) ); in pk_opaque_alloc_wrap()
A Dpkcs11.c36 #define mbedtls_calloc calloc macro
66 cert_blob = mbedtls_calloc( 1, cert_blob_size ); in mbedtls_pkcs11_x509_cert_bind()
A Dx509_crl.c51 #define mbedtls_calloc calloc macro
280 cur_entry->next = mbedtls_calloc( 1, sizeof( mbedtls_x509_crl_entry ) ); in x509_get_entries()
322 crl->next = mbedtls_calloc( 1, sizeof( mbedtls_x509_crl ) ); in mbedtls_x509_crl_parse_der()
340 p = mbedtls_calloc( 1, buflen ); in mbedtls_x509_crl_parse_der()
A Dpem.c39 #define mbedtls_calloc calloc macro
348 if( ( buf = mbedtls_calloc( 1, len ) ) == NULL ) in mbedtls_pem_read_buffer()
451 ( ( encode_buf = mbedtls_calloc( 1, use_len ) ) == NULL ) ) in mbedtls_pem_write_buffer()
A Dx509write_csr.c51 #define mbedtls_calloc calloc macro
301 if( ( sig = mbedtls_calloc( 1, MBEDTLS_PK_SIGNATURE_MAX_SIZE ) ) == NULL ) in mbedtls_x509write_csr_der()
A Dx509_csr.c51 #define mbedtls_calloc calloc macro
106 p = mbedtls_calloc( 1, len = buflen ); in mbedtls_x509_csr_parse_der()
A Dx509.c52 #define mbedtls_calloc calloc macro
458 cur->next = mbedtls_calloc( 1, sizeof( mbedtls_x509_name ) ); in mbedtls_x509_get_name()
472 cur->next = mbedtls_calloc( 1, sizeof( mbedtls_x509_name ) ); in mbedtls_x509_get_name()
673 pss_opts = mbedtls_calloc( 1, sizeof( mbedtls_pk_rsassa_pss_options ) ); in mbedtls_x509_get_sig_alg()
A Dasn1parse.c38 #define mbedtls_calloc calloc macro
348 mbedtls_calloc( 1, sizeof( mbedtls_asn1_sequence ) ); in asn1_get_sequence_of_cb()
A Dssl_tls.c36 #define mbedtls_calloc calloc macro
215 mbedtls_calloc( 1, src->peer_cert_digest_len ); in mbedtls_ssl_session_copy()
231 dst->ticket = mbedtls_calloc( 1, src->ticket_len ); in mbedtls_ssl_session_copy()
245 unsigned char* resized_buffer = mbedtls_calloc( 1, len_new ); in resize_buffer()
414 tmp = mbedtls_calloc( 1, tmp_len ); in tls1_prf()
664 tmp = mbedtls_calloc( 1, tmp_len ); in tls_prf_generic()
2835 chain = mbedtls_calloc( 1, sizeof( mbedtls_x509_crt ) ); in mbedtls_ssl_parse_certificate()
3866 ssl->in_buf = mbedtls_calloc( 1, in_buf_len ); in mbedtls_ssl_setup()
3877 ssl->out_buf = mbedtls_calloc( 1, out_buf_len ); in mbedtls_ssl_setup()
4444 if( ( conf->psk = mbedtls_calloc( 1, psk_len ) ) == NULL ) in mbedtls_ssl_conf_psk()
[all …]
A Dmd.c45 #define mbedtls_calloc calloc macro
405 ctx->md_ctx = mbedtls_calloc( 1, sizeof( mbedtls_##type##_context ) ); \
468 ctx->hmac_ctx = mbedtls_calloc( 2, md_info->block_size ); in mbedtls_md_setup()
A Dssl_cookie.c31 #define mbedtls_calloc calloc macro
A Dplatform.c59 void * mbedtls_calloc( size_t nmemb, size_t size ) in mbedtls_calloc() function
A Ddhm.c52 #define mbedtls_calloc calloc macro
606 ( *buf = mbedtls_calloc( 1, *n + 1 ) ) == NULL ) in load_file()
A Dsha512.c48 #define mbedtls_calloc calloc macro
613 buf = mbedtls_calloc( 1024, sizeof(unsigned char) ); in mbedtls_sha512_self_test()
A Dsha256.c42 #define mbedtls_calloc calloc macro
534 buf = mbedtls_calloc( 1024, sizeof(unsigned char) ); in mbedtls_sha256_self_test()
A Dpkparse.c55 #define mbedtls_calloc calloc macro
96 ( *buf = mbedtls_calloc( 1, *n + 1 ) ) == NULL ) in mbedtls_pk_load_file()
1359 if( ( key_copy = mbedtls_calloc( 1, keylen ) ) == NULL ) in mbedtls_pk_parse_key()
/optee_os/out/arm/export-ta_arm32/include/mbedtls/
A Dplatform.h137 #define mbedtls_calloc MBEDTLS_PLATFORM_CALLOC_MACRO macro
141 extern void *mbedtls_calloc( size_t n, size_t size );
158 #define mbedtls_calloc calloc
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
A Dplatform.h137 #define mbedtls_calloc MBEDTLS_PLATFORM_CALLOC_MACRO macro
141 extern void *mbedtls_calloc( size_t n, size_t size );
158 #define mbedtls_calloc calloc
/optee_os/out/arm/export-ta_arm64/include/mbedtls/
A Dplatform.h137 #define mbedtls_calloc MBEDTLS_PLATFORM_CALLOC_MACRO macro
141 extern void *mbedtls_calloc( size_t n, size_t size );
158 #define mbedtls_calloc calloc
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/
A Dplatform.h137 #define mbedtls_calloc MBEDTLS_PLATFORM_CALLOC_MACRO macro
141 extern void *mbedtls_calloc( size_t n, size_t size );
158 #define mbedtls_calloc calloc
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/
A Dplatform.h137 #define mbedtls_calloc MBEDTLS_PLATFORM_CALLOC_MACRO macro
141 extern void *mbedtls_calloc( size_t n, size_t size );
158 #define mbedtls_calloc calloc

Completed in 67 milliseconds

12