Enum ctru::services::ps::AESAlgorithm
source · #[repr(u8)]pub enum AESAlgorithm {
CbcEnc = 0,
CbcDec = 1,
CtrEnc = 2,
CtrDec = 3,
CcmEnc = 4,
CcmDec = 5,
}
Expand description
Type of AES algorithm to use.
Variants§
CbcEnc = 0
CBC encryption.
CbcDec = 1
CBC decryption.
CtrEnc = 2
CTR encryption.
CtrDec = 3
CTR decryption.
CcmEnc = 4
CCM encryption.
CcmDec = 5
CCM decryption.
Trait Implementations§
source§impl Clone for AESAlgorithm
impl Clone for AESAlgorithm
source§fn clone(&self) -> AESAlgorithm
fn clone(&self) -> AESAlgorithm
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AESAlgorithm
impl Debug for AESAlgorithm
source§impl From<AESAlgorithm> for PS_AESAlgorithm
impl From<AESAlgorithm> for PS_AESAlgorithm
source§fn from(v: AESAlgorithm) -> Self
fn from(v: AESAlgorithm) -> Self
Converts to this type from the input type.
source§impl PartialEq for AESAlgorithm
impl PartialEq for AESAlgorithm
impl Copy for AESAlgorithm
impl Eq for AESAlgorithm
impl StructuralPartialEq for AESAlgorithm
Auto Trait Implementations§
impl RefUnwindSafe for AESAlgorithm
impl Send for AESAlgorithm
impl Sync for AESAlgorithm
impl Unpin for AESAlgorithm
impl UnwindSafe for AESAlgorithm
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more