Home
last modified time | relevance | path

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

/trusted-firmware-m-3.6.0/secure_fw/partitions/initial_attestation/
Dattest_asymmetric_key.c48 psa_status_t crypto_res; in attest_load_public_key() local
52 crypto_res = psa_get_key_attributes(handle, &attr); in attest_load_public_key()
53 if (crypto_res != PSA_SUCCESS) { in attest_load_public_key()
59 crypto_res = psa_export_public_key(handle, attestation_public_key, in attest_load_public_key()
62 if (crypto_res != PSA_SUCCESS) { in attest_load_public_key()
76 psa_status_t crypto_res; in attest_calc_instance_id() local
87 crypto_res = psa_hash_setup(&hash, PSA_ALG_SHA_256); in attest_calc_instance_id()
88 if (crypto_res != PSA_SUCCESS) { in attest_calc_instance_id()
92 crypto_res = psa_hash_update(&hash, attestation_public_key, in attest_calc_instance_id()
94 if (crypto_res != PSA_SUCCESS) { in attest_calc_instance_id()
[all …]