diff options
author | Vadim Sukhomlinov <sukhomlinov@google.com> | 2020-06-15 16:05:13 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-08-11 23:38:42 +0000 |
commit | 93d2e42cb636219f978ed82a3542cb19fb12d8fb (patch) | |
tree | b4f4101075c3e3d8ee543530595868b36f0385ef | |
parent | 7969f9b55a6818b2f51442e67dc12c14886fbed4 (diff) | |
download | chrome-ec-93d2e42cb636219f978ed82a3542cb19fb12d8fb.tar.gz |
flash_log: add error code for FIPS known-answer and continuous tests
Add FE_LOG_FIPS_FAILURE event type
BUG=b:138577539
TEST=manual
Signed-off-by: Vadim Sukhomlinov <sukhomlinov@google.com>
Change-Id: I11be32598ddbbb327175a656c21abcb8388246d0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2247106
Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Auto-Submit: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Commit-Queue: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Tested-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
(cherry picked from commit b239403fed9873dd5a1b297d061ecded0c7a0804)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2311231
Tested-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Commit-Queue: Mary Ruthven <mruthven@chromium.org>
(cherry picked from commit 38bb773756eb4fab36685358c3c0160b62e52402)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2350279
-rw-r--r-- | include/flash_log.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/flash_log.h b/include/flash_log.h index 1c34d5e2b2..14d65953b6 100644 --- a/include/flash_log.h +++ b/include/flash_log.h @@ -16,12 +16,15 @@ enum flash_event_type { FE_LOG_CORRUPTED = 1, FE_TPM_I2C_ERROR = 2, FE_LOG_OVERFLOWS = 3, /* A single byte, overflow counter. */ - FE_LOG_LOCKS = 4, /* A single byte, lock failures counter. */ - FE_LOG_NVMEM = 5, /* NVMEM failure, variable structure. */ - FE_LOG_TPM_WIPE_ERROR = 6, /* Failed to wipe the TPM */ - FE_LOG_TRNG_STALL = 7, /* Stall while retrieving a random number. */ + FE_LOG_LOCKS = 4, /* A single byte, lock failures counter. */ + FE_LOG_NVMEM = 5, /* NVMEM failure, variable structure. */ + FE_LOG_TPM_WIPE_ERROR = 6, /* Failed to wipe the TPM */ + FE_LOG_TRNG_STALL = 7, /* Stall while retrieving a random number. */ FE_LOG_DCRYPTO_FAILURE = 8, /* Dcrypto had to be reset. */ FE_LOG_AP_RO_VERIFICATION = 9, /* AP RO verification events. */ + FE_LOG_FIPS_FAILURE = 10, /* Error during continuous and/or known-answer + * tests for FIPS 140-2/3 + */ /* * Fixed padding value makes it easier to parse log space * snapshots. |