Searched refs:psa_ret (Results 1 – 3 of 3) sorted by relevance
470 psa_status_t psa_ret; in t_cose_crypto_hmac_sign_setup() local495 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() local515 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() local535 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 …]
253 psa_status_t psa_ret = PSA_ERROR_GENERIC_ERROR; in deliver_msg_to_tfm_spe() local258 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 …]
24 psa_status_t *psa_ret) in tfm_mailbox_dispatch() argument29 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() local245 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 …]