Home
last modified time | relevance | path

Searched refs:psa_ret (Results 1 – 3 of 3) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/t_cose/crypto_adapters/
Dt_cose_psa_crypto.c470 psa_status_t psa_ret; in t_cose_crypto_hmac_sign_setup() local
495 psa_ret = psa_mac_sign_setup(&hmac_ctx->op_ctx, in t_cose_crypto_hmac_sign_setup()
499 return psa_status_to_t_cose_error_hmac(psa_ret); in t_cose_crypto_hmac_sign_setup()
509 psa_status_t psa_ret; in t_cose_crypto_hmac_update() local
515 psa_ret = psa_mac_update(&hmac_ctx->op_ctx, in t_cose_crypto_hmac_update()
518 return psa_status_to_t_cose_error_hmac(psa_ret); in t_cose_crypto_hmac_update()
529 psa_status_t psa_ret; in t_cose_crypto_hmac_sign_finish() local
535 psa_ret = psa_mac_sign_finish(&hmac_ctx->op_ctx, in t_cose_crypto_hmac_sign_finish()
538 if(psa_ret == PSA_SUCCESS) { in t_cose_crypto_hmac_sign_finish()
542 return psa_status_to_t_cose_error_hmac(psa_ret); in t_cose_crypto_hmac_sign_finish()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/arm/corstone1000/openamp/
Dtfm_spe_dual_core_psa_client_secure_lib.c253 psa_status_t psa_ret = PSA_ERROR_GENERIC_ERROR; in deliver_msg_to_tfm_spe() local
258 psa_ret = tfm_rpc_psa_framework_version(); in deliver_msg_to_tfm_spe()
259 send_service_reply_to_non_secure(psa_ret, s_map_entry); in deliver_msg_to_tfm_spe()
263 psa_ret = tfm_rpc_psa_version(&spm_params); in deliver_msg_to_tfm_spe()
264 send_service_reply_to_non_secure(psa_ret, s_map_entry); in deliver_msg_to_tfm_spe()
267 psa_ret = prepare_params_for_psa_call(&spm_params, s_map_entry); in deliver_msg_to_tfm_spe()
268 if (psa_ret != PSA_SUCCESS) { in deliver_msg_to_tfm_spe()
269 send_service_reply_to_non_secure(psa_ret, s_map_entry); in deliver_msg_to_tfm_spe()
272 psa_ret = tfm_rpc_psa_call(&spm_params); in deliver_msg_to_tfm_spe()
273 if (psa_ret != PSA_SUCCESS) { in deliver_msg_to_tfm_spe()
[all …]
/trusted-firmware-m-3.4.0/secure_fw/spm/cmsis_psa/
Dtfm_spe_mailbox.c24 psa_status_t *psa_ret) in tfm_mailbox_dispatch() argument
29 SPM_ASSERT(psa_ret != NULL); in tfm_mailbox_dispatch()
35 *psa_ret = tfm_rpc_psa_framework_version(); in tfm_mailbox_dispatch()
39 *psa_ret = tfm_rpc_psa_version(&spm_params); in tfm_mailbox_dispatch()
48 *psa_ret = tfm_rpc_psa_call(&spm_params); in tfm_mailbox_dispatch()
55 *psa_ret = tfm_rpc_psa_connect(&spm_params); in tfm_mailbox_dispatch()
191 psa_status_t psa_ret = PSA_ERROR_GENERIC_ERROR; in tfm_mailbox_handle_msg() local
245 msg_ptr->client_id, &psa_ret); in tfm_mailbox_handle_msg()
262 mailbox_direct_reply(idx, (uint32_t)psa_ret); in tfm_mailbox_handle_msg()
269 if (psa_ret != PSA_SUCCESS) { in tfm_mailbox_handle_msg()
[all …]