From 001630f06d84091845fbb5b5cd994fba85d6767e Mon Sep 17 00:00:00 2001 From: Vishal Mhatre <38512878+mhatrevi@users.noreply.github.com> Date: Fri, 3 Jan 2025 13:13:44 -0800 Subject: [PATCH] [fix] Plumb MLDSA vendor key revocation fuse (#1875) --- api/src/soc_mgr.rs | 3 +++ hw-model/types/src/lib.rs | 1 + 2 files changed, 4 insertions(+) diff --git a/api/src/soc_mgr.rs b/api/src/soc_mgr.rs index 29cf550bba..7c7aedf85c 100644 --- a/api/src/soc_mgr.rs +++ b/api/src/soc_mgr.rs @@ -155,6 +155,9 @@ pub trait SocManager { self.soc_ifc() .fuse_lms_revocation() .write(|_| fuses.fuse_lms_revocation); + self.soc_ifc() + .fuse_mldsa_revocation() + .write(|_| fuses.fuse_mldsa_revocation.into()); self.soc_ifc() .fuse_soc_stepping_id() .write(|w| w.soc_stepping_id(fuses.soc_stepping_id.into())); diff --git a/hw-model/types/src/lib.rs b/hw-model/types/src/lib.rs index b290bb6af0..2e054442e1 100644 --- a/hw-model/types/src/lib.rs +++ b/hw-model/types/src/lib.rs @@ -131,6 +131,7 @@ impl std::fmt::Debug for FusesWrapper { ) .field("life_cycle", &self.0.life_cycle) .field("fuse_lms_revocation", &self.0.fuse_lms_revocation) + .field("fuse_mldsa_revocation", &self.0.fuse_mldsa_revocation) .field("soc_stepping_id", &self.0.soc_stepping_id) .finish() }