commit | 74b8e17c57f61b8bc4b66b5d86faf98ead6a0f38 | [log] [tgz] |
---|---|---|
author | Sandrine Bailleux <sandrine.bailleux@arm.com> | Wed Jun 23 15:44:18 2021 +0200 |
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | Mon Jul 05 10:33:38 2021 +0200 |
tree | 413a22b82d6a785ec8e68f238fb767c665c9ec33 | |
parent | 9ebe81e1529aef1679c9efb7eb020031d68793f3 [diff] |
refactor(measured boot): revisit error handling (3/3) - In tpm_record_measurement(): The platform layer is responsible for providing an exhaustive list of images to measure. If it doesn't then this should be treated as a programming error, as documented in [1]. Thus, turn the error test into an assertion. [1] https://trustedfirmware-a.readthedocs.io/en/latest/process/coding-guidelines.html#using-assert-to-check-for-programming-errors Change-Id: I002309c2ebdf2d348a7d12a8f7f9e82465046b8e Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>