Hi
We noticed that the digest count for the TPM event log is predefined at compile time. However, as far as I know, the active PCRs in TPM are configurable by the vendor through UEFI or TPM PPI in OS. Therefore, the digest count value should not be hardcoded in the source code.
See
https://github.com/ARM-software/arm-trusted-firmware/blob/master/drivers/measured_boot/event_log/event_log.c
at line 41, 52, 74 and etc.
Do you have a plan to support dynamic value assignment for digests.count ?
Thanks
Carlos