/mbedtls-development/library/ |
A D | ssl_tls13_client.c | 48 unsigned char *buf, in ssl_tls13_write_supported_versions_ext() 177 unsigned char *buf, in ssl_tls13_write_named_group_list_ecdhe() 190 unsigned char *buf, in ssl_tls13_write_named_group_list_dhe() 281 unsigned char *buf, in ssl_tls13_generate_and_write_ecdh_key_exchange() 366 unsigned char *buf, in ssl_tls13_write_key_share_ext() 601 unsigned char *buf, in ssl_tls13_write_client_hello_cipher_suites() 676 unsigned char *buf, in ssl_tls13_write_client_hello_body() 856 unsigned char *buf; in ssl_tls13_write_client_hello() local 897 const unsigned char *buf, in ssl_server_hello_is_hrr() 1361 unsigned char *buf; in ssl_tls1_3_process_server_hello() local [all …]
|
A D | ssl_cli.c | 93 unsigned char *buf, in mbedtls_ssl_write_hostname_ext() 163 unsigned char *buf, in ssl_write_renegotiation_ext() 398 unsigned char *buf, in ssl_write_ecjpake_kkpp_ext() 471 unsigned char *buf, in ssl_write_cid_ext() 579 unsigned char *buf, in ssl_write_extended_ms_ext() 651 unsigned char *buf, in ssl_write_alpn_ext() 710 unsigned char *buf, in ssl_write_use_srtp_ext() 920 unsigned char *buf; in ssl_write_client_hello() local 1420 const unsigned char *buf, in ssl_parse_cid_ext() 1909 unsigned char *buf, *ext; in ssl_parse_server_hello() local [all …]
|
A D | ssl_srv.c | 80 const unsigned char *buf, in ssl_parse_servername_ext() 428 const unsigned char *buf, in ssl_parse_ecjpake_kkpp() 476 const unsigned char *buf, in ssl_parse_cid_ext() 596 unsigned char *buf, in ssl_parse_session_ticket_ext() 758 const unsigned char *buf, in ssl_parse_use_srtp_ext() 1127 unsigned char *buf, *p, *ext; in ssl_parse_client_hello() local 1940 unsigned char *buf, in ssl_write_cid_ext() 2029 unsigned char *buf, in ssl_write_extended_ms_ext() 2255 unsigned char *buf, in ssl_write_use_srtp_ext() 2449 unsigned char *buf, *p; in ssl_write_server_hello() local [all …]
|
A D | ssl_tls13_generic.c | 38 unsigned char **buf, in mbedtls_ssl_tls1_3_fetch_handshake_msg() 76 unsigned char **buf, in mbedtls_ssl_tls13_start_handshake_msg() 156 unsigned char *buf, in mbedtls_ssl_tls13_write_sig_alg_ext() 308 const unsigned char *buf, in ssl_tls13_parse_certificate_verify() 460 unsigned char *buf; in mbedtls_ssl_tls13_process_certificate_verify() local 556 const unsigned char *buf, in ssl_tls13_parse_certificate() 680 const unsigned char *buf, in ssl_tls13_parse_certificate() 823 unsigned char *buf; in mbedtls_ssl_tls13_process_certificate() local 876 const unsigned char *buf, in ssl_tls13_parse_finished_message() 995 unsigned char *buf; in mbedtls_ssl_tls13_process_finished_message() local
|
A D | entropy.c | 234 unsigned char buf[MBEDTLS_ENTROPY_MAX_GATHER]; in entropy_gather_internal() local 303 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in mbedtls_entropy_func() local 424 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in mbedtls_entropy_update_nv_seed() local 446 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in mbedtls_entropy_write_seed_file() local 482 unsigned char buf[ MBEDTLS_ENTROPY_MAX_SEED_SIZE ]; in mbedtls_entropy_update_seed_file() local 527 static int mbedtls_entropy_source_self_test_gather( unsigned char *buf, size_t buf_len ) in mbedtls_entropy_source_self_test_gather() 553 static int mbedtls_entropy_source_self_test_check_bits( const unsigned char *buf, in mbedtls_entropy_source_self_test_check_bits() 632 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE] = { 0 }; in mbedtls_entropy_self_test() local
|
A D | entropy_poll.c | 96 static int getrandom_wrapper( void *buf, size_t buflen, unsigned int flags ) in getrandom_wrapper() 116 static int getrandom_wrapper( void *buf, size_t buflen, unsigned int flags ) in getrandom_wrapper() 138 static int sysctl_arnd_wrapper( unsigned char *buf, size_t buflen ) in sysctl_arnd_wrapper() 218 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in mbedtls_nv_seed_poll() local
|
A D | ecdh.c | 300 unsigned char *buf, size_t blen, in ecdh_make_params_internal() 357 unsigned char *buf, size_t blen, in mbedtls_ecdh_make_params() 396 const unsigned char **buf, in ecdh_read_params_internal() 411 const unsigned char **buf, in mbedtls_ecdh_read_params() 523 unsigned char *buf, size_t blen, in ecdh_make_public_internal() 563 unsigned char *buf, size_t blen, in mbedtls_ecdh_make_public() 619 const unsigned char *buf, size_t blen ) in mbedtls_ecdh_read_public() 697 unsigned char *buf, size_t blen, in mbedtls_ecdh_calc_secret() 755 unsigned char *buf, size_t blen, in mbedtls_ecdh_tls13_make_params() 810 const unsigned char *buf, in ecdh_tls13_read_public_internal() [all …]
|
A D | x509_csr.c | 86 const unsigned char *buf, size_t buflen ) in mbedtls_x509_csr_parse_der() 257 int mbedtls_x509_csr_parse( mbedtls_x509_csr *csr, const unsigned char *buf, size_t buflen ) in mbedtls_x509_csr_parse() 312 unsigned char *buf; in mbedtls_x509_csr_parse_file() local 332 int mbedtls_x509_csr_info( char *buf, size_t size, const char *prefix, in mbedtls_x509_csr_info()
|
A D | x509write_crt.c | 139 unsigned char buf[9]; in mbedtls_x509write_crt_set_basic_constraints() local 173 unsigned char buf[MBEDTLS_MPI_MAX_SIZE * 2 + 20]; /* tag, length + 2xMPI */ in mbedtls_x509write_crt_set_subject_key_identifier() local 201 unsigned char buf[MBEDTLS_MPI_MAX_SIZE * 2 + 20]; /* tag, length + 2xMPI */ in mbedtls_x509write_crt_set_authority_key_identifier() local 236 unsigned char buf[5] = {0}, ku[2] = {0}; in mbedtls_x509write_crt_set_key_usage() local 274 unsigned char buf[4] = {0}; in mbedtls_x509write_crt_set_ns_cert_type() local 325 unsigned char *buf, size_t size, in mbedtls_x509write_crt_der() 519 unsigned char *buf, size_t size, in mbedtls_x509write_crt_pem()
|
A D | pem.c | 139 unsigned char *buf, size_t buflen, in pem_des_decrypt() 167 unsigned char *buf, size_t buflen, in pem_des3_decrypt() 197 unsigned char *buf, size_t buflen, in pem_aes_decrypt() 231 unsigned char *buf; in mbedtls_pem_read_buffer() local 435 unsigned char *buf, size_t buf_len, size_t *olen ) in mbedtls_pem_write_buffer()
|
A D | x509write_csr.c | 95 unsigned char buf[4] = {0}; in mbedtls_x509write_csr_set_key_usage() local 117 unsigned char buf[4] = {0}; in mbedtls_x509write_csr_set_ns_cert_type() local 137 unsigned char *buf, in x509write_csr_der_internal() 295 int mbedtls_x509write_csr_der( mbedtls_x509write_csr *ctx, unsigned char *buf, in mbedtls_x509write_csr_der() 321 int mbedtls_x509write_csr_pem( mbedtls_x509write_csr *ctx, unsigned char *buf, size_t size, in mbedtls_x509write_csr_pem()
|
A D | net_sockets.c | 77 #define read(fd,buf,len) recv( fd, (char*)( buf ), (int)( len ), 0 ) argument 78 #define write(fd,buf,len) send( fd, (char*)( buf ), (int)( len ), 0 ) argument 375 char buf[1] = { 0 }; in mbedtls_net_accept() local 570 int mbedtls_net_recv( void *ctx, unsigned char *buf, size_t len ) in mbedtls_net_recv() 607 int mbedtls_net_recv_timeout( void *ctx, unsigned char *buf, in mbedtls_net_recv_timeout() 652 int mbedtls_net_send( void *ctx, const unsigned char *buf, size_t len ) in mbedtls_net_send()
|
A D | platform.c | 283 int mbedtls_platform_std_nv_seed_read( unsigned char *buf, size_t buf_len ) in mbedtls_platform_std_nv_seed_read() 302 int mbedtls_platform_std_nv_seed_write( unsigned char *buf, size_t buf_len ) in mbedtls_platform_std_nv_seed_write() 326 static int platform_nv_seed_read_uninit( unsigned char *buf, size_t buf_len ) in platform_nv_seed_read_uninit() 340 static int platform_nv_seed_write_uninit( unsigned char *buf, size_t buf_len ) in platform_nv_seed_write_uninit() 355 int mbedtls_platform_set_nv_seed( in mbedtls_platform_set_nv_seed()
|
A D | x509_crl.c | 296 const unsigned char *buf, size_t buflen ) in mbedtls_x509_crl_parse_der() 534 int mbedtls_x509_crl_parse( mbedtls_x509_crl *chain, const unsigned char *buf, size_t buflen ) in mbedtls_x509_crl_parse() 603 unsigned char *buf; in mbedtls_x509_crl_parse_file() local 626 int mbedtls_x509_crl_info( char *buf, size_t size, const char *prefix, in mbedtls_x509_crl_info()
|
A D | pkwrite.c | 116 unsigned char buf[MBEDTLS_ECP_MAX_PT_LEN]; in pk_write_ec_pubkey() local 225 int mbedtls_pk_write_pubkey_der( const mbedtls_pk_context *key, unsigned char *buf, size_t size ) in mbedtls_pk_write_pubkey_der() 313 int mbedtls_pk_write_key_der( const mbedtls_pk_context *key, unsigned char *buf, size_t size ) in mbedtls_pk_write_key_der() 556 int mbedtls_pk_write_pubkey_pem( const mbedtls_pk_context *key, unsigned char *buf, size_t size ) in mbedtls_pk_write_pubkey_pem() 581 int mbedtls_pk_write_key_pem( const mbedtls_pk_context *key, unsigned char *buf, size_t size ) in mbedtls_pk_write_key_pem()
|
A D | padlock.c | 83 unsigned char buf[256]; in mbedtls_padlock_xcryptecb() local 126 unsigned char buf[256]; in mbedtls_padlock_xcryptcbc() local
|
/mbedtls-development/3rdparty/everest/library/ |
A 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()
|
A D | everest.c | 54 unsigned char *buf, size_t blen, in mbedtls_everest_make_params() 63 const unsigned char **buf, in mbedtls_everest_read_params() 82 unsigned char *buf, size_t blen, in mbedtls_everest_make_public() 91 const unsigned char *buf, size_t blen ) in mbedtls_everest_read_public() 98 unsigned char *buf, size_t blen, in mbedtls_everest_calc_secret()
|
/mbedtls-development/programs/fuzz/ |
A D | common.c | 22 int dummy_send( void *ctx, const unsigned char *buf, size_t len ) in dummy_send() 35 int fuzz_recv( void *ctx, unsigned char *buf, size_t len ) in fuzz_recv() 90 int fuzz_recv_timeout( void *ctx, unsigned char *buf, size_t len, in fuzz_recv_timeout()
|
/mbedtls-development/programs/ssl/ |
A D | ssl_test_common_source.c | 143 unsigned char const *buf, size_t len ) in ssl_check_record() 204 int recv_cb( void *ctx, unsigned char *buf, size_t len ) in recv_cb() 230 int recv_timeout_cb( void *ctx, unsigned char *buf, size_t len, in recv_timeout_cb() 254 int send_cb( void *ctx, unsigned char const *buf, size_t len ) in send_cb() 290 int x509_crt_verify_info( char *buf, size_t size, const char *prefix, in x509_crt_verify_info()
|
A D | ssl_mail_client.c | 176 unsigned char buf[1024]; in do_handshake() local 233 static int write_ssl_data( mbedtls_ssl_context *ssl, unsigned char *buf, size_t len ) in write_ssl_data() 250 static int write_ssl_and_get_response( mbedtls_ssl_context *ssl, unsigned char *buf, size_t len ) in write_ssl_and_get_response() 308 static int write_and_get_response( mbedtls_net_context *sock_fd, unsigned char *buf, size_t len ) in write_and_get_response() 369 unsigned char buf[sizeof( base ) + 2]; in main() local 371 unsigned char buf[1024]; in main() local
|
/mbedtls-development/programs/test/ |
A D | udp_proxy.c | 240 char *buf; in get_options() local 406 static int ctx_buffer_flush( ctx_buffer *buf ) in ctx_buffer_flush() 423 static unsigned ctx_buffer_time_remaining( ctx_buffer *buf ) in ctx_buffer_time_remaining() 436 static int ctx_buffer_append( ctx_buffer *buf, in ctx_buffer_append() 477 ctx_buffer *buf = NULL; in dispatch_data() local 506 unsigned char buf[MAX_MSG_SIZE]; member 571 unsigned char buf[MAX_MSG_SIZE]; in send_packet() local 589 unsigned char buf[MAX_MSG_SIZE]; in send_packet() local
|
/mbedtls-development/programs/util/ |
A D | pem2der.c | 119 static int load_file( const char *path, unsigned char **buf, size_t *n ) in load_file() 162 static int write_file( const char *path, unsigned char *buf, size_t n ) in write_file() 185 char buf[1024]; in main() local
|
/mbedtls-development/tests/scripts/ |
A D | test_zeroize.gdb | 58 set $buf = buf toplevelVariable
|
/mbedtls-development/3rdparty/everest/include/everest/kremlin/internal/ |
A D | target.h | 97 # define KRML_HOST_SNPRINTF(buf, sz, fmt, arg) _snprintf_s(buf, sz, _TRUNCATE, fmt, arg) argument 99 # define KRML_HOST_SNPRINTF(buf, sz, fmt, arg) snprintf(buf, sz, fmt, arg) argument
|