Struct lpc55::protected_flash::SecureBootConfiguration
source · [−]pub struct SecureBootConfiguration {
pub secure_boot_enabled: bool,
pub puf_enrollment_disabled: bool,
pub puf_keycode_generation_disabled: bool,
pub trustzone_mode: TrustzoneMode,
pub dice_computation_disabled: bool,
pub include_factory_area_in_dice_computation: bool,
pub include_nxp_area_in_dice_computation: bool,
pub include_security_epoch_area_in_dice_computation: bool,
pub use_rsa4096_keys: bool,
}
Fields
secure_boot_enabled: bool
puf_enrollment_disabled: bool
puf_keycode_generation_disabled: bool
trustzone_mode: TrustzoneMode
dice_computation_disabled: bool
For this DICE stuff, see also https://www.microsoft.com/en-us/research/project/dice-device-identifier-composition-engine/ and the actual standard https://trustedcomputinggroup.org/resource/hardware-requirements-for-a-device-identifier-composition-engine/
include_factory_area_in_dice_computation: bool
include_nxp_area_in_dice_computation: bool
include_security_epoch_area_in_dice_computation: bool
use_rsa4096_keys: bool
Trait Implementations
sourceimpl Clone for SecureBootConfiguration
impl Clone for SecureBootConfiguration
sourcefn clone(&self) -> SecureBootConfiguration
fn clone(&self) -> SecureBootConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SecureBootConfiguration
impl Debug for SecureBootConfiguration
sourceimpl Default for SecureBootConfiguration
impl Default for SecureBootConfiguration
sourcefn default() -> SecureBootConfiguration
fn default() -> SecureBootConfiguration
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SecureBootConfiguration
impl<'de> Deserialize<'de> for SecureBootConfiguration
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<SecureBootConfiguration> for u32
impl From<SecureBootConfiguration> for u32
sourcefn from(cfg: SecureBootConfiguration) -> u32
fn from(cfg: SecureBootConfiguration) -> u32
Converts to this type from the input type.
sourceimpl From<u32> for SecureBootConfiguration
impl From<u32> for SecureBootConfiguration
sourceimpl Hash for SecureBootConfiguration
impl Hash for SecureBootConfiguration
sourceimpl Ord for SecureBootConfiguration
impl Ord for SecureBootConfiguration
sourcefn cmp(&self, other: &SecureBootConfiguration) -> Ordering
fn cmp(&self, other: &SecureBootConfiguration) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<SecureBootConfiguration> for SecureBootConfiguration
impl PartialEq<SecureBootConfiguration> for SecureBootConfiguration
sourcefn eq(&self, other: &SecureBootConfiguration) -> bool
fn eq(&self, other: &SecureBootConfiguration) -> bool
sourceimpl PartialOrd<SecureBootConfiguration> for SecureBootConfiguration
impl PartialOrd<SecureBootConfiguration> for SecureBootConfiguration
sourcefn partial_cmp(&self, other: &SecureBootConfiguration) -> Option<Ordering>
fn partial_cmp(&self, other: &SecureBootConfiguration) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl Serialize for SecureBootConfiguration
impl Serialize for SecureBootConfiguration
impl Copy for SecureBootConfiguration
impl Eq for SecureBootConfiguration
impl StructuralEq for SecureBootConfiguration
impl StructuralPartialEq for SecureBootConfiguration
Auto Trait Implementations
impl RefUnwindSafe for SecureBootConfiguration
impl Send for SecureBootConfiguration
impl Sync for SecureBootConfiguration
impl Unpin for SecureBootConfiguration
impl UnwindSafe for SecureBootConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.