arm-trusted-firmware/drivers/auth
Sughosh Ganu 56724d09c2 feat(fwu): modify the check for getting the FWU bank's state
The version 2 of the FWU metadata structure has a field bank_state in
the top level of the structure which can be used to check if a given
bank is in the either of Trial State, Accepted State, or in an Invalid
State. This is different from the binary states of Valid/Accepted
States that the bank could be in, as defined in the earlier version of
the specification.

Replace the fwu_is_trial_run_state() API with
fwu_get_active_bank_state() to get the state the current active bank
is in. The value returned by this API is then used by the caller to
take appropriate action.

Change-Id: I764f486840a3713bfe5f8e03d0634bfe09b23590
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
2024-03-01 14:19:56 +05:30
..
cca feat(auth): add CCA NV ctr to CCA CoT 2023-05-25 16:40:43 -05:00
dualroot refactor(mbedtls): avoid including MBEDTLS_CONFIG_FILE 2023-02-21 11:09:47 +00:00
mbedtls build(mbedtls): add deprecation notice 2023-11-13 08:49:58 -06:00
tbbr refactor(mbedtls): avoid including MBEDTLS_CONFIG_FILE 2023-02-21 11:09:47 +00:00
auth_mod.c feat(fwu): modify the check for getting the FWU bank's state 2024-03-01 14:19:56 +05:30
crypto_mod.c refactor(auth): replace plat_convert_pk 2023-04-21 09:46:01 +01:00
img_parser_mod.c Coverity: remove unnecessary header file includes 2020-02-04 10:23:51 -06:00