Home
last modified time | relevance | path

Searched defs:p (Results 1 – 25 of 82) sorted by relevance

1234

/mbedtls-3.5.0/library/
Dasn1write.c31 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()
106 int mbedtls_asn1_write_raw_buffer(unsigned char **p, const unsigned char *start, in mbedtls_asn1_write_raw_buffer()
123 int mbedtls_asn1_write_mpi(unsigned char **p, const unsigned char *start, const mbedtls_mpi *X) in mbedtls_asn1_write_mpi()
167 int mbedtls_asn1_write_null(unsigned char **p, const unsigned char *start) in mbedtls_asn1_write_null()
180 int mbedtls_asn1_write_oid(unsigned char **p, const unsigned char *start, in mbedtls_asn1_write_oid()
194 int mbedtls_asn1_write_algorithm_identifier(unsigned char **p, const unsigned char *start, in mbedtls_asn1_write_algorithm_identifier()
217 int mbedtls_asn1_write_bool(unsigned char **p, const unsigned char *start, int boolean) in mbedtls_asn1_write_bool()
235 static int asn1_write_tagged_int(unsigned char **p, const unsigned char *start, int val, int tag) in asn1_write_tagged_int()
263 int mbedtls_asn1_write_int(unsigned char **p, const unsigned char *start, int val) in mbedtls_asn1_write_int()
[all …]
Dasn1parse.c39 int mbedtls_asn1_get_len(unsigned char **p, in mbedtls_asn1_get_len()
101 int mbedtls_asn1_get_tag(unsigned char **p, in mbedtls_asn1_get_tag()
118 int mbedtls_asn1_get_bool(unsigned char **p, in mbedtls_asn1_get_bool()
139 static int asn1_get_tagged_int(unsigned char **p, in asn1_get_tagged_int()
186 int mbedtls_asn1_get_int(unsigned char **p, in mbedtls_asn1_get_int()
193 int mbedtls_asn1_get_enum(unsigned char **p, in mbedtls_asn1_get_enum()
201 int mbedtls_asn1_get_mpi(unsigned char **p, in mbedtls_asn1_get_mpi()
220 int mbedtls_asn1_get_bitstring(unsigned char **p, const unsigned char *end, in mbedtls_asn1_get_bitstring()
259 unsigned char **p, in mbedtls_asn1_traverse_sequence_of()
309 int mbedtls_asn1_get_bitstring_null(unsigned char **p, const unsigned char *end, in mbedtls_asn1_get_bitstring_null()
[all …]
Dx509.c71 int mbedtls_x509_get_serial(unsigned char **p, const unsigned char *end, in mbedtls_x509_get_serial()
105 int mbedtls_x509_get_alg_null(unsigned char **p, const unsigned char *end, in mbedtls_x509_get_alg_null()
120 int mbedtls_x509_get_alg(unsigned char **p, const unsigned char *end, in mbedtls_x509_get_alg()
186 unsigned char *p; in x509_get_hash_alg() local
254 unsigned char *p; in mbedtls_x509_get_rsassa_pss_params() local
410 static int x509_get_attr_type_value(unsigned char **p, in x509_get_attr_type_value()
502 int mbedtls_x509_get_name(unsigned char **p, const unsigned char *end, in mbedtls_x509_get_name()
570 static int x509_parse_int(unsigned char **p, size_t n, int *res) in x509_parse_int()
623 static int x509_parse_time(unsigned char **p, size_t len, size_t yearlen, in x509_parse_time()
688 int mbedtls_x509_get_time(unsigned char **p, const unsigned char *end, in mbedtls_x509_get_time()
[all …]
Dpkcs7.c52 static int pkcs7_get_next_content_len(unsigned char **p, unsigned char *end, in pkcs7_get_next_content_len()
73 static int pkcs7_get_version(unsigned char **p, unsigned char *end, int *ver) in pkcs7_get_version()
96 static int pkcs7_get_content_info_type(unsigned char **p, unsigned char *end, in pkcs7_get_content_info_type()
130 static int pkcs7_get_digest_algorithm(unsigned char **p, unsigned char *end, in pkcs7_get_digest_algorithm()
145 static int pkcs7_get_digest_algorithm_set(unsigned char **p, in pkcs7_get_digest_algorithm_set()
182 static int pkcs7_get_certificates(unsigned char **p, unsigned char *end, in pkcs7_get_certificates()
235 static int pkcs7_get_signature(unsigned char **p, unsigned char *end, in pkcs7_get_signature()
289 static int pkcs7_get_signer_info(unsigned char **p, unsigned char *end, in pkcs7_get_signer_info()
389 static int pkcs7_get_signers_info_set(unsigned char **p, unsigned char *end, in pkcs7_get_signers_info_set()
466 unsigned char *p = buf; in pkcs7_get_signed_data() local
[all …]
Dssl_tls12_client.c62 unsigned char *p = buf; in ssl_write_renegotiation_ext() local
105 unsigned char *p = buf; in ssl_write_supported_point_formats_ext() local
138 unsigned char *p = buf; in ssl_write_ecjpake_kkpp_ext() local
225 unsigned char *p = buf; in ssl_write_cid_ext() local
268 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
334 unsigned char *p = buf; in ssl_write_extended_ms_ext() local
366 unsigned char *p = buf; in ssl_write_session_ticket_ext() local
411 unsigned char *p = buf; in ssl_write_use_srtp_ext() local
523 unsigned char *p = buf; in mbedtls_ssl_tls12_write_client_hello_exts() local
[all …]
Dx509_crl.c62 static int x509_crl_get_version(unsigned char **p, in x509_crl_get_version()
87 static int x509_get_crl_ext(unsigned char **p, in x509_get_crl_ext()
171 static int x509_get_crl_entry_ext(unsigned char **p, in x509_get_crl_entry_ext()
226 static int x509_get_entries(unsigned char **p, in x509_get_entries()
299 unsigned char *p = NULL, *end = NULL; in mbedtls_x509_crl_parse_der() local
611 char *p; in mbedtls_x509_crl_info() local
Dpkparse.c167 static int pk_get_ecparams(unsigned char **p, const unsigned char *end, in pk_get_ecparams()
226 unsigned char *p = params->p; in pk_group_from_specified() local
497 static int pk_get_ecpubkey(unsigned char **p, const unsigned char *end, in pk_get_ecpubkey()
523 static int pk_get_rsapubkey(unsigned char **p, in pk_get_rsapubkey()
584 static int pk_get_pk_alg(unsigned char **p, in pk_get_pk_alg()
618 int mbedtls_pk_parse_subpubkey(unsigned char **p, const unsigned char *end, in mbedtls_pk_parse_subpubkey()
693 static int asn1_get_nonzero_mpi(unsigned char **p, in asn1_get_nonzero_mpi()
720 unsigned char *p, *end; in pk_parse_key_pkcs1_der() local
883 unsigned char *p = (unsigned char *) key; in pk_parse_key_sec1_der() local
1015 unsigned char *p = (unsigned char *) key; in pk_parse_key_pkcs8_unencrypted_der() local
[all …]
Dx509_csr.c54 static int x509_csr_get_version(unsigned char **p, in x509_csr_get_version()
76 unsigned char **p, const unsigned char *end) in x509_csr_parse_extensions()
176 unsigned char **p = (unsigned char **) &start; in x509_csr_parse_attributes() local
239 unsigned char *p, *end; in mbedtls_x509_csr_parse_der() local
481 char *p; in mbedtls_x509_csr_info() local
Dx509_create.c230 static int x509_write_name(unsigned char **p, in x509_write_name()
264 int mbedtls_x509_write_names(unsigned char **p, unsigned char *start, in mbedtls_x509_write_names()
283 int mbedtls_x509_write_sig(unsigned char **p, unsigned char *start, in mbedtls_x509_write_sig()
316 static int x509_write_extension(unsigned char **p, unsigned char *start, in x509_write_extension()
353 int mbedtls_x509_write_extensions(unsigned char **p, unsigned char *start, in mbedtls_x509_write_extensions()
Dssl_client.c45 unsigned char *p = buf; in ssl_write_hostname_ext() local
133 unsigned char *p = buf; in ssl_write_alpn_ext() local
234 unsigned char *p = buf; in ssl_write_supported_groups_ext() local
319 unsigned char *p = buf; in ssl_write_client_hello_cipher_suites() local
438 unsigned char *p = buf; in ssl_write_client_hello_body() local
Dssl_tls12_server.c190 const unsigned char *p; in ssl_parse_supported_groups_ext() local
255 const unsigned char *p; in ssl_parse_supported_point_formats() local
899 unsigned char *buf, *p, *ext; in ssl_parse_client_hello() local
1689 unsigned char *p = buf; in ssl_write_cid_ext() local
1733 unsigned char *p = buf; in ssl_write_encrypt_then_mac_ext() local
1779 unsigned char *p = buf; in ssl_write_extended_ms_ext() local
1804 unsigned char *p = buf; in ssl_write_session_ticket_ext() local
1827 unsigned char *p = buf; in ssl_write_renegotiation_ext() local
1865 unsigned char *p = buf; in ssl_write_max_fragment_length_ext() local
1892 unsigned char *p = buf; in ssl_write_supported_point_formats_ext() local
[all …]
Dssl_tls13_client.c56 unsigned char *p = buf; in ssl_tls13_write_supported_versions_ext() local
134 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
379 const unsigned char *p = buf; in ssl_tls13_parse_hrr_key_share_ext() local
461 const unsigned char *p = buf; in ssl_tls13_parse_key_share_ext() local
531 const unsigned char *p = buf; in ssl_tls13_parse_cookie_ext() local
564 unsigned char *p = buf; in ssl_tls13_write_cookie_ext() local
612 unsigned char *p = buf; in ssl_tls13_write_psk_key_exchange_modes_ext() local
899 unsigned char *p = buf; in mbedtls_ssl_tls13_write_identities_of_pre_shared_key_ext() local
1015 unsigned char *p = buf; in mbedtls_ssl_tls13_write_binders_of_pre_shared_key_ext() local
[all …]
Dpkwrite.c63 static int pk_write_rsa_pubkey(unsigned char **p, unsigned char *start, in pk_write_rsa_pubkey()
105 static int pk_write_ec_pubkey(unsigned char **p, unsigned char *start, in pk_write_ec_pubkey()
133 static int pk_write_ec_param(unsigned char **p, unsigned char *start, in pk_write_ec_param()
153 static int pk_write_ec_private(unsigned char **p, unsigned char *start, in pk_write_ec_private()
172 int mbedtls_pk_write_pubkey(unsigned char **p, unsigned char *start, in mbedtls_pk_write_pubkey()
Dalignment.h56 inline uint16_t mbedtls_get_unaligned_uint16(const void *p) in mbedtls_get_unaligned_uint16()
70 inline void mbedtls_put_unaligned_uint16(void *p, uint16_t x) in mbedtls_put_unaligned_uint16()
82 inline uint32_t mbedtls_get_unaligned_uint32(const void *p) in mbedtls_get_unaligned_uint32()
96 inline void mbedtls_put_unaligned_uint32(void *p, uint32_t x) in mbedtls_put_unaligned_uint32()
108 inline uint64_t mbedtls_get_unaligned_uint64(const void *p) in mbedtls_get_unaligned_uint64()
122 inline void mbedtls_put_unaligned_uint64(void *p, uint64_t x) in mbedtls_put_unaligned_uint64()
Dcommon.h91 unsigned char *p, size_t n) in mbedtls_buffer_offset()
108 const unsigned char *p, size_t n) in mbedtls_buffer_offset_const()
Dssl_tls13_server.c65 const unsigned char *p = buf; in ssl_tls13_parse_key_exchange_modes_ext() local
395 for (const unsigned char *p = cipher_suites; in ssl_tls13_select_ciphersuite_for_psk() local
433 for (const unsigned char *p = cipher_suites; p < cipher_suites_end; p += 2) { in ssl_tls13_select_ciphersuite_for_resumption() local
691 unsigned char *p = (unsigned char *) buf; in ssl_tls13_write_server_pre_shared_key_ext() local
737 const unsigned char *p = buf; in ssl_tls13_parse_supported_versions_ext() local
791 const unsigned char *p = buf; in ssl_tls13_parse_supported_groups_ext() local
853 unsigned char const *p = buf; in ssl_tls13_parse_key_shares_ext() local
1243 const unsigned char *p = buf; in ssl_tls13_parse_client_hello() local
1897 unsigned char *p = buf; in ssl_tls13_write_key_share_ext() local
2026 unsigned char *p = buf; in ssl_tls13_write_server_hello_body() local
[all …]
Decjpake.c199 static int ecjpake_write_len_point(unsigned char **p, in ecjpake_write_len_point()
246 unsigned char *p = buf; in ecjpake_hash() local
292 const unsigned char **p, in ecjpake_zkp_read()
363 unsigned char **p, in ecjpake_zkp_write()
423 const unsigned char **p, in ecjpake_kkp_read()
461 unsigned char **p, in ecjpake_kkp_write()
503 const unsigned char *p = buf; in ecjpake_kkpp_read() local
542 unsigned char *p = buf; in ecjpake_kkpp_write() local
614 const unsigned char *p = buf; in mbedtls_ecjpake_read_round_two() local
704 unsigned char *p = buf; in mbedtls_ecjpake_write_round_two() local
[all …]
Dbase64.c44 unsigned char *p; in mbedtls_base64_encode() local
115 unsigned char *p; in mbedtls_base64_decode() local
Dbignum_mod.h117 mbedtls_mpi_uint *p; member
129 const mbedtls_mpi_uint *p; member
Dssl_tls13_generic.c169 const unsigned char *p = buf; in ssl_tls13_parse_certificate_verify() local
393 const unsigned char *p = buf; in mbedtls_ssl_tls13_parse_certificate() local
805 unsigned char *p = buf; in ssl_tls13_write_certificate_body() local
946 unsigned char *p = buf; in ssl_tls13_write_certificate_verify_body() local
1359 unsigned char *p = buf; in mbedtls_ssl_tls13_write_early_data_ext() local
1437 uint8_t *p = (uint8_t *) buf; in mbedtls_ssl_tls13_read_public_ecdhe_share() local
1582 const unsigned char *p = buf; in mbedtls_ssl_tls13_parse_record_size_limit_ext() local
Dx509_crt.c402 static int x509_get_version(unsigned char **p, in x509_get_version()
439 static int x509_get_dates(unsigned char **p, in x509_get_dates()
473 static int x509_get_uid(unsigned char **p, in x509_get_uid()
501 static int x509_get_basic_constraints(unsigned char **p, in x509_get_basic_constraints()
570 static int x509_get_ext_key_usage(unsigned char **p, in x509_get_ext_key_usage()
638 static int x509_get_certificate_policies(unsigned char **p, in x509_get_certificate_policies()
761 static int x509_get_crt_ext(unsigned char **p, in x509_get_crt_ext()
964 unsigned char *p, *end, *crt_end; in x509_crt_parse_der_core() local
1415 char *p; in mbedtls_x509_crt_parse_path() local
1554 char *p = *buf; in x509_info_ext_key_usage() local
[all …]
Dmemory_buffer_alloc.c214 unsigned char *p; in buffer_alloc_calloc() local
375 unsigned char *p = (unsigned char *) ptr; in buffer_alloc_free() local
617 static int check_pointer(void *p) in check_pointer()
657 unsigned char *p, *q, *r, *end; in mbedtls_memory_buffer_alloc_self_test() local
Dpkcs12.c58 unsigned char **p = &params->p; in pkcs12_parse_pbe_params() local
212 unsigned char *p = data; in pkcs12_fill_buffer() local
354 unsigned char *p; in mbedtls_pkcs12_derivation() local
/mbedtls-3.5.0/tests/src/
Dasn1_helpers.c30 int mbedtls_test_asn1_skip_integer(unsigned char **p, const unsigned char *end, in mbedtls_test_asn1_skip_integer()
/mbedtls-3.5.0/programs/test/
Dzeroize.c52 char *p = buf; in main() local

1234