commit | 9fc0b5de33c1b16836d45de029792d12d1edc88d | [log] [tgz] |
---|---|---|
author | Balint Matyi <Balint.Matyi@arm.com> | Mon Jun 08 13:14:07 2020 +0100 |
committer | David Hu <david.hu@arm.com> | Mon Jun 22 02:46:24 2020 +0000 |
tree | 029ca14cc0b5ea0ad3b0517ff3d5a99caefc0eac | |
parent | ff3bb58e93656f83f031377ad4dbe8060617dd64 [diff] |
Attest: Calculate Instance ID only once Instance ID is computed every time when get_token API is called. Modify this behaviour to compute only at the first time when get_token API is called and store it in a static buffer. Next time just read it from static buffer and include it to the token. Signed-off-by: Balint Matyi <Balint.Matyi@arm.com> Change-Id: I2f9ccb70aba5cf401fcd7c5c7fa7a9d358283631