Home
last modified time | relevance | path

Searched defs:len (Results 1 – 25 of 86) sorted by relevance

1234

/mbedtls-3.5.0/library/
Dasn1parse.c41 size_t *len) in mbedtls_asn1_get_len()
103 size_t *len, int tag) in mbedtls_asn1_get_tag()
123 size_t len; in mbedtls_asn1_get_bool() local
144 size_t len; in asn1_get_tagged_int() local
206 size_t len; in mbedtls_asn1_get_mpi() local
264 unsigned char *start, size_t len), in mbedtls_asn1_traverse_sequence_of()
268 size_t len; in mbedtls_asn1_traverse_sequence_of() local
310 size_t *len) in mbedtls_asn1_get_bitstring_null()
348 size_t len) in asn1_get_sequence_of_cb()
394 size_t len; in mbedtls_asn1_get_alg() local
[all …]
Dasn1write.c31 int mbedtls_asn1_write_len(unsigned char **p, const unsigned char *start, size_t len) in mbedtls_asn1_write_len()
109 size_t len = 0; in mbedtls_asn1_write_raw_buffer() local
126 size_t len = 0; in mbedtls_asn1_write_mpi() local
170 size_t len = 0; in mbedtls_asn1_write_null() local
184 size_t len = 0; in mbedtls_asn1_write_oid() local
199 size_t len = 0; in mbedtls_asn1_write_algorithm_identifier() local
220 size_t len = 0; in mbedtls_asn1_write_bool() local
238 size_t len = 0; in asn1_write_tagged_int() local
277 size_t len = 0; in mbedtls_asn1_write_tagged_string() local
356 size_t len = 0; in mbedtls_asn1_write_bitstring() local
[all …]
Dentropy_poll.c57 int mbedtls_platform_entropy_poll(void *data, unsigned char *output, size_t len, in mbedtls_platform_entropy_poll()
138 size_t len; in sysctl_arnd_wrapper() local
159 unsigned char *output, size_t len, size_t *olen) in mbedtls_platform_entropy_poll()
216 unsigned char *output, size_t len, size_t *olen) in mbedtls_nv_seed_poll()
Dpkcs7.c53 size_t *len) in pkcs7_get_next_content_len()
100 size_t len = 0; in pkcs7_get_content_info_type() local
149 size_t len = 0; in pkcs7_get_digest_algorithm_set() local
239 size_t len = 0; in pkcs7_get_signature() local
295 size_t len = 0; in pkcs7_get_signer_info() local
396 size_t len = 0; in pkcs7_get_signers_info_set() local
469 size_t len = 0; in pkcs7_get_signed_data() local
570 size_t len = 0; in mbedtls_pkcs7_parse_der() local
Dpkwrite.c67 size_t len = 0; in pk_write_rsa_pubkey() local
109 size_t len = 0; in pk_write_ec_pubkey() local
137 size_t len = 0; in pk_write_ec_param() local
176 size_t len = 0; in mbedtls_pk_write_pubkey() local
216 size_t len = 0, par_len = 0, oid_len; in mbedtls_pk_write_pubkey_der() local
313 size_t len = 0; in mbedtls_pk_write_key_der() local
Decjpake.c135 size_t len) in mbedtls_ecjpake_setup()
206 size_t len; in ecjpake_write_len_point() local
372 size_t len; in ecjpake_zkp_write() local
467 size_t len; in ecjpake_kkp_write() local
500 size_t len) in ecjpake_kkpp_read()
536 size_t len, in ecjpake_kkpp_write()
561 size_t len) in mbedtls_ecjpake_read_round_one()
573 unsigned char *buf, size_t len, size_t *olen, in mbedtls_ecjpake_write_round_one()
611 size_t len) in mbedtls_ecjpake_read_round_two()
696 unsigned char *buf, size_t len, size_t *olen, in mbedtls_ecjpake_write_round_two()
[all …]
Dx509_create.c235 size_t len = 0; in x509_write_name() local
268 size_t len = 0; in mbedtls_x509_write_names() local
288 size_t len = 0; in mbedtls_x509_write_sig() local
320 size_t len = 0; in x509_write_extension() local
357 size_t len = 0; in mbedtls_x509_write_extensions() local
Dpkparse.c229 size_t len; in pk_group_from_specified() local
528 size_t len; in pk_get_rsapubkey() local
622 size_t len; in mbedtls_pk_parse_subpubkey() local
719 size_t len; in pk_parse_key_pkcs1_der() local
881 size_t len; in pk_parse_key_sec1_der() local
1013 size_t len; in pk_parse_key_pkcs8_unencrypted_der() local
1116 size_t len; in pk_parse_key_pkcs8_encrypted_der() local
1219 size_t len; in mbedtls_pk_parse_key() local
1430 size_t len; in mbedtls_pk_parse_public_key() local
Dctr_drbg.c84 size_t len) in mbedtls_ctr_drbg_set_entropy_len()
90 size_t len) in mbedtls_ctr_drbg_set_nonce_len()
344 size_t len, in mbedtls_ctr_drbg_reseed_internal()
400 const unsigned char *additional, size_t len) in mbedtls_ctr_drbg_reseed()
434 size_t len) in mbedtls_ctr_drbg_seed()
806 size_t len) in ctr_drbg_self_test_entropy()
Dhmac_drbg.c147 const unsigned char *additional, size_t len, in hmac_drbg_reseed_core()
223 const unsigned char *additional, size_t len) in mbedtls_hmac_drbg_reseed()
239 size_t len) in mbedtls_hmac_drbg_seed()
301 void mbedtls_hmac_drbg_set_entropy_len(mbedtls_hmac_drbg_context *ctx, size_t len) in mbedtls_hmac_drbg_set_entropy_len()
562 unsigned char *buf, size_t len) in hmac_drbg_self_test_entropy()
Dnet_sockets.c73 #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
556 int mbedtls_net_recv(void *ctx, unsigned char *buf, size_t len) in mbedtls_net_recv()
598 size_t len, uint32_t timeout) in mbedtls_net_recv_timeout()
645 int mbedtls_net_send(void *ctx, const unsigned char *buf, size_t len) in mbedtls_net_send()
Dx509_csr.c79 size_t len; in x509_csr_parse_extensions() local
174 size_t len; in x509_csr_parse_attributes() local
238 size_t len; in mbedtls_x509_csr_parse_der() local
Dssl_tls12_client.c621 size_t len) in ssl_parse_renegotiation_info()
662 size_t len) in ssl_parse_max_fragment_length_ext()
688 size_t len) in ssl_parse_cid_ext()
741 size_t len) in ssl_parse_encrypt_then_mac_ext()
766 size_t len) in ssl_parse_extended_ms_ext()
791 size_t len) in ssl_parse_session_ticket_ext()
817 size_t len) in ssl_parse_supported_point_formats_ext()
864 size_t len) in ssl_parse_ecjpake_kkpp()
914 const unsigned char *buf, size_t len) in ssl_parse_alpn_ext()
980 size_t len) in ssl_parse_use_srtp_ext()
[all …]
Dx509.c189 size_t len; in x509_get_hash_alg() local
256 size_t len; in mbedtls_x509_get_rsassa_pss_params() local
415 size_t len; in x509_get_attr_type_value() local
623 static int x509_parse_time(unsigned char **p, size_t len, size_t yearlen, in x509_parse_time()
692 size_t len, year_len; in mbedtls_x509_get_time() local
724 size_t len; in mbedtls_x509_get_sig() local
804 size_t len; in mbedtls_x509_get_ext() local
1129 size_t len; in x509_get_other_name() local
1239 size_t len, tag_len; in mbedtls_x509_get_subject_alt_name() local
Dssl_tls12_server.c113 size_t len) in ssl_parse_renegotiation_info()
187 size_t len) in ssl_parse_supported_groups_ext()
252 size_t len) in ssl_parse_supported_point_formats()
296 size_t len) in ssl_parse_ecjpake_kkpp()
346 size_t len) in ssl_parse_max_fragment_length_ext()
365 size_t len) in ssl_parse_cid_ext()
430 size_t len) in ssl_parse_encrypt_then_mac_ext()
453 size_t len) in ssl_parse_extended_ms_ext()
476 size_t len) in ssl_parse_session_ticket_ext()
550 size_t len) in ssl_parse_use_srtp_ext()
[all …]
Dentropy.c144 const unsigned char *data, size_t len) in entropy_update()
205 const unsigned char *data, size_t len) in mbedtls_entropy_update_manual()
301 int mbedtls_entropy_func(void *data, unsigned char *output, size_t len) in mbedtls_entropy_func()
539 size_t len, size_t *olen) in entropy_dummy_source()
Dx509write_crt.c171 size_t len = 0; in mbedtls_x509write_crt_set_basic_constraints() local
206 size_t len = 0; in mbedtls_x509write_crt_set_key_identifier() local
332 size_t len = 0; in mbedtls_x509write_crt_set_ext_key_usage() local
395 size_t len = 0; in x509_write_time() local
437 size_t len = 0; in mbedtls_x509write_crt_der() local
/mbedtls-3.5.0/programs/fuzz/
Dcommon.c25 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()
84 int dummy_entropy(void *data, unsigned char *output, size_t len) in dummy_entropy()
99 int fuzz_recv_timeout(void *ctx, unsigned char *buf, size_t len, in fuzz_recv_timeout()
/mbedtls-3.5.0/tests/src/
Drandom.c43 size_t len) in mbedtls_test_rnd_std_rand()
68 size_t len) in mbedtls_test_rnd_zero_rand()
81 size_t len) in mbedtls_test_rnd_buffer_rand()
116 size_t len) in mbedtls_test_rnd_pseudo_rand()
Dhelpers.c194 size_t *len) in mbedtls_test_unhexify()
227 int len) in mbedtls_test_hexify()
252 unsigned char *mbedtls_test_zero_alloc(size_t len) in mbedtls_test_zero_alloc()
268 size_t len; in mbedtls_test_unhexify_alloc() local
/mbedtls-3.5.0/programs/ssl/
Dssl_test_common_source.c61 size_t len = 0; in nss_keylog_export() local
147 unsigned char const *buf, size_t len) in ssl_check_record()
210 int recv_cb(void *ctx, unsigned char *buf, size_t len) in recv_cb()
238 int recv_timeout_cb(void *ctx, unsigned char *buf, size_t len, in recv_timeout_cb()
263 int send_cb(void *ctx, unsigned char const *buf, size_t len) in send_cb()
Dssl_context_info.c239 void print_b64(const uint8_t *b, size_t len) in print_b64()
263 void print_hex(const uint8_t *b, size_t len, in print_hex()
362 size_t len = 0; in read_next_b64_code() local
459 void print_deserialized_ssl_cert(const uint8_t *ssl, uint32_t len) in print_deserialized_ssl_cert()
525 void print_deserialized_ssl_session(const uint8_t *ssl, uint32_t len, in print_deserialized_ssl_session()
757 void print_deserialized_ssl_context(const uint8_t *ssl, size_t len) in print_deserialized_ssl_context()
/mbedtls-3.5.0/tests/scripts/
Dtest_zeroize.gdb57 set $len = sizeof(buf) toplevelVariable
/mbedtls-3.5.0/programs/
Dwince_main.c34 size_t len; in _tmain() local
/mbedtls-3.5.0/programs/pkey/
Decdsa.c58 static void dump_buf(const char *title, unsigned char *buf, size_t len) in dump_buf()
73 size_t len; in dump_pubkey() local

1234