#[repr(transparent)]pub struct SecureBootCfg(pub u32);Expand description
Secure boot configuration flags.
Tuple Fields§
§0: u32Implementations§
Source§impl SecureBootCfg
impl SecureBootCfg
Sourcepub const fn dice_inc_nxp_cfg(&self) -> DiceIncNxpCfg
pub const fn dice_inc_nxp_cfg(&self) -> DiceIncNxpCfg
Include NXP area in DICE computation.
Sourcepub const fn set_dice_inc_nxp_cfg(&mut self, val: DiceIncNxpCfg)
pub const fn set_dice_inc_nxp_cfg(&mut self, val: DiceIncNxpCfg)
Include NXP area in DICE computation.
Sourcepub const fn dice_cust_cfg(&self) -> DiceCustCfg
pub const fn dice_cust_cfg(&self) -> DiceCustCfg
Include Customer factory area (including keys) in DICE computation.
Sourcepub const fn set_dice_cust_cfg(&mut self, val: DiceCustCfg)
pub const fn set_dice_cust_cfg(&mut self, val: DiceCustCfg)
Include Customer factory area (including keys) in DICE computation.
Sourcepub const fn set_skip_dice(&mut self, val: SkipDice)
pub const fn set_skip_dice(&mut self, val: SkipDice)
Skip DICE computation
Sourcepub const fn tzm_image_type(&self) -> TzmImageType
pub const fn tzm_image_type(&self) -> TzmImageType
TrustZone-M mode
Sourcepub const fn set_tzm_image_type(&mut self, val: TzmImageType)
pub const fn set_tzm_image_type(&mut self, val: TzmImageType)
TrustZone-M mode
Sourcepub const fn block_set_key(&self) -> BlockSetKey
pub const fn block_set_key(&self) -> BlockSetKey
Block PUF key code generation
Sourcepub const fn set_block_set_key(&mut self, val: BlockSetKey)
pub const fn set_block_set_key(&mut self, val: BlockSetKey)
Block PUF key code generation
Sourcepub const fn block_enroll(&self) -> BlockEnroll
pub const fn block_enroll(&self) -> BlockEnroll
Block PUF enrollement
Sourcepub const fn set_block_enroll(&mut self, val: BlockEnroll)
pub const fn set_block_enroll(&mut self, val: BlockEnroll)
Block PUF enrollement
Sourcepub const fn dice_inc_sec_epoch(&self) -> u8
pub const fn dice_inc_sec_epoch(&self) -> u8
Include security EPOCH in DICE
Sourcepub const fn set_dice_inc_sec_epoch(&mut self, val: u8)
pub const fn set_dice_inc_sec_epoch(&mut self, val: u8)
Include security EPOCH in DICE
Sourcepub const fn sec_boot_en(&self) -> SecBootEn
pub const fn sec_boot_en(&self) -> SecBootEn
Secure boot enable
Sourcepub const fn set_sec_boot_en(&mut self, val: SecBootEn)
pub const fn set_sec_boot_en(&mut self, val: SecBootEn)
Secure boot enable
Trait Implementations§
Source§impl Clone for SecureBootCfg
impl Clone for SecureBootCfg
Source§fn clone(&self) -> SecureBootCfg
fn clone(&self) -> SecureBootCfg
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SecureBootCfg
impl Debug for SecureBootCfg
Source§impl Default for SecureBootCfg
impl Default for SecureBootCfg
Source§fn default() -> SecureBootCfg
fn default() -> SecureBootCfg
Returns the “default value” for a type. Read more
Source§impl PartialEq for SecureBootCfg
impl PartialEq for SecureBootCfg
impl Copy for SecureBootCfg
impl Eq for SecureBootCfg
impl StructuralPartialEq for SecureBootCfg
Auto Trait Implementations§
impl Freeze for SecureBootCfg
impl RefUnwindSafe for SecureBootCfg
impl Send for SecureBootCfg
impl Sync for SecureBootCfg
impl Unpin for SecureBootCfg
impl UnwindSafe for SecureBootCfg
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more