/mbedtls-3.6.0/library/ |
D | asn1write.c | 23 int mbedtls_asn1_write_len(unsigned char **p, const unsigned char *start, size_t len) in mbedtls_asn1_write_len() 55 int mbedtls_asn1_write_tag(unsigned char **p, const unsigned char *start, unsigned char tag) in mbedtls_asn1_write_tag() 68 static int mbedtls_asn1_write_len_and_tag(unsigned char **p, in mbedtls_asn1_write_len_and_tag() 81 int mbedtls_asn1_write_raw_buffer(unsigned char **p, const unsigned char *start, in mbedtls_asn1_write_raw_buffer() 98 int mbedtls_asn1_write_mpi(unsigned char **p, const unsigned char *start, const mbedtls_mpi *X) in mbedtls_asn1_write_mpi() 139 int mbedtls_asn1_write_null(unsigned char **p, const unsigned char *start) in mbedtls_asn1_write_null() 146 int mbedtls_asn1_write_oid(unsigned char **p, const unsigned char *start, in mbedtls_asn1_write_oid() 157 int mbedtls_asn1_write_algorithm_identifier(unsigned char **p, const unsigned char *start, in mbedtls_asn1_write_algorithm_identifier() 164 int mbedtls_asn1_write_algorithm_identifier_ext(unsigned char **p, const unsigned char *start, in mbedtls_asn1_write_algorithm_identifier_ext() 185 int mbedtls_asn1_write_bool(unsigned char **p, const unsigned char *start, int boolean) in mbedtls_asn1_write_bool() [all …]
|
D | asn1parse.c | 27 int mbedtls_asn1_get_len(unsigned char **p, in mbedtls_asn1_get_len() 60 int mbedtls_asn1_get_tag(unsigned char **p, in mbedtls_asn1_get_tag() 79 int mbedtls_asn1_get_bool(unsigned char **p, in mbedtls_asn1_get_bool() 100 static int asn1_get_tagged_int(unsigned char **p, in asn1_get_tagged_int() 147 int mbedtls_asn1_get_int(unsigned char **p, in mbedtls_asn1_get_int() 154 int mbedtls_asn1_get_enum(unsigned char **p, in mbedtls_asn1_get_enum() 162 int mbedtls_asn1_get_mpi(unsigned char **p, in mbedtls_asn1_get_mpi() 181 int mbedtls_asn1_get_bitstring(unsigned char **p, const unsigned char *end, in mbedtls_asn1_get_bitstring() 220 unsigned char **p, in mbedtls_asn1_traverse_sequence_of() 270 int mbedtls_asn1_get_bitstring_null(unsigned char **p, const unsigned char *end, in mbedtls_asn1_get_bitstring_null() [all …]
|
D | x509.c | 63 int mbedtls_x509_get_serial(unsigned char **p, const unsigned char *end, in mbedtls_x509_get_serial() 97 int mbedtls_x509_get_alg_null(unsigned char **p, const unsigned char *end, in mbedtls_x509_get_alg_null() 112 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 250 unsigned char *p; in mbedtls_x509_get_rsassa_pss_params() local 406 static int x509_get_attr_type_value(unsigned char **p, in x509_get_attr_type_value() 498 int mbedtls_x509_get_name(unsigned char **p, const unsigned char *end, in mbedtls_x509_get_name() 599 static int x509_parse2_int(const unsigned char *p) in x509_parse2_int() 610 static int x509_parse_time(const unsigned char *p, mbedtls_x509_time *tm, in x509_parse_time() 649 int mbedtls_x509_get_time(unsigned char **p, const unsigned char *end, in mbedtls_x509_get_time() [all …]
|
D | pkcs7.c | 40 static int pkcs7_get_next_content_len(unsigned char **p, unsigned char *end, in pkcs7_get_next_content_len() 61 static int pkcs7_get_version(unsigned char **p, unsigned char *end, int *ver) in pkcs7_get_version() 84 static int pkcs7_get_content_info_type(unsigned char **p, unsigned char *end, in pkcs7_get_content_info_type() 118 static int pkcs7_get_digest_algorithm(unsigned char **p, unsigned char *end, in pkcs7_get_digest_algorithm() 133 static int pkcs7_get_digest_algorithm_set(unsigned char **p, in pkcs7_get_digest_algorithm_set() 170 static int pkcs7_get_certificates(unsigned char **p, unsigned char *end, in pkcs7_get_certificates() 223 static int pkcs7_get_signature(unsigned char **p, unsigned char *end, in pkcs7_get_signature() 277 static int pkcs7_get_signer_info(unsigned char **p, unsigned char *end, in pkcs7_get_signer_info() 377 static int pkcs7_get_signers_info_set(unsigned char **p, unsigned char *end, in pkcs7_get_signers_info_set() 454 unsigned char *p = buf; in pkcs7_get_signed_data() local [all …]
|
D | ssl_tls12_client.c | 56 unsigned char *p = buf; in ssl_write_renegotiation_ext() local 100 unsigned char *p = buf; in ssl_write_supported_point_formats_ext() local 134 unsigned char *p = buf; in ssl_write_ecjpake_kkpp_ext() local 221 unsigned char *p = buf; in ssl_write_cid_ext() local 264 unsigned char *p = buf; in ssl_write_max_fragment_length_ext() local 298 unsigned char *p = buf; in ssl_write_encrypt_then_mac_ext() local 330 unsigned char *p = buf; in ssl_write_extended_ms_ext() local 362 unsigned char *p = buf; in ssl_write_session_ticket_ext() local 407 unsigned char *p = buf; in ssl_write_use_srtp_ext() local 519 unsigned char *p = buf; in mbedtls_ssl_tls12_write_client_hello_exts() local [all …]
|
D | psa_crypto_core_common.h | 29 static inline unsigned char *psa_crypto_buffer_offset( in psa_crypto_buffer_offset() 46 static inline const unsigned char *psa_crypto_buffer_offset_const( in psa_crypto_buffer_offset_const()
|
D | x509_crl.c | 50 static int x509_crl_get_version(unsigned char **p, in x509_crl_get_version() 75 static int x509_get_crl_ext(unsigned char **p, in x509_get_crl_ext() 159 static int x509_get_crl_entry_ext(unsigned char **p, in x509_get_crl_entry_ext() 214 static int x509_get_entries(unsigned char **p, in x509_get_entries() 287 unsigned char *p = NULL, *end = NULL; in mbedtls_x509_crl_parse_der() local 598 char *p; in mbedtls_x509_crl_info() local
|
D | pkwrite.c | 111 static int pk_write_rsa_pubkey(unsigned char **p, unsigned char *start, in pk_write_rsa_pubkey() 152 static int pk_write_ec_pubkey(unsigned char **p, unsigned char *start, in pk_write_ec_pubkey() 177 static int pk_write_ec_pubkey(unsigned char **p, unsigned char *start, in pk_write_ec_pubkey() 223 static int pk_write_ec_param(unsigned char **p, unsigned char *start, in pk_write_ec_param() 244 static int pk_write_ec_private(unsigned char **p, unsigned char *start, in pk_write_ec_private() 272 static int pk_write_ec_private(unsigned char **p, unsigned char *start, in pk_write_ec_private() 311 static int pk_write_opaque_pubkey(unsigned char **p, unsigned char *start, in pk_write_opaque_pubkey() 334 int mbedtls_pk_write_pubkey(unsigned char **p, unsigned char *start, in mbedtls_pk_write_pubkey() 473 static int pk_write_ec_rfc8410_der(unsigned char **p, unsigned char *buf, in pk_write_ec_rfc8410_der() 516 static int pk_write_ec_der(unsigned char **p, unsigned char *buf, in pk_write_ec_der() [all …]
|
D | x509_csr.c | 42 static int x509_csr_get_version(unsigned char **p, in x509_csr_get_version() 64 unsigned char **p, const unsigned char *end) in x509_csr_parse_extensions() 164 unsigned char **p = (unsigned char **) &start; in x509_csr_parse_attributes() local 227 unsigned char *p, *end; in mbedtls_x509_csr_parse_der() local 468 char *p; in mbedtls_x509_csr_info() local
|
D | ssl_tls12_server.c | 186 const unsigned char *p; in ssl_parse_supported_groups_ext() local 251 const unsigned char *p; in ssl_parse_supported_point_formats() local 896 unsigned char *buf, *p, *ext; in ssl_parse_client_hello() local 1693 unsigned char *p = buf; in ssl_write_cid_ext() local 1737 unsigned char *p = buf; in ssl_write_encrypt_then_mac_ext() local 1783 unsigned char *p = buf; in ssl_write_extended_ms_ext() local 1808 unsigned char *p = buf; in ssl_write_session_ticket_ext() local 1831 unsigned char *p = buf; in ssl_write_renegotiation_ext() local 1869 unsigned char *p = buf; in ssl_write_max_fragment_length_ext() local 1897 unsigned char *p = buf; in ssl_write_supported_point_formats_ext() local [all …]
|
D | ssl_tls13_client.c | 51 unsigned char *p = buf; in ssl_tls13_write_supported_versions_ext() local 130 const unsigned char *p = buf; in ssl_tls13_parse_alpn_ext() local 269 unsigned char *p = buf; in ssl_tls13_write_key_share_ext() local 381 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 534 const unsigned char *p = buf; in ssl_tls13_parse_cookie_ext() local 567 unsigned char *p = buf; in ssl_tls13_write_cookie_ext() local 615 unsigned char *p = buf; in ssl_tls13_write_psk_key_exchange_modes_ext() local 902 unsigned char *p = buf; in mbedtls_ssl_tls13_write_identities_of_pre_shared_key_ext() local 1018 unsigned char *p = buf; in mbedtls_ssl_tls13_write_binders_of_pre_shared_key_ext() local [all …]
|
D | ssl_client.c | 31 unsigned char *p = buf; in ssl_write_hostname_ext() local 119 unsigned char *p = buf; in ssl_write_alpn_ext() local 223 unsigned char *p = buf; in ssl_write_supported_groups_ext() local 324 unsigned char *p = buf; in ssl_write_client_hello_cipher_suites() local 444 unsigned char *p = buf; in ssl_write_client_hello_body() local
|
D | x509_create.c | 245 unsigned char *p = der + 1; in parse_attribute_value_hex_der_encoded() local 410 static int x509_write_name(unsigned char **p, in x509_write_name() 444 int mbedtls_x509_write_names(unsigned char **p, unsigned char *start, in mbedtls_x509_write_names() 463 int mbedtls_x509_write_sig(unsigned char **p, unsigned char *start, in mbedtls_x509_write_sig() 509 static int x509_write_extension(unsigned char **p, unsigned char *start, in x509_write_extension() 546 int mbedtls_x509_write_extensions(unsigned char **p, unsigned char *start, in mbedtls_x509_write_extensions()
|
D | pkparse.c | 168 static int pk_get_ecparams(unsigned char **p, const unsigned char *end, in pk_get_ecparams() 227 unsigned char *p = params->p; in pk_group_from_specified() local 698 static int pk_get_ecpubkey(unsigned char **p, const unsigned char *end, in pk_get_ecpubkey() 774 static int pk_get_rsapubkey(unsigned char **p, in pk_get_rsapubkey() 835 static int pk_get_pk_alg(unsigned char **p, in pk_get_pk_alg() 881 int mbedtls_pk_parse_subpubkey(unsigned char **p, const unsigned char *end, in mbedtls_pk_parse_subpubkey() 964 static int asn1_get_nonzero_mpi(unsigned char **p, in asn1_get_nonzero_mpi() 991 unsigned char *p, *end; in pk_parse_key_pkcs1_der() local 1154 unsigned char *p = (unsigned char *) key; in pk_parse_key_sec1_der() local 1312 unsigned char *p = (unsigned char *) key; in pk_parse_key_pkcs8_unencrypted_der() local [all …]
|
D | alignment.h | 42 inline uint16_t mbedtls_get_unaligned_uint16(const void *p) in mbedtls_get_unaligned_uint16() 56 inline void mbedtls_put_unaligned_uint16(void *p, uint16_t x) in mbedtls_put_unaligned_uint16() 68 inline uint32_t mbedtls_get_unaligned_uint32(const void *p) in mbedtls_get_unaligned_uint32() 82 inline void mbedtls_put_unaligned_uint32(void *p, uint32_t x) in mbedtls_put_unaligned_uint32() 94 inline uint64_t mbedtls_get_unaligned_uint64(const void *p) in mbedtls_get_unaligned_uint64() 108 inline void mbedtls_put_unaligned_uint64(void *p, uint64_t x) in mbedtls_put_unaligned_uint64()
|
D | ssl_tls13_server.c | 55 const unsigned char *p = buf; in ssl_tls13_parse_key_exchange_modes_ext() local 384 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 680 unsigned char *p = (unsigned char *) buf; in ssl_tls13_write_server_pre_shared_key_ext() local 726 const unsigned char *p = buf; in ssl_tls13_parse_supported_versions_ext() local 785 const unsigned char *p = buf; in ssl_tls13_parse_supported_groups_ext() local 848 unsigned char const *p = buf; in ssl_tls13_parse_key_shares_ext() local 1241 const unsigned char *p = buf; in ssl_tls13_parse_client_hello() local 1956 unsigned char *p = buf; in ssl_tls13_write_key_share_ext() local 2085 unsigned char *p = buf; in ssl_tls13_write_server_hello_body() local [all …]
|
D | ecjpake.c | 156 static int ecjpake_write_len_point(unsigned char **p, in ecjpake_write_len_point() 203 unsigned char *p = buf; in ecjpake_hash() local 249 const unsigned char **p, in ecjpake_zkp_read() 320 unsigned char **p, in ecjpake_zkp_write() 380 const unsigned char **p, in ecjpake_kkp_read() 418 unsigned char **p, in ecjpake_kkp_write() 460 const unsigned char *p = buf; in ecjpake_kkpp_read() local 499 unsigned char *p = buf; in ecjpake_kkpp_write() local 571 const unsigned char *p = buf; in mbedtls_ecjpake_read_round_two() local 661 unsigned char *p = buf; in mbedtls_ecjpake_write_round_two() local [all …]
|
D | bignum_mod.c | 27 mbedtls_mpi_uint *p, in mbedtls_mpi_mod_residue_setup() 127 const mbedtls_mpi_uint *p, in standard_modulus_setup() 138 const mbedtls_mpi_uint *p, in mbedtls_mpi_mod_modulus_setup() 154 const mbedtls_mpi_uint *p, in mbedtls_mpi_mod_optred_modulus_setup()
|
D | x509_crt.c | 392 static int x509_get_version(unsigned char **p, in x509_get_version() 429 static int x509_get_dates(unsigned char **p, in x509_get_dates() 463 static int x509_get_uid(unsigned char **p, in x509_get_uid() 491 static int x509_get_basic_constraints(unsigned char **p, in x509_get_basic_constraints() 560 static int x509_get_ext_key_usage(unsigned char **p, in x509_get_ext_key_usage() 584 static int x509_get_subject_key_id(unsigned char **p, in x509_get_subject_key_id() 617 static int x509_get_authority_key_id(unsigned char **p, in x509_get_authority_key_id() 736 static int x509_get_certificate_policies(unsigned char **p, in x509_get_certificate_policies() 859 static int x509_get_crt_ext(unsigned char **p, in x509_get_crt_ext() 1079 unsigned char *p, *end, *crt_end; in x509_crt_parse_der_core() local [all …]
|
D | ssl_tls13_generic.c | 91 const unsigned char *p = buf; in mbedtls_ssl_tls13_is_supported_versions_ext_present_in_exts() local 220 const unsigned char *p = buf; in ssl_tls13_parse_certificate_verify() local 447 const unsigned char *p = buf; in mbedtls_ssl_tls13_parse_certificate() local 867 unsigned char *p = buf; in ssl_tls13_write_certificate_body() local 1006 unsigned char *p = buf; in ssl_tls13_write_certificate_verify_body() local 1417 unsigned char *p = buf; in mbedtls_ssl_tls13_write_early_data_ext() local 1495 uint8_t *p = (uint8_t *) buf; in mbedtls_ssl_tls13_read_public_xxdhe_share() local 1695 const unsigned char *p = buf; in mbedtls_ssl_tls13_parse_record_size_limit_ext() local
|
D | base64.c | 66 unsigned char *p; in mbedtls_base64_encode() local 137 unsigned char *p; in mbedtls_base64_decode() local
|
D | bignum_mod.h | 106 mbedtls_mpi_uint *p; member 122 const mbedtls_mpi_uint *p; member
|
D | memory_buffer_alloc.c | 202 unsigned char *p; in buffer_alloc_calloc() local 363 unsigned char *p = (unsigned char *) ptr; in buffer_alloc_free() local 605 static int check_pointer(void *p) in check_pointer() 645 unsigned char *p, *q, *r, *end; in mbedtls_memory_buffer_alloc_self_test() local
|
/mbedtls-3.6.0/tests/src/ |
D | asn1_helpers.c | 18 int mbedtls_test_asn1_skip_integer(unsigned char **p, const unsigned char *end, in mbedtls_test_asn1_skip_integer()
|
/mbedtls-3.6.0/programs/test/ |
D | zeroize.c | 40 char *p = buf; in main() local
|