#[repr(u8)]
pub enum OutputProtectionState {
ClearTextAllowed,
EncryptedOutputOnly,
ForbiddenOutputOutsideChip,
Invalid,
}
Expand description
Allowed IO transmission states between chip and host MCU for ECDH, KDF, Verify and SecureBoot commands.
Variants
ClearTextAllowed
Output in the clear is OK, though encryption can still be indicated in the mode parameter
EncryptedOutputOnly
Output is OK, but the result must be encrypted. The state of the encryption bit in the mode parameter will be ignored by the ECDH command.
ForbiddenOutputOutsideChip
Result must be stored in TempKey or and key slot, output outside the chip is forbidden
Invalid
Invalid state
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OutputProtectionState
impl Send for OutputProtectionState
impl Sync for OutputProtectionState
impl Unpin for OutputProtectionState
impl UnwindSafe for OutputProtectionState
Blanket Implementations
Mutably borrows from an owned value. Read more