Home
last modified time | relevance | path

Searched defs:ret (Results 1 – 25 of 115) sorted by relevance

12345

/net-tools-3.5.0/mbedtls-2.4.0/library/
Dpkparse.c124 int ret; in mbedtls_pk_parse_keyfile() local
148 int ret; in mbedtls_pk_parse_public_keyfile() local
176 int ret; in pk_get_ecparams() local
227 int ret; in pk_group_from_specified() local
372 int ret = 0; in pk_group_id_from_group() local
417 int ret; in pk_group_id_from_specified() local
444 int ret; in pk_use_ecparams() local
484 int ret; in pk_get_ecpubkey() local
512 int ret; in pk_get_rsapubkey() local
550 int ret; in pk_get_pk_alg() local
[all …]
Dx509.c91 int ret; in mbedtls_x509_get_serial() local
122 int ret; in mbedtls_x509_get_alg_null() local
136 int ret; in mbedtls_x509_get_alg() local
156 int ret; in x509_get_hash_alg() local
217 int ret; in mbedtls_x509_get_rsassa_pss_params() local
360 int ret; in x509_get_attr_type_value() local
433 int ret; in mbedtls_x509_get_name() local
495 int ret = MBEDTLS_ERR_X509_INVALID_DATE; in x509_date_is_valid() local
528 int ret; in mbedtls_x509_get_time() local
592 int ret; in mbedtls_x509_get_sig() local
[all …]
Dasn1write.c130 int ret; in mbedtls_asn1_write_mpi() local
167 int ret; in mbedtls_asn1_write_null() local
181 int ret; in mbedtls_asn1_write_oid() local
196 int ret; in mbedtls_asn1_write_algorithm_identifier() local
215 int ret; in mbedtls_asn1_write_bool() local
232 int ret; in mbedtls_asn1_write_int() local
263 int ret; in mbedtls_asn1_write_printable_string() local
278 int ret; in mbedtls_asn1_write_ia5_string() local
293 int ret; in mbedtls_asn1_write_bitstring() local
320 int ret; in mbedtls_asn1_write_octet_string() local
Ddhm.c72 int ret, n; in dhm_read_bignum() local
103 int ret = MBEDTLS_ERR_DHM_BAD_INPUT_DATA; in dhm_check_range() local
133 int ret; in mbedtls_dhm_read_params() local
156 int ret, count = 0; in mbedtls_dhm_make_params() local
222 int ret; in mbedtls_dhm_read_public() local
241 int ret, count = 0; in mbedtls_dhm_make_public() local
289 int ret, count; in dhm_update_blinding() local
353 int ret; in mbedtls_dhm_calc_secret() local
418 int ret; in mbedtls_dhm_parse_dhm() local
564 int ret; in mbedtls_dhm_parse_dhmfile() local
[all …]
Dasn1parse.c131 int ret; in mbedtls_asn1_get_bool() local
150 int ret; in mbedtls_asn1_get_int() local
175 int ret; in mbedtls_asn1_get_mpi() local
192 int ret; in mbedtls_asn1_get_bitstring() local
225 int ret; in mbedtls_asn1_get_bitstring_null() local
246 int ret; in mbedtls_asn1_get_sequence_of() local
295 int ret; in mbedtls_asn1_get_alg() local
339 int ret; in mbedtls_asn1_get_alg_null() local
Dentropy.c135 int index, ret = 0; in mbedtls_entropy_add_source() local
204 int ret; in mbedtls_entropy_update_manual() local
226 int ret, i, have_one_strong = 0; in entropy_gather_internal() local
269 int ret; in mbedtls_entropy_gather() local
288 int ret, count = 0, i, done; in mbedtls_entropy_func() local
384 int ret = MBEDTLS_ERR_ENTROPY_FILE_IO_ERROR; in mbedtls_entropy_update_nv_seed() local
405 int ret = MBEDTLS_ERR_ENTROPY_FILE_IO_ERROR; in mbedtls_entropy_write_seed_file() local
479 int ret = 0; in mbedtls_entropy_source_self_test_gather() local
532 int ret = 0; in mbedtls_entropy_source_self_test() local
580 int ret = 1; in mbedtls_entropy_self_test() local
Dpkwrite.c67 int ret; in pk_write_rsa_pubkey() local
88 int ret; in pk_write_ec_pubkey() local
116 int ret; in pk_write_ec_param() local
133 int ret; in mbedtls_pk_write_pubkey() local
153 int ret; in mbedtls_pk_write_pubkey_der() local
201 int ret; in mbedtls_pk_write_key_der() local
380 int ret; in mbedtls_pk_write_pubkey_pem() local
402 int ret; in mbedtls_pk_write_key_pem() local
Dx509_crl.c81 int ret; in x509_crl_get_version() local
104 int ret; in x509_get_crl_ext() local
139 int ret; in x509_get_crl_entry_ext() local
193 int ret; in x509_get_entries() local
258 int ret; in mbedtls_x509_crl_parse_der() local
493 int ret; in mbedtls_x509_crl_parse() local
556 int ret; in mbedtls_x509_crl_parse_file() local
583 int ret; in mbedtls_x509_crl_info() local
Decdh.c59 int ret; in mbedtls_ecdh_compute_shared() local
123 int ret; in mbedtls_ecdh_make_params() local
158 int ret; in mbedtls_ecdh_read_params() local
176 int ret; in mbedtls_ecdh_get_params() local
204 int ret; in mbedtls_ecdh_make_public() local
223 int ret; in mbedtls_ecdh_read_public() local
246 int ret; in mbedtls_ecdh_calc_secret() local
Decp.c365 int ret; in mbedtls_ecp_copy() local
388 int ret; in mbedtls_ecp_set_zero() local
428 int ret; in mbedtls_ecp_point_read_string() local
445 int ret = 0; in mbedtls_ecp_point_write_binary() local
500 int ret; in mbedtls_ecp_point_read_binary() local
571 int ret; in mbedtls_ecp_tls_write_point() local
665 int ret; in ecp_modp() local
745 int ret; in ecp_normalize_jac() local
792 int ret; in ecp_normalize_jac_many() local
874 int ret; in ecp_safe_invert_jac() local
[all …]
Dx509_csr.c75 int ret; in x509_csr_get_version() local
97 int ret; in mbedtls_x509_csr_parse_der() local
268 int ret; in mbedtls_x509_csr_parse() local
319 int ret; in mbedtls_x509_csr_parse_file() local
343 int ret; in mbedtls_x509_csr_info() local
Dx509write_crt.c105 int ret; in mbedtls_x509write_crt_set_serial() local
141 int ret; in mbedtls_x509write_crt_set_basic_constraints() local
172 int ret; in mbedtls_x509write_crt_set_subject_key_identifier() local
194 int ret; in mbedtls_x509write_crt_set_authority_key_identifier() local
224 int ret; in mbedtls_x509write_crt_set_key_usage() local
250 int ret; in mbedtls_x509write_crt_set_ns_cert_type() local
269 int ret; in x509_write_time() local
299 int ret; in mbedtls_x509write_crt_der() local
438 int ret; in mbedtls_x509write_crt_pem() local
Dssl_cli.c353 int ret; local
669 int ret; local
709 int ret; local
1058 int ret; local
1243 int ret; local
1393 int ret, i; local
1869 int ret = MBEDTLS_ERR_SSL_FEATURE_UNAVAILABLE; local
1946 int ret = MBEDTLS_ERR_SSL_FEATURE_UNAVAILABLE; local
1980 int ret = MBEDTLS_ERR_SSL_FEATURE_UNAVAILABLE; local
2019 int ret; local
[all …]
Dx509_crt.c213 int ret; in x509_get_version() local
250 int ret; in x509_get_dates() local
279 int ret; in x509_get_uid() local
306 int ret; in x509_get_basic_constraints() local
355 int ret; in x509_get_ns_cert_type() local
374 int ret; in x509_get_key_usage() local
404 int ret; in x509_get_ext_key_usage() local
447 int ret; in x509_get_subject_alt_name() local
524 int ret; in x509_get_crt_ext() local
665 int ret; in x509_crt_parse_der_core() local
[all …]
Dx509_create.c91 int ret = 0; in mbedtls_x509_string_to_names() local
199 int ret; in x509_write_name() local
236 int ret; in mbedtls_x509_write_names() local
259 int ret; in mbedtls_x509_write_sig() local
289 int ret; in x509_write_extension() local
327 int ret; in mbedtls_x509_write_extensions() local
Decjpake.c105 int ret; in mbedtls_ecjpake_setup() local
147 int ret; in ecjpake_write_len_point() local
187 int ret; in ecjpake_hash() local
237 int ret; in ecjpake_zkp_read() local
312 int ret; in ecjpake_zkp_write() local
370 int ret; in ecjpake_kkp_read() local
410 int ret; in ecjpake_kkp_write() local
445 int ret; in ecjpake_kkpp_read() local
483 int ret; in ecjpake_kkpp_write() local
533 int ret; in ecjpake_ecp_add3() local
[all …]
Dbignum.c182 int ret; in mbedtls_mpi_copy() local
230 int ret = 0; in mbedtls_mpi_safe_cond_assign() local
258 int ret, s; in mbedtls_mpi_safe_cond_swap() local
292 int ret; in mbedtls_mpi_lset() local
321 int ret = 0; in mbedtls_mpi_set_bit() local
426 int ret; in mbedtls_mpi_read_string() local
498 int ret; in mpi_write_hlp() local
526 int ret = 0; in mbedtls_mpi_write_string() local
630 int ret; in mbedtls_mpi_write_file() local
669 int ret; in mbedtls_mpi_read_binary() local
[all …]
Dssl_tls.c167 int ret; in ssl_session_copy() local
281 int ret; in tls1_prf() local
379 int ret; in tls_prf_generic() local
486 int ret = 0; in mbedtls_ssl_derive_keys() local
848 int ret = 0; in mbedtls_ssl_derive_keys() local
1137 int ret; in mbedtls_ssl_psk_derive_premaster() local
1159 int ret; in mbedtls_ssl_psk_derive_premaster() local
1327 int ret; in ssl_encrypt_buf() local
1356 int ret; in ssl_encrypt_buf() local
1434 int ret; in ssl_encrypt_buf() local
[all …]
Derror.c153 void mbedtls_strerror( int ret, char *buf, size_t buflen ) in mbedtls_strerror()
697 void mbedtls_strerror( int ret, char *buf, size_t buflen ) in mbedtls_strerror()
Decdsa.c52 int ret; in derive_mpi() local
76 int ret, key_tries, sign_tries, blind_tries; in mbedtls_ecdsa_sign() local
165 int ret; in mbedtls_ecdsa_sign_det() local
203 int ret; in mbedtls_ecdsa_verify() local
287 int ret; in ecdsa_signature_to_asn1() local
314 int ret; in mbedtls_ecdsa_write_signature() local
361 int ret; in mbedtls_ecdsa_read_signature() local
420 int ret; in mbedtls_ecdsa_from_keypair() local
Dssl_srv.c94 int ret; in ssl_parse_servername_ext() local
149 int ret; in ssl_parse_renegotiation_info() local
333 int ret; in ssl_parse_ecjpake_kkpp() local
443 int ret; in ssl_parse_session_ticket_ext() local
802 int ret, got_common_suite; local
1072 int ret, got_common_suite; local
2078 int ret; local
2156 int ret; local
2221 int ret; local
2476 int ret = MBEDTLS_ERR_SSL_FEATURE_UNAVAILABLE; local
[all …]
Dnet_sockets.c138 int ret; in mbedtls_net_connect() local
185 int n, ret; in mbedtls_net_bind() local
299 int ret; in mbedtls_net_accept() local
460 int ret; in mbedtls_net_recv() local
497 int ret; in mbedtls_net_recv_timeout() local
540 int ret; in mbedtls_net_send() local
Dcmac.c141 int ret; in cmac_generate_subkeys() local
247 int n, j, ret = 0; in mbedtls_cipher_cmac_update() local
317 int ret; in mbedtls_cipher_cmac_finish() local
395 int ret; in mbedtls_cipher_cmac() local
429 int ret; in mbedtls_aes_cmac_prf_128() local
727 int i, ret; in cmac_test_subkeys() local
809 int i, ret; in cmac_test_wth_cipher() local
852 int ret; in test_aes128_cmac_prf() local
879 int ret; in mbedtls_cmac_self_test() local
Dssl_ticket.c67 int ret; in ssl_ticket_gen_key() local
127 int ret; in mbedtls_ssl_ticket_setup() local
241 int ret; in ssl_load_session() local
292 int ret; in mbedtls_ssl_ticket_write() local
388 int ret; in mbedtls_ssl_ticket_parse() local
Drsa.c99 int ret; in mbedtls_rsa_gen_key() local
198 int ret; in mbedtls_rsa_check_privkey() local
282 int ret; in mbedtls_rsa_public() local
328 int ret, count = 0; in rsa_prepare_blinding() local
368 int ret; in mbedtls_rsa_private() local
516 int ret; in mbedtls_rsa_rsaes_oaep_encrypt() local
591 int ret; in mbedtls_rsa_rsaes_pkcs1_v15_encrypt() local
689 int ret; in mbedtls_rsa_rsaes_oaep_decrypt() local
811 int ret; in mbedtls_rsa_rsaes_pkcs1_v15_decrypt() local
934 int ret; in mbedtls_rsa_rsassa_pss_sign() local
[all …]

12345