summaryrefslogtreecommitdiff
path: root/board/cr50/fips.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/cr50/fips.h')
-rw-r--r--board/cr50/fips.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/cr50/fips.h b/board/cr50/fips.h
index 588930ef3b..4a7eef2f0e 100644
--- a/board/cr50/fips.h
+++ b/board/cr50/fips.h
@@ -29,6 +29,7 @@ enum fips_status {
FIPS_FATAL_ECDSA = 1 << 7,
FIPS_FATAL_RSA2048 = 1 << 8,
FIPS_FATAL_AES256 = 1 << 9,
+ FIPS_FATAL_SELF_INTEGRITY = 1 << 10,
FIPS_FATAL_OTHER = 1 << 15,
FIPS_ERROR_MASK = 0xffff,
FIPS_RFU_MASK = 0x7fff0000
@@ -60,6 +61,10 @@ enum fips_cmd {
FIPS_CMD_NO_BREAK = 9
};
+/* These symbols defined in core/cortex-m/ec.lds.S. */
+extern uint8_t __fips_module_start;
+extern uint8_t __fips_module_end;
+
/* Return current FIPS status of operations. */
enum fips_status fips_status(void);