Home
last modified time | relevance | path

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

12345678

/optee_os-3.20.0/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-3.20.0/core/drivers/tpm2/
A Dtpm2_ptp_fifo.c35 enum tpm2_result ret = TPM2_OK; in tpm2_fifo_wait_valid() local
58 enum tpm2_result ret = TPM2_OK; in tpm2_fifo_check_locality() local
83 enum tpm2_result ret = TPM2_OK; in tpm2_fifo_request_locality() local
118 enum tpm2_result ret = TPM2_OK; in tpm2_fifo_relinquish_locality() local
147 enum tpm2_result ret = TPM2_OK; in tpm2_fifo_get_status() local
168 enum tpm2_result ret = TPM2_OK; in tpm2_fifo_wait_for_status() local
191 enum tpm2_result ret = TPM2_OK; in tpm2_fifo_get_burstcount() local
216 enum tpm2_result ret = TPM2_OK; in tpm2_fifo_init() local
256 enum tpm2_result ret = TPM2_OK; in tpm2_fifo_end() local
271 enum tpm2_result ret = TPM2_OK; in tpm2_fifo_send() local
[all …]
A Dtpm2_chip.c66 enum tpm2_result ret = TPM2_OK; in tpm2_get_tpm_property() local
96 enum tpm2_result ret = TPM2_OK; in tpm2_get_bank_info() local
160 enum tpm2_result ret = TPM2_OK; in tpm2_populate_capability() local
202 enum tpm2_result ret = TPM2_OK; in tpm2_chip_register() local
243 enum tpm2_result ret = TPM2_OK; in tpm2_chip_unregister() local
/optee_os-3.20.0/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
910 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.c74 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in x509_crl_get_version() local
101 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in x509_get_crl_ext() local
181 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in x509_get_crl_entry_ext() local
235 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in x509_get_entries() local
300 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509_crl_parse_der() local
539 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509_crl_parse() local
603 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509_crl_parse_file() local
630 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
276 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509write_crt_set_ns_cert_type() local
296 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in x509_write_time() local
329 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_x509write_crt_der() local
523 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
2665 int ret = MBEDTLS_ERR_ECP_BAD_INPUT_DATA; in mbedtls_ecp_mul_restartable() local
2978 int ret; in ecp_check_bad_points_mx() local
3125 int ret = MBEDTLS_ERR_ECP_BAD_INPUT_DATA; in mbedtls_ecp_gen_privkey_mx() local
3255 int ret = 0; in mbedtls_ecp_read_key() local
3408 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 Dssl_msg.c104 int ret = 0; in mbedtls_ssl_check_record() local
216 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in ssl_get_remaining_payload_in_datagram() local
500 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in ssl_mac() local
1131 int ret, auth_done = 0; in mbedtls_ssl_decrypt_buf() local
1757 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in ssl_compress_buf() local
1810 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in ssl_decompress_buf() local
2281 int ret = 0; in mbedtls_ssl_resend() local
2697 int ret, done = 0; in mbedtls_ssl_write_record() local
3781 int ret, done = 0; in ssl_prepare_record_content() local
4035 int ret = 0; in ssl_load_buffered_message() local
[all …]
A Dnet_sockets.c54 #define IS_EINTR( ret ) ( ( ret ) == WSAEINTR ) argument
96 #define IS_EINTR( ret ) ( ( ret ) == EINTR ) argument
179 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_net_connect() local
226 int n, ret; in mbedtls_net_bind() local
345 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_net_accept() local
488 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_net_poll() local
574 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_net_recv() local
612 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_net_recv_timeout() local
656 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in mbedtls_net_send() local
A Dssl_srv.c86 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in ssl_parse_servername_ext() local
440 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in ssl_parse_ecjpake_kkpp() local
638 int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; in ssl_parse_session_ticket_ext() local
1172 int ret, got_common_suite; in ssl_parse_client_hello_v2() local
1436 int ret, got_common_suite; in ssl_parse_client_hello() local
2797 int ret; in ssl_handle_id_based_session_resumption() local
3097 int ret = MBEDTLS_ERR_SSL_FEATURE_UNAVAILABLE; in ssl_write_certificate_request() local
3306 int ret = ssl->conf->f_async_resume( ssl, in ssl_resume_server_key_exchange() local
3885 int ret = ssl->conf->f_async_resume( ssl, in ssl_resume_decrypt_pms() local
4084 int ret = 0; in ssl_parse_client_psk_identity() local
[all …]
/optee_os-3.20.0/core/drivers/
A Dversal_sha3_384.c24 TEE_Result ret = TEE_SUCCESS; in input_plaintext() local
51 TEE_Result ret = TEE_SUCCESS; in get_ciphertext() local
70 TEE_Result ret = TEE_ERROR_BAD_PARAMETERS; in versal_sha3_384() local
92 TEE_Result ret = TEE_SUCCESS; in versal_sha3_384_init() local
/optee_os-3.20.0/core/drivers/crypto/crypto_api/acipher/
A Drsa.c20 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in crypto_acipher_alloc_rsa_keypair() local
42 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in crypto_acipher_alloc_rsa_public_key() local
88 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in crypto_acipher_gen_rsa_key() local
112 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in crypto_acipher_rsanopad_decrypt() local
151 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in crypto_acipher_rsanopad_encrypt() local
206 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in crypto_acipher_rsaes_decrypt() local
267 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in crypto_acipher_rsaes_encrypt() local
352 TEE_Result ret = TEE_ERROR_BAD_PARAMETERS; in crypto_acipher_rsassa_sign() local
434 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 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 Decc.c122 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in ecc_generate_keypair() local
158 TEE_Result ret = TEE_ERROR_BAD_PARAMETERS; in ecc_sign() local
230 TEE_Result ret = TEE_ERROR_BAD_PARAMETERS; in ecc_verify() local
288 TEE_Result ret = TEE_ERROR_BAD_PARAMETERS; in ecc_shared_secret() local
352 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in drvcrypt_asym_alloc_ecc_keypair() local
389 TEE_Result ret = TEE_ERROR_NOT_IMPLEMENTED; in drvcrypt_asym_alloc_ecc_public_key() local
A Drsassa.c180 TEE_Result ret = TEE_ERROR_BAD_PARAMETERS; in rsassa_pkcs1_v1_5_sign() local
241 TEE_Result ret = TEE_ERROR_BAD_PARAMETERS; in rsassa_pkcs1_v1_5_verify() local
320 TEE_Result ret = TEE_ERROR_GENERIC; in emsa_pss_encode() local
512 TEE_Result ret = TEE_ERROR_GENERIC; in emsa_pss_verify() local
727 TEE_Result ret = TEE_ERROR_GENERIC; in rsassa_pss_sign() local
802 TEE_Result ret = TEE_ERROR_GENERIC; in rsassa_pss_verify() local
/optee_os-3.20.0/core/arch/arm/plat-k3/drivers/
A Dti_sci.c95 int ret = 0; in ti_sci_get_response() local
137 int ret = 0; in ti_sci_do_xfer() local
168 int ret = 0; in ti_sci_get_revision() local
189 int ret = 0; in ti_sci_device_set_state() local
227 int ret = 0; in ti_sci_set_fwl_region() local
263 int ret = 0; in ti_sci_get_fwl_region() local
298 int ret = 0; in ti_sci_change_fwl_owner() local
339 int ret = 0; in ti_sci_get_dkek() local
375 int ret = 0; in ti_sci_init() local
/optee_os-3.20.0/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
718 TEE_Result ret = TEE_ERROR_GENERIC; in dcp_init() local
/optee_os-3.20.0/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 49 milliseconds

12345678