Enum ecc608_linux::slot_config::_WriteConfig
source · [−]pub enum _WriteConfig {
Always,
PubInValid,
Never,
Encrypt,
}Variants
Always
Clear text writes are always permitted on this slot. Slots set to alwaysshould never be used as key storage. Either 4 or 32 bytes may bewritten to this slot
PubInValid
If a validated public key is stored in the slot, writes are prohibited. UseVerify(Invalidate) to invalidate prior to writing. Do not use thismode unless the slot contains a public key.
Never
Writes are never permitted on this slot using the Write command.Slots set to never can still be used as key storage.
Encrypt
Writes to this slot require a properly computed MAC, and the inputdata must be encrypted by the system with WriteKey using theencryption algorithm documented in the Write command description(Section Write Command). 4 byte writes to this slot are prohibited.
Trait Implementations
sourceimpl Debug for _WriteConfig
impl Debug for _WriteConfig
sourceimpl From<_WriteConfig> for u8
impl From<_WriteConfig> for u8
sourcefn from(v: _WriteConfig) -> Self
fn from(v: _WriteConfig) -> Self
Converts to this type from the input type.
sourceimpl From<u8> for _WriteConfig
impl From<u8> for _WriteConfig
sourceimpl PartialEq<_WriteConfig> for _WriteConfig
impl PartialEq<_WriteConfig> for _WriteConfig
sourceimpl Serialize for _WriteConfig
impl Serialize for _WriteConfig
impl StructuralPartialEq for _WriteConfig
Auto Trait Implementations
impl RefUnwindSafe for _WriteConfig
impl Send for _WriteConfig
impl Sync for _WriteConfig
impl Unpin for _WriteConfig
impl UnwindSafe for _WriteConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more