[−][src]Struct crypto2::blockmode::Aria128Gcm
Implementations
impl Aria128Gcm
[src]
pub const KEY_LEN: usize
[src]
pub const BLOCK_LEN: usize
[src]
pub const NONCE_LEN: usize
[src]
pub const TAG_LEN: usize
[src]
pub const A_MAX: usize
[src]
pub const P_MAX: usize
[src]
pub const C_MAX: usize
[src]
pub const N_MIN: usize
[src]
pub const N_MAX: usize
[src]
pub fn new(key: &[u8]) -> Self
[src]
pub fn encrypt_slice(&self, nonce: &[u8], aad: &[u8], aead_pkt: &mut [u8])
[src]
pub fn decrypt_slice(
&self,
nonce: &[u8],
aad: &[u8],
aead_pkt: &mut [u8]
) -> bool
[src]
&self,
nonce: &[u8],
aad: &[u8],
aead_pkt: &mut [u8]
) -> bool
pub fn encrypt_slice_detached(
&self,
nonce: &[u8],
aad: &[u8],
plaintext_in_ciphertext_out: &mut [u8],
tag_out: &mut [u8]
)
[src]
&self,
nonce: &[u8],
aad: &[u8],
plaintext_in_ciphertext_out: &mut [u8],
tag_out: &mut [u8]
)
pub fn decrypt_slice_detached(
&self,
nonce: &[u8],
aad: &[u8],
ciphertext_in_plaintext_out: &mut [u8],
tag_in: &[u8]
) -> bool
[src]
&self,
nonce: &[u8],
aad: &[u8],
ciphertext_in_plaintext_out: &mut [u8],
tag_in: &[u8]
) -> bool
Trait Implementations
impl Clone for Aria128Gcm
[src]
pub fn clone(&self) -> Aria128Gcm
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Drop for Aria128Gcm
[src]
impl Zeroize for Aria128Gcm
[src]
Auto Trait Implementations
impl RefUnwindSafe for Aria128Gcm
impl Send for Aria128Gcm
impl Sync for Aria128Gcm
impl Unpin for Aria128Gcm
impl UnwindSafe for Aria128Gcm
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,