/mbedtls-3.4.0/library/ |
D | ssl_tls13_generic.c | 50 unsigned char **buf, in mbedtls_ssl_tls13_fetch_handshake_msg() 162 const unsigned char *buf, in ssl_tls13_parse_certificate_verify() 299 unsigned char *buf; in mbedtls_ssl_tls13_process_certificate_verify() local 393 const unsigned char *buf, in mbedtls_ssl_tls13_parse_certificate() 571 const unsigned char *buf, in mbedtls_ssl_tls13_parse_certificate() 781 unsigned char *buf; in mbedtls_ssl_tls13_process_certificate() local 830 unsigned char *buf, in ssl_tls13_write_certificate_body() 898 unsigned char *buf; in mbedtls_ssl_tls13_write_certificate() local 974 unsigned char *buf, in ssl_tls13_write_certificate_verify_body() 1104 unsigned char *buf; in mbedtls_ssl_tls13_write_certificate_verify() local [all …]
|
D | ssl_tls13_client.c | 48 unsigned char *buf, in ssl_tls13_write_supported_versions_ext() 101 const unsigned char *buf, in ssl_tls13_parse_supported_versions_ext() 131 const unsigned char *buf, size_t len ) in ssl_tls13_parse_alpn_ext() 270 unsigned char *buf, in ssl_tls13_write_key_share_ext() 384 const unsigned char *buf, in ssl_tls13_parse_hrr_key_share_ext() 466 const unsigned char *buf, in ssl_tls13_parse_key_share_ext() 540 const unsigned char *buf, in ssl_tls13_parse_cookie_ext() 574 unsigned char *buf, in ssl_tls13_write_cookie_ext() 623 unsigned char *buf, in ssl_tls13_write_psk_key_exchange_modes_ext() 805 unsigned char *buf, in ssl_tls13_write_identity() [all …]
|
D | ssl_tls12_client.c | 55 unsigned char *buf, in ssl_write_renegotiation_ext() 97 unsigned char *buf, in ssl_write_supported_point_formats_ext() 129 unsigned char *buf, in ssl_write_ecjpake_kkpp_ext() 221 unsigned char *buf, in ssl_write_cid_ext() 265 unsigned char *buf, in ssl_write_max_fragment_length_ext() 298 unsigned char *buf, in ssl_write_encrypt_then_mac_ext() 329 unsigned char *buf, in ssl_write_extended_ms_ext() 360 unsigned char *buf, in ssl_write_session_ticket_ext() 403 unsigned char *buf, in ssl_write_use_srtp_ext() 520 unsigned char *buf, in mbedtls_ssl_tls12_write_client_hello_exts() [all …]
|
D | entropy.c | 225 unsigned char buf[MBEDTLS_ENTROPY_MAX_GATHER]; in entropy_gather_internal() local 294 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in mbedtls_entropy_func() local 415 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in mbedtls_entropy_update_nv_seed() local 437 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in mbedtls_entropy_write_seed_file() local 476 unsigned char buf[ MBEDTLS_ENTROPY_MAX_SEED_SIZE ]; in mbedtls_entropy_update_seed_file() local 524 static int mbedtls_entropy_source_self_test_gather( unsigned char *buf, size_t buf_len ) in mbedtls_entropy_source_self_test_gather() 550 static int mbedtls_entropy_source_self_test_check_bits( const unsigned char *buf, in mbedtls_entropy_source_self_test_check_bits() 629 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE] = { 0 }; in mbedtls_entropy_self_test() local
|
D | entropy_poll.c | 94 static int getrandom_wrapper( void *buf, size_t buflen, unsigned int flags ) in getrandom_wrapper() 114 static int getrandom_wrapper( void *buf, size_t buflen, unsigned int flags ) in getrandom_wrapper() 136 static int sysctl_arnd_wrapper( unsigned char *buf, size_t buflen ) in sysctl_arnd_wrapper() 219 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in mbedtls_nv_seed_poll() local
|
D | x509_csr.c | 78 const unsigned char *buf, size_t buflen ) in mbedtls_x509_csr_parse_der() 249 int mbedtls_x509_csr_parse( mbedtls_x509_csr *csr, const unsigned char *buf, size_t buflen ) in mbedtls_x509_csr_parse() 304 unsigned char *buf; in mbedtls_x509_csr_parse_file() local 324 int mbedtls_x509_csr_info( char *buf, size_t size, const char *prefix, in mbedtls_x509_csr_info()
|
D | ssl_client.c | 45 unsigned char *buf, in ssl_write_hostname_ext() 132 unsigned char *buf, in ssl_write_alpn_ext() 233 unsigned char *buf, in ssl_write_supported_groups_ext() 318 unsigned char *buf, in ssl_write_client_hello_cipher_suites() 436 unsigned char *buf, in ssl_write_client_hello_body() 924 unsigned char *buf; in mbedtls_ssl_write_client_hello() local
|
D | ssl_tls13_server.c | 72 const unsigned char *buf, in ssl_tls13_parse_key_exchange_modes_ext() 669 unsigned char *buf, in ssl_tls13_write_server_pre_shared_key_ext() 717 const unsigned char *buf, in ssl_tls13_parse_supported_versions_ext() 774 const unsigned char *buf, in ssl_tls13_parse_supported_groups_ext() 837 const unsigned char *buf, in ssl_tls13_parse_key_shares_ext() 1243 const unsigned char *buf, in ssl_tls13_parse_client_hello() 1717 unsigned char* buf = NULL; in ssl_tls13_process_client_hello() local 1790 unsigned char *buf, in ssl_tls13_write_server_hello_supported_versions_ext() 1831 unsigned char *buf, in ssl_tls13_generate_and_write_key_share() 1884 unsigned char *buf, in ssl_tls13_write_key_share_ext() [all …]
|
D | ssl_tls12_server.c | 100 const unsigned char *buf, in ssl_parse_renegotiation_info() 178 const unsigned char *buf, in ssl_parse_supported_groups_ext() 245 const unsigned char *buf, in ssl_parse_supported_point_formats() 292 const unsigned char *buf, in ssl_parse_ecjpake_kkpp() 344 const unsigned char *buf, in ssl_parse_max_fragment_length_ext() 364 const unsigned char *buf, in ssl_parse_cid_ext() 434 const unsigned char *buf, in ssl_parse_encrypt_then_mac_ext() 459 const unsigned char *buf, in ssl_parse_extended_ms_ext() 484 unsigned char *buf, in ssl_parse_session_ticket_ext() 559 const unsigned char *buf, in ssl_parse_use_srtp_ext() [all …]
|
D | ecdh.c | 280 unsigned char *buf, size_t blen, in ecdh_make_params_internal() 337 unsigned char *buf, size_t blen, in mbedtls_ecdh_make_params() 371 const unsigned char **buf, in ecdh_read_params_internal() 386 const unsigned char **buf, in mbedtls_ecdh_read_params() 491 unsigned char *buf, size_t blen, in ecdh_make_public_internal() 531 unsigned char *buf, size_t blen, in mbedtls_ecdh_make_public() 563 const unsigned char *buf, size_t blen ) in ecdh_read_public_internal() 582 const unsigned char *buf, size_t blen ) in mbedtls_ecdh_read_public() 604 size_t *olen, unsigned char *buf, in ecdh_calc_secret_internal() 657 unsigned char *buf, size_t blen, in mbedtls_ecdh_calc_secret()
|
D | platform.c | 234 static void platform_setbuf_uninit( FILE *stream, char *buf ) in platform_setbuf_uninit() 244 int mbedtls_platform_set_setbuf( void (*setbuf_func)( FILE *stream, char *buf ) ) in mbedtls_platform_set_setbuf() 305 int mbedtls_platform_std_nv_seed_read( unsigned char *buf, size_t buf_len ) in mbedtls_platform_std_nv_seed_read() 327 int mbedtls_platform_std_nv_seed_write( unsigned char *buf, size_t buf_len ) in mbedtls_platform_std_nv_seed_write() 354 static int platform_nv_seed_read_uninit( unsigned char *buf, size_t buf_len ) in platform_nv_seed_read_uninit() 368 static int platform_nv_seed_write_uninit( unsigned char *buf, size_t buf_len ) in platform_nv_seed_write_uninit() 383 int mbedtls_platform_set_nv_seed( in mbedtls_platform_set_nv_seed()
|
D | x509write_csr.c | 90 unsigned char buf[4] = {0}; in mbedtls_x509write_csr_set_key_usage() local 112 unsigned char buf[4] = {0}; in mbedtls_x509write_csr_set_ns_cert_type() local 132 unsigned char *buf, in x509write_csr_der_internal() 287 int mbedtls_x509write_csr_der( mbedtls_x509write_csr *ctx, unsigned char *buf, in mbedtls_x509write_csr_der() 313 int mbedtls_x509write_csr_pem( mbedtls_x509write_csr *ctx, unsigned char *buf, size_t size, in mbedtls_x509write_csr_pem()
|
D | error.c | 789 void mbedtls_strerror( int ret, char *buf, size_t buflen ) in mbedtls_strerror() 859 void mbedtls_strerror( int ret, char *buf, size_t buflen ) in mbedtls_strerror()
|
D | x509write_crt.c | 147 unsigned char buf[9]; in mbedtls_x509write_crt_set_basic_constraints() local 183 unsigned char buf[MBEDTLS_MPI_MAX_SIZE * 2 + 20]; /* tag, length + 2xMPI */ in mbedtls_x509write_crt_set_key_identifier() local 264 unsigned char buf[5] = {0}, ku[2] = {0}; in mbedtls_x509write_crt_set_key_usage() local 302 unsigned char buf[256]; in mbedtls_x509write_crt_set_ext_key_usage() local 339 unsigned char buf[4] = {0}; in mbedtls_x509write_crt_set_ns_cert_type() local 390 unsigned char *buf, size_t size, in mbedtls_x509write_crt_der() 606 unsigned char *buf, size_t size, in mbedtls_x509write_crt_pem()
|
D | pkwrite.c | 107 unsigned char buf[MBEDTLS_ECP_MAX_PT_LEN]; in pk_write_ec_pubkey() local 211 int mbedtls_pk_write_pubkey_der( const mbedtls_pk_context *key, unsigned char *buf, size_t size ) in mbedtls_pk_write_pubkey_der() 311 int mbedtls_pk_write_key_der( const mbedtls_pk_context *key, unsigned char *buf, size_t size ) in mbedtls_pk_write_key_der() 476 int mbedtls_pk_write_pubkey_pem( const mbedtls_pk_context *key, unsigned char *buf, size_t size ) in mbedtls_pk_write_pubkey_pem() 498 int mbedtls_pk_write_key_pem( const mbedtls_pk_context *key, unsigned char *buf, size_t size ) in mbedtls_pk_write_key_pem()
|
D | pem.c | 226 unsigned char *buf, size_t buflen, in pem_des_decrypt() 254 unsigned char *buf, size_t buflen, in pem_des3_decrypt() 284 unsigned char *buf, size_t buflen, in pem_aes_decrypt() 317 unsigned char *buf; in mbedtls_pem_read_buffer() local 515 unsigned char *buf, size_t buf_len, size_t *olen ) in mbedtls_pem_write_buffer()
|
D | net_sockets.c | 73 #define read(fd,buf,len) recv( fd, (char*)( buf ), (int)( len ), 0 ) argument 74 #define write(fd,buf,len) send( fd, (char*)( buf ), (int)( len ), 0 ) argument 373 char buf[1] = { 0 }; in mbedtls_net_accept() local 568 int mbedtls_net_recv( void *ctx, unsigned char *buf, size_t len ) in mbedtls_net_recv() 605 int mbedtls_net_recv_timeout( void *ctx, unsigned char *buf, in mbedtls_net_recv_timeout() 650 int mbedtls_net_send( void *ctx, const unsigned char *buf, size_t len ) in mbedtls_net_send()
|
D | x509_crl.c | 290 const unsigned char *buf, size_t buflen ) in mbedtls_x509_crl_parse_der() 528 int mbedtls_x509_crl_parse( mbedtls_x509_crl *chain, const unsigned char *buf, size_t buflen ) in mbedtls_x509_crl_parse() 597 unsigned char *buf; in mbedtls_x509_crl_parse_file() local 620 int mbedtls_x509_crl_info( char *buf, size_t size, const char *prefix, in mbedtls_x509_crl_info()
|
/mbedtls-3.4.0/3rdparty/everest/library/ |
D | x25519.c | 60 unsigned char *buf, size_t blen, in mbedtls_x25519_make_params() 91 const unsigned char **buf, const unsigned char *end ) in mbedtls_x25519_read_params() 120 unsigned char *buf, size_t blen, in mbedtls_x25519_calc_secret() 146 unsigned char *buf, size_t blen, in mbedtls_x25519_make_public() 175 const unsigned char *buf, size_t blen ) in mbedtls_x25519_read_public()
|
D | everest.c | 49 unsigned char *buf, size_t blen, in mbedtls_everest_make_params() 58 const unsigned char **buf, in mbedtls_everest_read_params() 77 unsigned char *buf, size_t blen, in mbedtls_everest_make_public() 86 const unsigned char *buf, size_t blen ) in mbedtls_everest_read_public() 93 unsigned char *buf, size_t blen, in mbedtls_everest_calc_secret()
|
/mbedtls-3.4.0/programs/fuzz/ |
D | common.c | 25 int dummy_send( void *ctx, const unsigned char *buf, size_t len ) in dummy_send() 38 int fuzz_recv( void *ctx, unsigned char *buf, size_t len ) in fuzz_recv() 99 int fuzz_recv_timeout( void *ctx, unsigned char *buf, size_t len, in fuzz_recv_timeout()
|
/mbedtls-3.4.0/programs/ssl/ |
D | ssl_test_common_source.c | 147 unsigned char const *buf, size_t len ) in ssl_check_record() 208 int recv_cb( void *ctx, unsigned char *buf, size_t len ) in recv_cb() 234 int recv_timeout_cb( void *ctx, unsigned char *buf, size_t len, in recv_timeout_cb() 258 int send_cb( void *ctx, unsigned char const *buf, size_t len ) in send_cb() 328 int x509_crt_verify_info( char *buf, size_t size, const char *prefix, in x509_crt_verify_info()
|
D | ssl_mail_client.c | 164 unsigned char buf[1024]; in do_handshake() local 221 static int write_ssl_data( mbedtls_ssl_context *ssl, unsigned char *buf, size_t len ) in write_ssl_data() 238 static int write_ssl_and_get_response( mbedtls_ssl_context *ssl, unsigned char *buf, size_t len ) in write_ssl_and_get_response() 296 static int write_and_get_response( mbedtls_net_context *sock_fd, unsigned char *buf, size_t len ) in write_and_get_response() 357 unsigned char buf[sizeof( base ) + 2]; in main() local 359 unsigned char buf[1024]; in main() local
|
/mbedtls-3.4.0/programs/util/ |
D | pem2der.c | 108 static int load_file( const char *path, unsigned char **buf, size_t *n ) in load_file() 151 static int write_file( const char *path, unsigned char *buf, size_t n ) in write_file() 174 char buf[1024]; in main() local
|
/mbedtls-3.4.0/programs/test/ |
D | udp_proxy.c | 245 char *buf; in get_options() local 411 static int ctx_buffer_flush( ctx_buffer *buf ) in ctx_buffer_flush() 428 static unsigned ctx_buffer_time_remaining( ctx_buffer *buf ) in ctx_buffer_time_remaining() 441 static int ctx_buffer_append( ctx_buffer *buf, in ctx_buffer_append() 482 ctx_buffer *buf = NULL; in dispatch_data() local 511 unsigned char buf[MAX_MSG_SIZE]; member 576 unsigned char buf[MAX_MSG_SIZE]; in send_packet() local 594 unsigned char buf[MAX_MSG_SIZE]; in send_packet() local
|