aboutsummaryrefslogtreecommitdiff
path: root/secure_fw
diff options
context:
space:
mode:
authorShawn Shan <Shawn.Shan@arm.com>2021-06-09 17:07:40 +0800
committerShawn Shan <Shawn.Shan@arm.com>2021-06-09 17:15:21 +0800
commit0c4ed5d815d7abadf5e0215600256bc839c5df2c (patch)
treeee4fa7a2e0059594b955b64ebd06edf7e545dd6d /secure_fw
parent8ddcfd484efd1e75ec8ed6a702039f8758f601d8 (diff)
downloadtrusted-firmware-m-0c4ed5d815d7abadf5e0215600256bc839c5df2c.tar.gz
Attest: Remove unused variables
The variable 'attest_res' and 'psa_curve' are not used in the function attest_calc_instance_id, remove them. Change-Id: I0e259c29f3fc2c88915ad99c22daf4d639505293 Signed-off-by: Shawn Shan <Shawn.Shan@arm.com>
Diffstat (limited to 'secure_fw')
-rw-r--r--secure_fw/partitions/initial_attestation/attest_asymmetric_key.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/secure_fw/partitions/initial_attestation/attest_asymmetric_key.c b/secure_fw/partitions/initial_attestation/attest_asymmetric_key.c
index 9c9bec07a..66052b400 100644
--- a/secure_fw/partitions/initial_attestation/attest_asymmetric_key.c
+++ b/secure_fw/partitions/initial_attestation/attest_asymmetric_key.c
@@ -152,8 +152,6 @@ attest_get_signing_key_handle(psa_key_handle_t *handle)
static enum psa_attest_err_t attest_calc_instance_id(void)
{
psa_status_t crypto_res;
- enum psa_attest_err_t attest_res;
- psa_ecc_family_t psa_curve;
psa_hash_operation_t hash = psa_hash_operation_init();
if (!attestation_public_key_len) {