#[repr(transparent)]pub struct HostBoot(pub u32);
Expand description
Hardware configuration of the CRYPTOCELL subsystem. Reset value holds the supported features.
Tuple Fields§
§0: u32
Implementations§
Source§impl HostBoot
impl HostBoot
Sourcepub const fn power_gating_exists_local(&self) -> bool
pub const fn power_gating_exists_local(&self) -> bool
If this flag is set, full power gating is implemented
Sourcepub fn set_power_gating_exists_local(&mut self, val: bool)
pub fn set_power_gating_exists_local(&mut self, val: bool)
If this flag is set, full power gating is implemented
Sourcepub const fn large_rkek_local(&self) -> bool
pub const fn large_rkek_local(&self) -> bool
If this flag is set, large RKEK is supported
Sourcepub fn set_large_rkek_local(&mut self, val: bool)
pub fn set_large_rkek_local(&mut self, val: bool)
If this flag is set, large RKEK is supported
Sourcepub const fn hash_in_fuses_local(&self) -> bool
pub const fn hash_in_fuses_local(&self) -> bool
If this flag is set, HASH in fuses is supported
Sourcepub fn set_hash_in_fuses_local(&mut self, val: bool)
pub fn set_hash_in_fuses_local(&mut self, val: bool)
If this flag is set, HASH in fuses is supported
Sourcepub const fn ext_mem_secured_local(&self) -> bool
pub const fn ext_mem_secured_local(&self) -> bool
If this flag is set, external secure memory is supported
Sourcepub fn set_ext_mem_secured_local(&mut self, val: bool)
pub fn set_ext_mem_secured_local(&mut self, val: bool)
If this flag is set, external secure memory is supported
Sourcepub const fn rkek_ecc_exists_local_n(&self) -> bool
pub const fn rkek_ecc_exists_local_n(&self) -> bool
If this flag is set, RKEK ECC is supported
Sourcepub fn set_rkek_ecc_exists_local_n(&mut self, val: bool)
pub fn set_rkek_ecc_exists_local_n(&mut self, val: bool)
If this flag is set, RKEK ECC is supported
Sourcepub const fn sram_size_local(&self) -> u8
pub const fn sram_size_local(&self) -> u8
SRAM size
Sourcepub fn set_sram_size_local(&mut self, val: u8)
pub fn set_sram_size_local(&mut self, val: u8)
SRAM size
Sourcepub const fn dscrptr_exists_local(&self) -> bool
pub const fn dscrptr_exists_local(&self) -> bool
If this flag is set, Descriptors are supported
Sourcepub fn set_dscrptr_exists_local(&mut self, val: bool)
pub fn set_dscrptr_exists_local(&mut self, val: bool)
If this flag is set, Descriptors are supported
Sourcepub const fn pau_exists_local(&self) -> bool
pub const fn pau_exists_local(&self) -> bool
If this flag is set, PAU is supported
Sourcepub fn set_pau_exists_local(&mut self, val: bool)
pub fn set_pau_exists_local(&mut self, val: bool)
If this flag is set, PAU is supported
Sourcepub const fn rng_exists_local(&self) -> bool
pub const fn rng_exists_local(&self) -> bool
If this flag is set, the RNG engine is present
Sourcepub fn set_rng_exists_local(&mut self, val: bool)
pub fn set_rng_exists_local(&mut self, val: bool)
If this flag is set, the RNG engine is present
Sourcepub const fn pka_exists_local(&self) -> bool
pub const fn pka_exists_local(&self) -> bool
If this flag is set, the PKA engine is present
Sourcepub fn set_pka_exists_local(&mut self, val: bool)
pub fn set_pka_exists_local(&mut self, val: bool)
If this flag is set, the PKA engine is present
Sourcepub const fn rc4_exists_local(&self) -> bool
pub const fn rc4_exists_local(&self) -> bool
If this flag is set, the RC4 engine is present
Sourcepub fn set_rc4_exists_local(&mut self, val: bool)
pub fn set_rc4_exists_local(&mut self, val: bool)
If this flag is set, the RC4 engine is present
Sourcepub const fn sha_512_prsnt_local(&self) -> bool
pub const fn sha_512_prsnt_local(&self) -> bool
If this flag is set, the HASH engine supports SHA512
Sourcepub fn set_sha_512_prsnt_local(&mut self, val: bool)
pub fn set_sha_512_prsnt_local(&mut self, val: bool)
If this flag is set, the HASH engine supports SHA512
Sourcepub const fn sha_256_prsnt_local(&self) -> bool
pub const fn sha_256_prsnt_local(&self) -> bool
If this flag is set, the HASH engine supports SHA256
Sourcepub fn set_sha_256_prsnt_local(&mut self, val: bool)
pub fn set_sha_256_prsnt_local(&mut self, val: bool)
If this flag is set, the HASH engine supports SHA256
Sourcepub const fn md5_prsnt_local(&self) -> bool
pub const fn md5_prsnt_local(&self) -> bool
If this flag is set, the HASH engine supports MD5
Sourcepub fn set_md5_prsnt_local(&mut self, val: bool)
pub fn set_md5_prsnt_local(&mut self, val: bool)
If this flag is set, the HASH engine supports MD5
Sourcepub const fn hash_exists_local(&self) -> bool
pub const fn hash_exists_local(&self) -> bool
If this flag is set, the HASH engine is present
Sourcepub fn set_hash_exists_local(&mut self, val: bool)
pub fn set_hash_exists_local(&mut self, val: bool)
If this flag is set, the HASH engine is present
Sourcepub const fn c2_exists_local(&self) -> bool
pub const fn c2_exists_local(&self) -> bool
If this flag is set, the C2 engine is present
Sourcepub fn set_c2_exists_local(&mut self, val: bool)
pub fn set_c2_exists_local(&mut self, val: bool)
If this flag is set, the C2 engine is present
Sourcepub const fn des_exists_local(&self) -> bool
pub const fn des_exists_local(&self) -> bool
If this flag is set, the DES engine is present
Sourcepub fn set_des_exists_local(&mut self, val: bool)
pub fn set_des_exists_local(&mut self, val: bool)
If this flag is set, the DES engine is present
Sourcepub const fn aes_xcbc_mac_exists_local(&self) -> bool
pub const fn aes_xcbc_mac_exists_local(&self) -> bool
If this flag is set, AES XCBC-MAC mode is supported
Sourcepub fn set_aes_xcbc_mac_exists_local(&mut self, val: bool)
pub fn set_aes_xcbc_mac_exists_local(&mut self, val: bool)
If this flag is set, AES XCBC-MAC mode is supported
Sourcepub const fn aes_cmac_exists_local(&self) -> bool
pub const fn aes_cmac_exists_local(&self) -> bool
If this flag is set, AES CMAC mode is supported
Sourcepub fn set_aes_cmac_exists_local(&mut self, val: bool)
pub fn set_aes_cmac_exists_local(&mut self, val: bool)
If this flag is set, AES CMAC mode is supported
Sourcepub const fn aes_ccm_exists_local(&self) -> bool
pub const fn aes_ccm_exists_local(&self) -> bool
If this flag is set, AES CCM mode is supported
Sourcepub fn set_aes_ccm_exists_local(&mut self, val: bool)
pub fn set_aes_ccm_exists_local(&mut self, val: bool)
If this flag is set, AES CCM mode is supported
Sourcepub const fn aes_xex_hw_t_calc_local(&self) -> bool
pub const fn aes_xex_hw_t_calc_local(&self) -> bool
If this flag is set, AES XEX mode T-value calculation in HW is supported
Sourcepub fn set_aes_xex_hw_t_calc_local(&mut self, val: bool)
pub fn set_aes_xex_hw_t_calc_local(&mut self, val: bool)
If this flag is set, AES XEX mode T-value calculation in HW is supported
Sourcepub const fn aes_xex_exists_local(&self) -> bool
pub const fn aes_xex_exists_local(&self) -> bool
If this flag is set, AES XEX mode is supported
Sourcepub fn set_aes_xex_exists_local(&mut self, val: bool)
pub fn set_aes_xex_exists_local(&mut self, val: bool)
If this flag is set, AES XEX mode is supported
Sourcepub const fn ctr_exists_local(&self) -> bool
pub const fn ctr_exists_local(&self) -> bool
If this flag is set, AES CTR mode is supported
Sourcepub fn set_ctr_exists_local(&mut self, val: bool)
pub fn set_ctr_exists_local(&mut self, val: bool)
If this flag is set, AES CTR mode is supported
Sourcepub const fn aes_din_byte_resolution_local(&self) -> bool
pub const fn aes_din_byte_resolution_local(&self) -> bool
If this flag is set, the AES engine data input support byte size resolution
Sourcepub fn set_aes_din_byte_resolution_local(&mut self, val: bool)
pub fn set_aes_din_byte_resolution_local(&mut self, val: bool)
If this flag is set, the AES engine data input support byte size resolution
Sourcepub const fn tunneling_enb_local(&self) -> bool
pub const fn tunneling_enb_local(&self) -> bool
If this flag is set, the AES engine supports tunneling operations
Sourcepub fn set_tunneling_enb_local(&mut self, val: bool)
pub fn set_tunneling_enb_local(&mut self, val: bool)
If this flag is set, the AES engine supports tunneling operations
Sourcepub const fn support_256_192_key_local(&self) -> bool
pub const fn support_256_192_key_local(&self) -> bool
If this flag is set, the AES engine supports 192/256 bits key sizes
Sourcepub fn set_support_256_192_key_local(&mut self, val: bool)
pub fn set_support_256_192_key_local(&mut self, val: bool)
If this flag is set, the AES engine supports 192/256 bits key sizes
Sourcepub const fn only_encrypt_local(&self) -> bool
pub const fn only_encrypt_local(&self) -> bool
If this flag is set, the AES engine only support encryption
Sourcepub fn set_only_encrypt_local(&mut self, val: bool)
pub fn set_only_encrypt_local(&mut self, val: bool)
If this flag is set, the AES engine only support encryption
Sourcepub const fn aes_exists_local(&self) -> bool
pub const fn aes_exists_local(&self) -> bool
If this flag is set, the AES engine is present
Sourcepub fn set_aes_exists_local(&mut self, val: bool)
pub fn set_aes_exists_local(&mut self, val: bool)
If this flag is set, the AES engine is present