Home
last modified time | relevance | path

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

/trusted-firmware-m-3.6.0/secure_fw/partitions/initial_attestation/
Dattest_symmetric_key.c30 static size_t instance_id_len = 0; variable
98 instance_id_len = 0; in attest_calc_instance_id()
103 &instance_id_len); in attest_calc_instance_id()
105 instance_id_len = 0; in attest_calc_instance_id()
113 memcpy(iak_buf, id_ptr, instance_id_len); in attest_calc_instance_id()
115 status = symmetric_iak_hash(iak_buf, instance_id_len, id_ptr, id_len, in attest_calc_instance_id()
116 &instance_id_len); in attest_calc_instance_id()
120 instance_id_len++; in attest_calc_instance_id()
122 instance_id_len = 0; in attest_calc_instance_id()
137 if (instance_id_len == 0U) { in attest_get_instance_id()
[all …]
Dattest_asymmetric_key.c44 static size_t instance_id_len = 0U; variable
101 &instance_id_len); in attest_calc_instance_id()
108 instance_id_len = instance_id_len + 1; in attest_calc_instance_id()
116 if (instance_id_len == 0U) { in attest_get_instance_id()
127 id_buf->len = instance_id_len; in attest_get_instance_id()