Skip to main content

RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn rkp_lock(&self) -> &RkpLock

0x00 - Root-key-protection engine lock owner

Source

pub const fn rkp_cmd_cfg(&self) -> &RkpCmdCfg

0x04 - RKP PBKDF2 command and algorithm configuration

Source

pub const fn kdf_error(&self) -> &KdfError

0x08 - RKP PBKDF2 error status

Source

pub const fn rkp_raw_int(&self) -> &RkpRawInt

0x10 - RKP raw interrupt status and write-one-to-clear acknowledgement

Source

pub const fn rkp_int_enable(&self) -> &RkpIntEnable

0x14 - RKP completion interrupt enable

Source

pub const fn rkp_int(&self) -> &RkpInt

0x18 - Masked RKP completion interrupt status

Source

pub const fn rkp_pbkdf2_data(&self, n: usize) -> &RkpPbkdf2Data

0x100..0x180 - PBKDF2 padded salt word %s

Source

pub fn rkp_pbkdf2_data_iter(&self) -> impl Iterator<Item = &RkpPbkdf2Data>

Iterator for array of: 0x100..0x180 - PBKDF2 padded salt word %s

Source

pub const fn rkp_pbkdf2_key(&self, n: usize) -> &RkpPbkdf2Key

0x180..0x200 - PBKDF2 padded password word %s

Source

pub fn rkp_pbkdf2_key_iter(&self) -> impl Iterator<Item = &RkpPbkdf2Key>

Iterator for array of: 0x180..0x200 - PBKDF2 padded password word %s

Source

pub const fn rkp_pbkdf2_val(&self, n: usize) -> &RkpPbkdf2Val

0x200..0x240 - PBKDF2 initial-state or output word %s

Source

pub fn rkp_pbkdf2_val_iter(&self) -> impl Iterator<Item = &RkpPbkdf2Val>

Iterator for array of: 0x200..0x240 - PBKDF2 initial-state or output word %s

Source

pub const fn kl_data_in_0(&self) -> &KlDataIn0

0x1000 - Key data input word 0

Source

pub const fn kl_data_in_1(&self) -> &KlDataIn1

0x1004 - Key data input word 1

Source

pub const fn kl_data_in_2(&self) -> &KlDataIn2

0x1008 - Key data input word 2

Source

pub const fn kl_data_in_3(&self) -> &KlDataIn3

0x100c - Key data input word 3

Source

pub const fn kl_key_addr(&self) -> &KlKeyAddr

0x1010 - Key address register

Source

pub const fn kl_key_cfg(&self) -> &KlKeyCfg

0x1014 - Key configuration register

Source

pub const fn kl_key_sec_cfg(&self) -> &KlKeySecCfg

0x1018 - Key security configuration

Source

pub const fn kl_state(&self) -> &KlState

0x1030 - KLAD state register

Source

pub const fn kl_error(&self) -> &KlError

0x1038 - KLAD error register

Source

pub const fn kc_error(&self) -> &KcError

0x103c - Key controller error register

Source

pub const fn kl_int_en(&self) -> &KlIntEn

0x1040 - KLAD interrupt enable

Source

pub const fn kl_int_raw(&self) -> &KlIntRaw

0x1044 - KLAD raw interrupt status; write one to clear

Source

pub const fn kl_int(&self) -> &KlInt

0x1048 - KLAD interrupt status

Source

pub const fn kl_lock_ctrl(&self) -> &KlLockCtrl

0x1074 - KLAD lock control

Source

pub const fn kl_unlock_ctrl(&self) -> &KlUnlockCtrl

0x1078 - KLAD unlock control

Source

pub const fn kl_com_lock_info(&self) -> &KlComLockInfo

0x107c - KLAD common lock result

Source

pub const fn kl_com_lock_status(&self) -> &KlComLockStatus

0x1080 - KLAD common lock owner status

Source

pub const fn kl_com_ctrl(&self) -> &KlComCtrl

0x1084 - KLAD common control

Source

pub const fn kl_com_status(&self) -> &KlComStatus

0x1088 - KLAD common status

Source

pub const fn kl_clr_ctrl(&self) -> &KlClrCtrl

0x1438 - KLAD clear-key route control

Source

pub const fn kl_alarm_info(&self) -> &KlAlarmInfo

0x1600 - KLAD alarm info register

Source

pub const fn kc_teecpu_lock_cmd(&self) -> &KcTeecpuLockCmd

0x1b00 - TEE CPU keyslot lock command

Source

pub const fn kc_reecpu_lock_cmd(&self) -> &KcReecpuLockCmd

0x1b04 - REE CPU keyslot lock command

Source

pub const fn kc_pcpu_lock_cmd(&self) -> &KcPcpuLockCmd

0x1b08 - PCPU keyslot lock command

Source

pub const fn kc_aidsp_lock_cmd(&self) -> &KcAidspLockCmd

0x1b0c - AIDSP keyslot lock command

Source

pub const fn kc_reecpu_flush_busy(&self) -> &KcReecpuFlushBusy

0x1b14 - REE keyslot flush status

Source

pub const fn kc_rd_slot_num(&self) -> &KcRdSlotNum

0x1b30 - Keyslot query slot number selection

Source

pub const fn kc_rd_lock_status(&self) -> &KcRdLockStatus

0x1b34 - Keyslot lock status readback

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.