Home
last modified time | relevance | path

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

12345678

/optee_os/core/kernel/
A Dinitcall.c18 TEE_Result ret = TEE_SUCCESS; in call_preinitcalls() local
37 TEE_Result ret = TEE_SUCCESS; in call_initcalls() local
56 TEE_Result ret = TEE_SUCCESS; in call_finalcalls() local
/optee_os/lib/libmbedtls/mbedtls/library/
A Dentropy.c147 int idx, ret = 0; in mbedtls_entropy_add_source() local
187 int ret = 0; in entropy_update() local
239 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_entropy_update_manual() local
261 int ret = MBEDTLS_ERR_ENTROPY_SOURCE_FAILED; in entropy_gather_internal() local
311 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_entropy_gather() local
330 int ret, count = 0, i, thresholds_reached; in mbedtls_entropy_func() local
453 int ret = MBEDTLS_ERR_ENTROPY_FILE_IO_ERROR; in mbedtls_entropy_update_nv_seed() local
509 int ret = 0; in mbedtls_entropy_update_seed_file() local
561 int ret = 0; in mbedtls_entropy_source_self_test_gather() local
614 int ret = 0; in mbedtls_entropy_source_self_test() local
[all …]
A Dpkparse.c128 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_pk_parse_keyfile() local
155 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_pk_parse_public_keyfile() local
186 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in pk_get_ecparams() local
241 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in pk_group_from_specified() local
386 int ret = 0; in pk_group_id_from_group() local
431 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in pk_group_id_from_specified() local
458 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in pk_use_ecparams() local
689 int ret; in asn1_get_nonzero_mpi() local
708 int ret, version; in pk_parse_key_pkcs1_der() local
1004 int ret, version; in pk_parse_key_pkcs8_unencrypted_der() local
[all …]
A Dx509.c81 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509_get_serial() local
112 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509_get_alg_null() local
126 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509_get_alg() local
146 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in x509_get_hash_alg() local
207 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509_get_rsassa_pss_params() local
350 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in x509_get_attr_type_value() local
431 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509_get_name() local
499 int ret = MBEDTLS_ERR_X509_INVALID_DATE; in x509_date_is_valid() local
537 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in x509_parse_time() local
903 int ret = 0; in x509_get_current_time() local
[all …]
A Ddhm.c70 int ret, n; in dhm_read_bignum() local
104 int ret = 0; in dhm_check_range() local
134 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_dhm_read_params() local
158 int ret; in dhm_random_below() local
171 int ret = 0; in dhm_make_common() local
213 int ret; in mbedtls_dhm_make_params() local
265 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_dhm_set_group() local
286 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_dhm_read_public() local
307 int ret; in mbedtls_dhm_make_public() local
339 int ret; in dhm_update_blinding() local
[all …]
A Dx509_crl.c72 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in x509_crl_get_version() local
99 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in x509_get_crl_ext() local
179 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in x509_get_crl_entry_ext() local
233 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in x509_get_entries() local
298 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509_crl_parse_der() local
537 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509_crl_parse() local
601 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509_crl_parse_file() local
628 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509_crl_info() local
A Dx509_csr.c66 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in x509_csr_get_version() local
88 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509_csr_parse_der() local
260 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509_csr_parse() local
310 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509_csr_parse_file() local
334 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509_csr_info() local
A Dpkwrite.c75 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in pk_write_rsa_pubkey() local
114 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in pk_write_ec_pubkey() local
142 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in pk_write_ec_param() local
161 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in pk_write_ec_private() local
179 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_pk_write_pubkey() local
227 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_pk_write_pubkey_der() local
315 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_pk_write_key_der() local
558 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_pk_write_pubkey_pem() local
583 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_pk_write_key_pem() local
A Dx509write_crt.c101 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509write_crt_set_serial() local
138 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509write_crt_set_basic_constraints() local
172 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509write_crt_set_subject_key_identifier() local
200 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509write_crt_set_authority_key_identifier() local
238 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509write_crt_set_key_usage() local
277 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509write_crt_set_ns_cert_type() local
297 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in x509_write_time() local
330 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509write_crt_der() local
524 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509write_crt_pem() local
A Decp.c175 int ret; in ecp_drbg_seed() local
240 int ret; in ecp_drbg_seed() local
783 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_ecp_copy() local
878 int ret = MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE; in mbedtls_ecp_point_write_binary() local
952 int ret = MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE; in mbedtls_ecp_point_read_binary() local
2666 int ret = MBEDTLS_ERR_ECP_BAD_INPUT_DATA; in mbedtls_ecp_mul_restartable() local
2979 int ret; in ecp_check_bad_points_mx() local
3126 int ret = MBEDTLS_ERR_ECP_BAD_INPUT_DATA; in mbedtls_ecp_gen_privkey_mx() local
3256 int ret = 0; in mbedtls_ecp_read_key() local
3409 int ret = 0; in self_test_adjust_exponent() local
[all …]
A Drsa_internal.c66 int ret = 0; in mbedtls_rsa_deduce_primes() local
202 int ret = 0; in mbedtls_rsa_deduce_private_exponent() local
247 int ret = 0; in mbedtls_rsa_validate_crt() local
337 int ret = 0; in mbedtls_rsa_validate_params() local
456 int ret = 0; in mbedtls_rsa_deduce_crt() local
A Dnet_sockets.c54 #define IS_EINTR( ret ) ( ( ret ) == WSAEINTR ) argument
96 #define IS_EINTR( ret ) ( ( ret ) == EINTR ) argument
177 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_net_connect() local
224 int n, ret; in mbedtls_net_bind() local
343 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_net_accept() local
486 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_net_poll() local
572 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_net_recv() local
610 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_net_recv_timeout() local
654 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_net_send() local
A Dssl_srv.c83 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in ssl_parse_servername_ext() local
430 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in ssl_parse_ecjpake_kkpp() local
622 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in ssl_parse_session_ticket_ext() local
1150 int ret, got_common_suite; in ssl_parse_client_hello_v2() local
1415 int ret, got_common_suite; in ssl_parse_client_hello() local
2770 int ret; in ssl_handle_id_based_session_resumption() local
3070 int ret = MBEDTLS_ERR_SSL_FEATURE_UNAVAILABLE; in ssl_write_certificate_request() local
3275 int ret = ssl->conf->f_async_resume( ssl, in ssl_resume_server_key_exchange() local
3840 int ret = ssl->conf->f_async_resume( ssl, in ssl_resume_decrypt_pms() local
4044 int ret = 0; in ssl_parse_client_psk_identity() local
[all …]
A Dasn1parse.c122 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_asn1_get_bool() local
141 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in asn1_get_tagged_int() local
200 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_asn1_get_mpi() local
217 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_asn1_get_bitstring() local
257 int ret; in mbedtls_asn1_traverse_sequence_of() local
302 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_asn1_get_bitstring_null() local
383 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_asn1_get_alg() local
427 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_asn1_get_alg_null() local
A Dhmac_drbg.c70 int ret = MBEDTLS_ERR_MD_BAD_INPUT_DATA; in mbedtls_hmac_drbg_update_ret() local
123 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_hmac_drbg_seed_buf() local
159 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in hmac_drbg_reseed_core() local
251 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_hmac_drbg_seed() local
332 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_hmac_drbg_random_with_add() local
401 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_hmac_drbg_random() local
441 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_hmac_drbg_write_seed_file() local
468 int ret = 0; in mbedtls_hmac_drbg_update_seed_file() local
A Dasn1write.c129 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_asn1_write_mpi() local
166 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_asn1_write_null() local
180 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_asn1_write_oid() local
195 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_asn1_write_algorithm_identifier() local
214 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_asn1_write_bool() local
231 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in asn1_write_tagged_int() local
271 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_asn1_write_tagged_string() local
347 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_asn1_write_bitstring() local
380 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_asn1_write_octet_string() local
A Dx509_create.c125 int ret = 0; in mbedtls_x509_string_to_names() local
239 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in x509_write_name() local
272 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509_write_names() local
293 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509_write_sig() local
323 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in x509_write_extension() local
361 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509_write_extensions() local
A Dssl_msg.c103 int ret = 0; in mbedtls_ssl_check_record() local
208 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in ssl_get_remaining_payload_in_datagram() local
1213 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_ssl_cf_hmac() local
1291 int ret, auth_done = 0; in mbedtls_ssl_decrypt_buf() local
1887 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in ssl_compress_buf() local
1939 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in ssl_decompress_buf() local
2408 int ret = 0; in mbedtls_ssl_resend() local
2825 int ret, done = 0; in mbedtls_ssl_write_record() local
3875 int ret, done = 0; in ssl_prepare_record_content() local
4124 int ret = 0; in ssl_load_buffered_message() local
[all …]
/optee_os/core/drivers/crypto/crypto_api/acipher/
A Drsa.c18 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in crypto_acipher_alloc_rsa_keypair() local
40 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in crypto_acipher_alloc_rsa_public_key() local
86 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in crypto_acipher_gen_rsa_key() local
110 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in crypto_acipher_rsanopad_decrypt() local
149 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in crypto_acipher_rsanopad_encrypt() local
204 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in crypto_acipher_rsaes_decrypt() local
264 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in crypto_acipher_rsaes_encrypt() local
348 TEE_Result ret = TEE_ERROR_BAD_PARAMETERS; in crypto_acipher_rsassa_sign() local
430 TEE_Result ret = TEE_ERROR_BAD_PARAMETERS; in crypto_acipher_rsassa_verify() local
A Ddh.c15 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in crypto_acipher_alloc_dh_keypair() local
36 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in crypto_acipher_gen_dh_key() local
61 TEE_Result ret = TEE_ERROR_BAD_PARAMETERS; in crypto_acipher_dh_shared_secret() local
A Decc.c99 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in ecc_generate_keypair() local
135 TEE_Result ret = TEE_ERROR_BAD_PARAMETERS; in ecc_sign() local
207 TEE_Result ret = TEE_ERROR_BAD_PARAMETERS; in ecc_verify() local
265 TEE_Result ret = TEE_ERROR_BAD_PARAMETERS; in ecc_shared_secret() local
329 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in drvcrypt_asym_alloc_ecc_keypair() local
366 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in drvcrypt_asym_alloc_ecc_public_key() local
A Ddsa.c40 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in crypto_acipher_alloc_dsa_keypair() local
68 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in crypto_acipher_alloc_dsa_public_key() local
95 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in crypto_acipher_gen_dsa_key() local
125 TEE_Result ret = TEE_ERROR_BAD_PARAMETERS; in crypto_acipher_dsa_sign() local
185 TEE_Result ret = TEE_ERROR_BAD_PARAMETERS; in crypto_acipher_dsa_verify() local
A Drsassa.c180 TEE_Result ret = TEE_ERROR_BAD_PARAMETERS; in rsassa_pkcs1_v1_5_sign() local
239 TEE_Result ret = TEE_ERROR_BAD_PARAMETERS; in rsassa_pkcs1_v1_5_verify() local
318 TEE_Result ret = TEE_ERROR_GENERIC; in emsa_pss_encode() local
510 TEE_Result ret = TEE_ERROR_GENERIC; in emsa_pss_verify() local
725 TEE_Result ret = TEE_ERROR_GENERIC; in rsassa_pss_sign() local
796 TEE_Result ret = TEE_ERROR_GENERIC; in rsassa_pss_verify() local
/optee_os/core/drivers/imx/dcp/
A Ddcp.c109 TEE_Result ret = TEE_ERROR_BUSY; in dcp_lock_channel() local
143 TEE_Result ret = TEE_SUCCESS; in dcp_run() local
195 TEE_Result ret = TEE_ERROR_GENERIC; in dcp_cmac_subkey_generation() local
272 TEE_Result ret = TEE_ERROR_GENERIC; in dcp_cmac() local
346 TEE_Result ret = TEE_ERROR_GENERIC; in dcp_cipher_do_init() local
404 TEE_Result ret = TEE_ERROR_GENERIC; in dcp_cipher_do_update() local
483 TEE_Result ret = TEE_ERROR_GENERIC; in dcp_sha_do_init() local
523 TEE_Result ret = TEE_ERROR_GENERIC; in dcp_sha_do_update() local
587 TEE_Result ret = TEE_ERROR_GENERIC; in dcp_sha_do_final() local
710 TEE_Result ret = TEE_ERROR_GENERIC; in dcp_init() local
/optee_os/core/drivers/crypto/crypto_api/authenc/
A Dauthenc.c81 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in authenc_init() local
121 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in authenc_update_aad() local
156 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in authenc_update_payload() local
202 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in authenc_enc_final() local
250 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in authenc_dec_final() local
308 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in drvcrypt_authenc_alloc_ctx() local

Completed in 53 milliseconds

12345678