Enum optee_utee::crypto_op::OperationMode [−][src]
#[repr(u32)]
pub enum OperationMode {
Encrypt,
Decrypt,
Sign,
Verify,
Mac,
Digest,
Derive,
IllegalValue,
}
Expand description
Specify one of the available cryptographic operations.
Variants
Encryption mode
Decryption mode
Signature generation mode
Signature verfication mode
MAC mode
Digest mode
Key derivation mode
Reserve for testing and validation
Auto Trait Implementations
impl RefUnwindSafe for OperationMode
impl Send for OperationMode
impl Sync for OperationMode
impl Unpin for OperationMode
impl UnwindSafe for OperationMode
Blanket Implementations
pub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
pub fn from(t: T) -> T
pub fn from(t: T) -> T
Performs the conversion.
pub fn into(self) -> U
pub fn into(self) -> U
Performs the conversion.