[−][src]Enum parsec_interface::operations::psa_algorithm::Cipher
Enumeration of symmetric encryption algorithms supported.
Variants
The stream cipher mode of a stream cipher algorithm.
A stream cipher built using the Counter (CTR) mode of a block cipher.
A stream cipher built using the Cipher Feedback (CFB) mode of a block cipher.
A stream cipher built using the Output Feedback (OFB) mode of a block cipher.
The XTS cipher mode of a block cipher.
The Electronic Code Book (ECB) mode of a block cipher, with no padding.
The Cipher Block Chaining (CBC) mode of a block cipher, with no padding.
The Cipher Block Chaining (CBC) mode of a block cipher, with PKCS#7 padding.
Methods
impl Cipher
[src]
pub fn is_block_cipher_mode(self) -> bool
[src]
Check is the cipher algorithm is a mode of a block cipher.
Trait Implementations
impl Clone for Cipher
[src]
impl Copy for Cipher
[src]
impl Debug for Cipher
[src]
impl<'de> Deserialize<'de> for Cipher
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<Cipher> for Algorithm
[src]
impl PartialEq<Cipher> for Cipher
[src]
impl Serialize for Cipher
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for Cipher
[src]
impl TryFrom<i32> for Cipher
[src]
Auto Trait Implementations
impl RefUnwindSafe for Cipher
impl Send for Cipher
impl Sync for Cipher
impl Unpin for Cipher
impl UnwindSafe for Cipher
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,