pub struct SecurityConfiguration {
pub image_ptr: *const u32,
pub pubkey_ptr: *const u32,
pub revocation_owc: usize,
pub function_codes: &'static [u32],
}Expand description
This structure defines a security configuration
image_ptr: a *const u32 pointer to the base of the firmware image being configured
pubkey_ptr: a *const u32 pointer to the public keys used to validate the image at image_ptr
revocation_owc: a usize number that is the one-way counter index that defines the beginning of the
primary revocation counter bank. The duplicate bank is inferred based on the expected fixed offset to
the duplicate bank.
function_codes: a &'static [u32] that contains the allowable function codes for the image. The
function codes are a domain separator that prevent an image meant for one stage of boot being used for
another.
Fields§
§image_ptr: *const u32§pubkey_ptr: *const u32§revocation_owc: usize§function_codes: &'static [u32]Trait Implementations§
Source§impl Clone for SecurityConfiguration
impl Clone for SecurityConfiguration
Source§fn clone(&self) -> SecurityConfiguration
fn clone(&self) -> SecurityConfiguration
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 moreimpl Copy for SecurityConfiguration
Auto Trait Implementations§
impl Freeze for SecurityConfiguration
impl RefUnwindSafe for SecurityConfiguration
impl !Send for SecurityConfiguration
impl !Sync for SecurityConfiguration
impl Unpin for SecurityConfiguration
impl UnwindSafe for SecurityConfiguration
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