Update CREATOR_SW_CFG_KEY_IS_VALID in rma and dev OTP images
This change marks the first two keys as valid.
Signed-off-by: Alphan Ulusoy <alphan@google.com>
diff --git a/hw/ip/otp_ctrl/data/otp_ctrl_img_dev.hjson b/hw/ip/otp_ctrl/data/otp_ctrl_img_dev.hjson
index c50c644..d91d403 100644
--- a/hw/ip/otp_ctrl/data/otp_ctrl_img_dev.hjson
+++ b/hw/ip/otp_ctrl/data/otp_ctrl_img_dev.hjson
@@ -19,6 +19,14 @@
{
name: "CREATOR_SW_CFG_DIGEST",
value: "0x0",
+ },
+ {
+ name: "CREATOR_SW_CFG_KEY_IS_VALID",
+ // Mark the first two keys as valid and remaining as
+ // invalid since we have currently only two keys. See the
+ // definition of `hardened_byte_bool_t` in
+ // sw/device/lib/base/hardened.h.
+ value: "0x4b4b4b4b4b4ba5a5",
}
],
}
diff --git a/hw/ip/otp_ctrl/data/otp_ctrl_img_rma.hjson b/hw/ip/otp_ctrl/data/otp_ctrl_img_rma.hjson
index 2663e2d..5f71ee4 100644
--- a/hw/ip/otp_ctrl/data/otp_ctrl_img_rma.hjson
+++ b/hw/ip/otp_ctrl/data/otp_ctrl_img_rma.hjson
@@ -19,6 +19,14 @@
{
name: "CREATOR_SW_CFG_DIGEST",
value: "0x0",
+ },
+ {
+ name: "CREATOR_SW_CFG_KEY_IS_VALID",
+ // Mark the first two keys as valid and remaining as
+ // invalid since we have currently only two keys. See the
+ // definition of `hardened_byte_bool_t` in
+ // sw/device/lib/base/hardened.h.
+ value: "0x4b4b4b4b4b4ba5a5",
}
],
}