Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sdfw_services: Remove call to psa_crypto_init from ssf #20295

Merged
merged 1 commit into from
Feb 12, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions subsys/sdfw_services/services/psa_crypto/psa_crypto_service.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,7 @@ SSF_CLIENT_SERVICE_DEFINE(psa_crypto_srvc, PSA_CRYPTO, cbor_encode_psa_crypto_re

psa_status_t ssf_psa_crypto_init(void)
{
int err;
struct psa_crypto_req req = { 0 };
struct psa_crypto_rsp rsp = { 0 };

req.psa_crypto_req_msg_choice = psa_crypto_req_msg_psa_crypto_init_req_m_c;

err = ssf_client_send_request(&psa_crypto_srvc, &req, &rsp, NULL);
if (err != 0) {
return err;
}

return rsp.psa_crypto_rsp_status;
return PSA_SUCCESS;
}

psa_status_t ssf_psa_get_key_attributes(
Expand Down