Struct HostBoot
#[repr(transparent)]pub struct HostBoot(pub u32);Expand description
Hardware configuration of the CRYPTOCELL subsystem. Reset value holds the supported features.
Tuple Fields§
§0: u32Implementations§
§impl HostBoot
impl HostBoot
pub 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
pub const fn set_power_gating_exists_local(&mut self, val: bool)
pub const fn set_power_gating_exists_local(&mut self, val: bool)
If this flag is set, full power gating is implemented
pub const fn large_rkek_local(&self) -> bool
pub const fn large_rkek_local(&self) -> bool
If this flag is set, large RKEK is supported
pub const fn set_large_rkek_local(&mut self, val: bool)
pub const fn set_large_rkek_local(&mut self, val: bool)
If this flag is set, large RKEK is supported
pub 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
pub const fn set_hash_in_fuses_local(&mut self, val: bool)
pub const fn set_hash_in_fuses_local(&mut self, val: bool)
If this flag is set, HASH in fuses is supported
pub 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
pub const fn set_ext_mem_secured_local(&mut self, val: bool)
pub const fn set_ext_mem_secured_local(&mut self, val: bool)
If this flag is set, external secure memory is supported
pub 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
pub const fn set_rkek_ecc_exists_local_n(&mut self, val: bool)
pub const fn set_rkek_ecc_exists_local_n(&mut self, val: bool)
If this flag is set, RKEK ECC is supported
pub const fn sram_size_local(&self) -> u8
pub const fn sram_size_local(&self) -> u8
SRAM size
pub const fn set_sram_size_local(&mut self, val: u8)
pub const fn set_sram_size_local(&mut self, val: u8)
SRAM size
pub const fn dscrptr_exists_local(&self) -> bool
pub const fn dscrptr_exists_local(&self) -> bool
If this flag is set, Descriptors are supported
pub const fn set_dscrptr_exists_local(&mut self, val: bool)
pub const fn set_dscrptr_exists_local(&mut self, val: bool)
If this flag is set, Descriptors are supported
pub const fn pau_exists_local(&self) -> bool
pub const fn pau_exists_local(&self) -> bool
If this flag is set, PAU is supported
pub const fn set_pau_exists_local(&mut self, val: bool)
pub const fn set_pau_exists_local(&mut self, val: bool)
If this flag is set, PAU is supported
pub 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
pub const fn set_rng_exists_local(&mut self, val: bool)
pub const fn set_rng_exists_local(&mut self, val: bool)
If this flag is set, the RNG engine is present
pub 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
pub const fn set_pka_exists_local(&mut self, val: bool)
pub const fn set_pka_exists_local(&mut self, val: bool)
If this flag is set, the PKA engine is present
pub 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
pub const fn set_rc4_exists_local(&mut self, val: bool)
pub const fn set_rc4_exists_local(&mut self, val: bool)
If this flag is set, the RC4 engine is present
pub 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
pub const fn set_sha_512_prsnt_local(&mut self, val: bool)
pub const fn set_sha_512_prsnt_local(&mut self, val: bool)
If this flag is set, the HASH engine supports SHA512
pub 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
pub const fn set_sha_256_prsnt_local(&mut self, val: bool)
pub const fn set_sha_256_prsnt_local(&mut self, val: bool)
If this flag is set, the HASH engine supports SHA256
pub 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
pub const fn set_md5_prsnt_local(&mut self, val: bool)
pub const fn set_md5_prsnt_local(&mut self, val: bool)
If this flag is set, the HASH engine supports MD5
pub 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
pub const fn set_hash_exists_local(&mut self, val: bool)
pub const fn set_hash_exists_local(&mut self, val: bool)
If this flag is set, the HASH engine is present
pub 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
pub const fn set_c2_exists_local(&mut self, val: bool)
pub const fn set_c2_exists_local(&mut self, val: bool)
If this flag is set, the C2 engine is present
pub 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
pub const fn set_des_exists_local(&mut self, val: bool)
pub const fn set_des_exists_local(&mut self, val: bool)
If this flag is set, the DES engine is present
pub 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
pub const fn set_aes_xcbc_mac_exists_local(&mut self, val: bool)
pub const fn set_aes_xcbc_mac_exists_local(&mut self, val: bool)
If this flag is set, AES XCBC-MAC mode is supported
pub 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
pub const fn set_aes_cmac_exists_local(&mut self, val: bool)
pub const fn set_aes_cmac_exists_local(&mut self, val: bool)
If this flag is set, AES CMAC mode is supported
pub 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
pub const fn set_aes_ccm_exists_local(&mut self, val: bool)
pub const fn set_aes_ccm_exists_local(&mut self, val: bool)
If this flag is set, AES CCM mode is supported
pub 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
pub const fn set_aes_xex_hw_t_calc_local(&mut self, val: bool)
pub const 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
pub 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
pub const fn set_aes_xex_exists_local(&mut self, val: bool)
pub const fn set_aes_xex_exists_local(&mut self, val: bool)
If this flag is set, AES XEX mode is supported
pub 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
pub const fn set_ctr_exists_local(&mut self, val: bool)
pub const fn set_ctr_exists_local(&mut self, val: bool)
If this flag is set, AES CTR mode is supported
pub 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
pub const fn set_aes_din_byte_resolution_local(&mut self, val: bool)
pub const 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
pub 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
pub const fn set_tunneling_enb_local(&mut self, val: bool)
pub const fn set_tunneling_enb_local(&mut self, val: bool)
If this flag is set, the AES engine supports tunneling operations
pub 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
pub const fn set_support_256_192_key_local(&mut self, val: bool)
pub const 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
pub 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
pub const fn set_only_encrypt_local(&mut self, val: bool)
pub const fn set_only_encrypt_local(&mut self, val: bool)
If this flag is set, the AES engine only support encryption
pub 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
pub const fn set_aes_exists_local(&mut self, val: bool)
pub const fn set_aes_exists_local(&mut self, val: bool)
If this flag is set, the AES engine is present