summaryrefslogtreecommitdiff
path: root/lib/mbedtls/x509_cert_parser.c
diff options
context:
space:
mode:
authorSughosh Ganu <sughosh.ganu@linaro.org>2024-09-09 16:50:20 +0530
committerIlias Apalodimas <ilias.apalodimas@linaro.org>2024-09-19 10:52:50 +0300
commitbe281eccb053c6d44bc8298024d5b7d637631c24 (patch)
treeba42b82d7b6e6c65f10510db94154caec90165f1 /lib/mbedtls/x509_cert_parser.c
parent1049dc7e918af23fa05cae2af3cf271a6eb119b2 (diff)
fwu: do not allow capsule processing on exceeding Trial Counter threshold
When in Trial State, the platform keeps a count of the number of times it has booted in the Trial State. Once the threshold of the maximum allowed count exceeds, the platform reverts to boot from a different bank on subsequent boot, thus coming out of the Trial State. It is expected that all the updated images would be accepted or rejected while the platform is in Trial State. Put in checks so that it is not possible to apply an empty capsule once the max Trial Count exceeds. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Tested-by: Michal Simek <michal.simek@amd.com> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'lib/mbedtls/x509_cert_parser.c')
0 files changed, 0 insertions, 0 deletions