/mbedtls-3.4.0/library/ |
D | asn1write.c | 31 int mbedtls_asn1_write_len( unsigned char **p, const unsigned char *start, size_t len ) in mbedtls_asn1_write_len() 95 int mbedtls_asn1_write_tag( unsigned char **p, const unsigned char *start, unsigned char tag ) in mbedtls_asn1_write_tag() 105 int mbedtls_asn1_write_raw_buffer( unsigned char **p, const unsigned char *start, in mbedtls_asn1_write_raw_buffer() 121 int mbedtls_asn1_write_mpi( unsigned char **p, const unsigned char *start, const mbedtls_mpi *X ) in mbedtls_asn1_write_mpi() 163 int mbedtls_asn1_write_null( unsigned char **p, const unsigned char *start ) in mbedtls_asn1_write_null() 176 int mbedtls_asn1_write_oid( unsigned char **p, const unsigned char *start, in mbedtls_asn1_write_oid() 190 int mbedtls_asn1_write_algorithm_identifier( unsigned char **p, const unsigned char *start, in mbedtls_asn1_write_algorithm_identifier() 211 int mbedtls_asn1_write_bool( unsigned char **p, const unsigned char *start, int boolean ) in mbedtls_asn1_write_bool() 228 static int asn1_write_tagged_int( unsigned char **p, const unsigned char *start, int val, int tag ) in asn1_write_tagged_int() 257 int mbedtls_asn1_write_int( unsigned char **p, const unsigned char *start, int val ) in mbedtls_asn1_write_int() [all …]
|
D | asn1parse.c | 39 int mbedtls_asn1_get_len( unsigned char **p, in mbedtls_asn1_get_len() 97 int mbedtls_asn1_get_tag( unsigned char **p, in mbedtls_asn1_get_tag() 112 int mbedtls_asn1_get_bool( unsigned char **p, in mbedtls_asn1_get_bool() 131 static int asn1_get_tagged_int( unsigned char **p, in asn1_get_tagged_int() 175 int mbedtls_asn1_get_int( unsigned char **p, in mbedtls_asn1_get_int() 182 int mbedtls_asn1_get_enum( unsigned char **p, in mbedtls_asn1_get_enum() 190 int mbedtls_asn1_get_mpi( unsigned char **p, in mbedtls_asn1_get_mpi() 208 int mbedtls_asn1_get_bitstring( unsigned char **p, const unsigned char *end, in mbedtls_asn1_get_bitstring() 243 unsigned char **p, in mbedtls_asn1_traverse_sequence_of() 293 int mbedtls_asn1_get_bitstring_null( unsigned char **p, const unsigned char *end, in mbedtls_asn1_get_bitstring_null() [all …]
|
D | x509.c | 71 int mbedtls_x509_get_serial( unsigned char **p, const unsigned char *end, in mbedtls_x509_get_serial() 102 int mbedtls_x509_get_alg_null( unsigned char **p, const unsigned char *end, in mbedtls_x509_get_alg_null() 116 int mbedtls_x509_get_alg( unsigned char **p, const unsigned char *end, in mbedtls_x509_get_alg() 182 unsigned char *p; in x509_get_hash_alg() local 243 unsigned char *p; in mbedtls_x509_get_rsassa_pss_params() local 381 static int x509_get_attr_type_value( unsigned char **p, in x509_get_attr_type_value() 468 int mbedtls_x509_get_name( unsigned char **p, const unsigned char *end, in mbedtls_x509_get_name() 538 static int x509_parse_int( unsigned char **p, size_t n, int *res ) in x509_parse_int() 591 static int x509_parse_time( unsigned char **p, size_t len, size_t yearlen, in x509_parse_time() 656 int mbedtls_x509_get_time( unsigned char **p, const unsigned char *end, in mbedtls_x509_get_time() [all …]
|
D | pkcs7.c | 55 static int pkcs7_get_next_content_len( unsigned char **p, unsigned char *end, in pkcs7_get_next_content_len() 74 static int pkcs7_get_version( unsigned char **p, unsigned char *end, int *ver ) in pkcs7_get_version() 95 static int pkcs7_get_content_info_type( unsigned char **p, unsigned char *end, in pkcs7_get_content_info_type() 128 static int pkcs7_get_digest_algorithm( unsigned char **p, unsigned char *end, in pkcs7_get_digest_algorithm() 142 static int pkcs7_get_digest_algorithm_set( unsigned char **p, in pkcs7_get_digest_algorithm_set() 180 static int pkcs7_get_certificates( unsigned char **p, unsigned char *end, in pkcs7_get_certificates() 237 static int pkcs7_get_signature( unsigned char **p, unsigned char *end, in pkcs7_get_signature() 290 static int pkcs7_get_signer_info( unsigned char **p, unsigned char *end, in pkcs7_get_signer_info() 366 static int pkcs7_get_signers_info_set( unsigned char **p, unsigned char *end, in pkcs7_get_signers_info_set() 446 unsigned char *p = buf; in pkcs7_get_signed_data() local [all …]
|
D | ssl_tls12_client.c | 59 unsigned char *p = buf; in ssl_write_renegotiation_ext() local 101 unsigned char *p = buf; in ssl_write_supported_point_formats_ext() local 134 unsigned char *p = buf; in ssl_write_ecjpake_kkpp_ext() local 225 unsigned char *p = buf; in ssl_write_cid_ext() local 269 unsigned char *p = buf; in ssl_write_max_fragment_length_ext() local 302 unsigned char *p = buf; in ssl_write_encrypt_then_mac_ext() local 333 unsigned char *p = buf; in ssl_write_extended_ms_ext() local 364 unsigned char *p = buf; in ssl_write_session_ticket_ext() local 407 unsigned char *p = buf; in ssl_write_use_srtp_ext() local 526 unsigned char *p = buf; in mbedtls_ssl_tls12_write_client_hello_exts() local [all …]
|
D | x509_crl.c | 62 static int x509_crl_get_version( unsigned char **p, in x509_crl_get_version() 89 static int x509_get_crl_ext( unsigned char **p, in x509_get_crl_ext() 169 static int x509_get_crl_entry_ext( unsigned char **p, in x509_get_crl_entry_ext() 223 static int x509_get_entries( unsigned char **p, in x509_get_entries() 294 unsigned char *p = NULL, *end = NULL; in mbedtls_x509_crl_parse_der() local 625 char *p; in mbedtls_x509_crl_info() local
|
D | pkparse.c | 165 static int pk_get_ecparams( unsigned char **p, const unsigned char *end, in pk_get_ecparams() 224 unsigned char *p = params->p; in pk_group_from_specified() local 477 static int pk_get_ecpubkey( unsigned char **p, const unsigned char *end, in pk_get_ecpubkey() 504 static int pk_get_rsapubkey( unsigned char **p, in pk_get_rsapubkey() 559 static int pk_get_pk_alg( unsigned char **p, in pk_get_pk_alg() 592 int mbedtls_pk_parse_subpubkey( unsigned char **p, const unsigned char *end, in mbedtls_pk_parse_subpubkey() 662 static int asn1_get_nonzero_mpi( unsigned char **p, in asn1_get_nonzero_mpi() 687 unsigned char *p, *end; in pk_parse_key_pkcs1_der() local 846 unsigned char *p = (unsigned char *) key; in pk_parse_key_sec1_der() local 984 unsigned char *p = (unsigned char *) key; in pk_parse_key_pkcs8_unencrypted_der() local [all …]
|
D | x509_create.c | 237 static int x509_write_name( unsigned char **p, unsigned char *start, mbedtls_asn1_named_data* cur_n… in x509_write_name() 269 int mbedtls_x509_write_names( unsigned char **p, unsigned char *start, in mbedtls_x509_write_names() 289 int mbedtls_x509_write_sig( unsigned char **p, unsigned char *start, in mbedtls_x509_write_sig() 320 static int x509_write_extension( unsigned char **p, unsigned char *start, in x509_write_extension() 358 int mbedtls_x509_write_extensions( unsigned char **p, unsigned char *start, in mbedtls_x509_write_extensions()
|
D | ssl_client.c | 49 unsigned char *p = buf; in ssl_write_hostname_ext() local 136 unsigned char *p = buf; in ssl_write_alpn_ext() local 237 unsigned char *p = buf ; in ssl_write_supported_groups_ext() local 323 unsigned char *p = buf; in ssl_write_client_hello_cipher_suites() local 443 unsigned char *p = buf; in ssl_write_client_hello_body() local
|
D | ssl_tls12_server.c | 182 const unsigned char *p; in ssl_parse_supported_groups_ext() local 249 const unsigned char *p; in ssl_parse_supported_point_formats() local 928 unsigned char *buf, *p, *ext; in ssl_parse_client_hello() local 1753 unsigned char *p = buf; in ssl_write_cid_ext() local 1797 unsigned char *p = buf; in ssl_write_encrypt_then_mac_ext() local 1844 unsigned char *p = buf; in ssl_write_extended_ms_ext() local 1870 unsigned char *p = buf; in ssl_write_session_ticket_ext() local 1894 unsigned char *p = buf; in ssl_write_renegotiation_ext() local 1935 unsigned char *p = buf; in ssl_write_max_fragment_length_ext() local 1963 unsigned char *p = buf; in ssl_write_supported_point_formats_ext() local [all …]
|
D | ssl_tls13_client.c | 52 unsigned char *p = buf; in ssl_tls13_write_supported_versions_ext() local 133 const unsigned char *p = buf; in ssl_tls13_parse_alpn_ext() local 274 unsigned char *p = buf; in ssl_tls13_write_key_share_ext() local 389 const unsigned char *p = buf; in ssl_tls13_parse_hrr_key_share_ext() local 470 const unsigned char *p = buf; in ssl_tls13_parse_key_share_ext() local 544 const unsigned char *p = buf; in ssl_tls13_parse_cookie_ext() local 578 unsigned char *p = buf; in ssl_tls13_write_cookie_ext() local 627 unsigned char *p = buf; in ssl_tls13_write_psk_key_exchange_modes_ext() local 911 unsigned char *p = buf; in mbedtls_ssl_tls13_write_identities_of_pre_shared_key_ext() local 1012 unsigned char *p = buf; in mbedtls_ssl_tls13_write_binders_of_pre_shared_key_ext() local [all …]
|
D | x509_csr.c | 54 static int x509_csr_get_version( unsigned char **p, in x509_csr_get_version() 82 unsigned char *p, *end; in mbedtls_x509_csr_parse_der() local 329 char *p; in mbedtls_x509_csr_info() local
|
D | pkwrite.c | 63 static int pk_write_rsa_pubkey( unsigned char **p, unsigned char *start, in pk_write_rsa_pubkey() 102 static int pk_write_ec_pubkey( unsigned char **p, unsigned char *start, in pk_write_ec_pubkey() 130 static int pk_write_ec_param( unsigned char **p, unsigned char *start, in pk_write_ec_param() 149 static int pk_write_ec_private( unsigned char **p, unsigned char *start, in pk_write_ec_private() 167 int mbedtls_pk_write_pubkey( unsigned char **p, unsigned char *start, in mbedtls_pk_write_pubkey()
|
D | x509_crt.c | 401 static int x509_get_version( unsigned char **p, in x509_get_version() 437 static int x509_get_dates( unsigned char **p, in x509_get_dates() 467 static int x509_get_uid( unsigned char **p, in x509_get_uid() 493 static int x509_get_basic_constraints( unsigned char **p, in x509_get_basic_constraints() 549 static int x509_get_ns_cert_type( unsigned char **p, in x509_get_ns_cert_type() 568 static int x509_get_key_usage( unsigned char **p, in x509_get_key_usage() 598 static int x509_get_ext_key_usage( unsigned char **p, in x509_get_ext_key_usage() 642 static int x509_get_subject_alt_name( unsigned char **p, in x509_get_subject_alt_name() 774 static int x509_get_certificate_policies( unsigned char **p, in x509_get_certificate_policies() 890 static int x509_get_crt_ext( unsigned char **p, in x509_get_crt_ext() [all …]
|
D | ssl_tls13_server.c | 75 const unsigned char *p = buf; in ssl_tls13_parse_key_exchange_modes_ext() local 383 for ( const unsigned char *p = cipher_suites; in ssl_tls13_select_ciphersuite_for_psk() local 422 for( const unsigned char *p = cipher_suites; p < cipher_suites_end; p += 2 ) in ssl_tls13_select_ciphersuite_for_resumption() local 673 unsigned char *p = (unsigned char*)buf; in ssl_tls13_write_server_pre_shared_key_ext() local 720 const unsigned char *p = buf; in ssl_tls13_parse_supported_versions_ext() local 777 const unsigned char *p = buf; in ssl_tls13_parse_supported_groups_ext() local 841 unsigned char const *p = buf; in ssl_tls13_parse_key_shares_ext() local 1247 const unsigned char *p = buf; in ssl_tls13_parse_client_hello() local 1889 unsigned char *p = buf; in ssl_tls13_write_key_share_ext() local 2018 unsigned char *p = buf; in ssl_tls13_write_server_hello_body() local [all …]
|
D | ecjpake.c | 191 static int ecjpake_write_len_point( unsigned char **p, in ecjpake_write_len_point() 236 unsigned char *p = buf; in ecjpake_hash() local 280 const unsigned char **p, in ecjpake_zkp_read() 353 unsigned char **p, in ecjpake_zkp_write() 413 const unsigned char **p, in ecjpake_kkp_read() 451 unsigned char **p, in ecjpake_kkp_write() 492 const unsigned char *p = buf; in ecjpake_kkpp_read() local 530 unsigned char *p = buf; in ecjpake_kkpp_write() local 602 const unsigned char *p = buf; in mbedtls_ecjpake_read_round_two() local 695 unsigned char *p = buf; in mbedtls_ecjpake_write_round_two() local [all …]
|
D | base64.c | 44 unsigned char *p; in mbedtls_base64_encode() local 118 unsigned char *p; in mbedtls_base64_decode() local
|
D | bignum_mod.h | 52 mbedtls_mpi_uint *p; member 64 const mbedtls_mpi_uint *p; member
|
D | bignum_mod.c | 39 mbedtls_mpi_uint *p, in mbedtls_mpi_mod_residue_setup() 137 const mbedtls_mpi_uint *p, in mbedtls_mpi_mod_modulus_setup()
|
D | pkcs12.c | 51 unsigned char **p = ¶ms->p; in pkcs12_parse_pbe_params() local 192 unsigned char *p = data; in pkcs12_fill_buffer() local 328 unsigned char *p; in mbedtls_pkcs12_derivation() local
|
D | memory_buffer_alloc.c | 227 unsigned char *p; in buffer_alloc_calloc() local 378 unsigned char *p = (unsigned char *) ptr; in buffer_alloc_free() local 617 static int check_pointer( void *p ) in check_pointer() 656 unsigned char *p, *q, *r, *end; in mbedtls_memory_buffer_alloc_self_test() local
|
D | ssl_tls13_generic.c | 169 const unsigned char *p = buf; in ssl_tls13_parse_certificate_verify() local 399 const unsigned char *p = buf; in mbedtls_ssl_tls13_parse_certificate() local 835 unsigned char *p = buf; in ssl_tls13_write_certificate_body() local 979 unsigned char *p = buf; in ssl_tls13_write_certificate_verify_body() local 1393 unsigned char *p = buf; in mbedtls_ssl_tls13_write_early_data_ext() local 1490 uint8_t *p = (uint8_t*)buf; in mbedtls_ssl_tls13_read_public_ecdhe_share() local
|
D | ctr_drbg.c | 127 unsigned char *p, *iv; in block_cipher_df() local 251 unsigned char *p = tmp; in ctr_drbg_update_internal() local 500 unsigned char *p = output; in mbedtls_ctr_drbg_random_with_add() local 803 const unsigned char *p = data; in ctr_drbg_self_test_entropy() local
|
/mbedtls-3.4.0/tests/src/ |
D | asn1_helpers.c | 30 int mbedtls_test_asn1_skip_integer( unsigned char **p, const unsigned char *end, in mbedtls_test_asn1_skip_integer()
|
/mbedtls-3.4.0/programs/test/ |
D | zeroize.c | 52 char *p = buf; in main() local
|