summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRuchika Gupta <[email protected]>2021-09-14 12:14:31 +0530
committerRamon Fried <[email protected]>2021-09-28 18:50:55 +0300
commit019801863b64c69e98c7ce04ae6380af560affd0 (patch)
treeef6420bf3394a1114afe8c40fd31c646d1376a57 /scripts
parent9ac134876a82ae3d1b71556fe073bc33440b7a27 (diff)
efi_loader: Fix spec ID event creation
TCG EFI Protocol Specification defines the number_of_algorithms field in spec ID event to be equal to the number of active algorithms supported by the TPM device. In current implementation, this field is populated with the count of all algorithms supported by the TPM which leads to incorrect spec ID event creation. Similarly, the algorithm array in spec ID event should be a variable length array with length being equal to the number_of_algorithms field. In current implementation this is defined as a fixed length array which has been fixed. Signed-off-by: Ruchika Gupta <[email protected]> CC: Masahisa Kojima <[email protected]> CC: Ilias Apalodimas <[email protected]> CC: Heinrich Schuchardt <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions