Skip to content

Commit e63cfa8

Browse files
Vge0rgerlubos
authored andcommitted
sdfw_services: Remove call to psa_crypto_init from ssf
Remove the call to the ssf_psa_crypto_init since the psa_crypto is initialiazed in SDFW and it doesn't need to get initialized from the application. Signed-off-by: Georgios Vasilakis <[email protected]>
1 parent c3e7d51 commit e63cfa8

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

subsys/sdfw_services/services/psa_crypto/psa_crypto_service.c

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,7 @@ SSF_CLIENT_SERVICE_DEFINE(psa_crypto_srvc, PSA_CRYPTO, cbor_encode_psa_crypto_re
1818

1919
psa_status_t ssf_psa_crypto_init(void)
2020
{
21-
int err;
22-
struct psa_crypto_req req = { 0 };
23-
struct psa_crypto_rsp rsp = { 0 };
24-
25-
req.psa_crypto_req_msg_choice = psa_crypto_req_msg_psa_crypto_init_req_m_c;
26-
27-
err = ssf_client_send_request(&psa_crypto_srvc, &req, &rsp, NULL);
28-
if (err != 0) {
29-
return err;
30-
}
31-
32-
return rsp.psa_crypto_rsp_status;
21+
return PSA_SUCCESS;
3322
}
3423

3524
psa_status_t ssf_psa_get_key_attributes(

0 commit comments

Comments
 (0)