pub struct Aes128Dec {
keys: [__m128i; ROUNDS],
features: Features,
}Expand description
AES-128 block cipher (decrypt-only)
Fields§
§keys: [__m128i; ROUNDS]§features: FeaturesTrait Implementations§
Source§impl AlgorithmName for Aes128Dec
impl AlgorithmName for Aes128Dec
Source§impl BlockCipherDecrypt for Aes128Dec
impl BlockCipherDecrypt for Aes128Dec
Source§fn decrypt_with_backend(&self, f: impl BlockCipherDecClosure<BlockSize = U16>)
fn decrypt_with_backend(&self, f: impl BlockCipherDecClosure<BlockSize = U16>)
Decrypt data using backend provided to the rank-2 closure.
Source§fn decrypt_block_inout(&self, block: InOut<'_, '_, Array<u8, Self::BlockSize>>)
fn decrypt_block_inout(&self, block: InOut<'_, '_, Array<u8, Self::BlockSize>>)
Decrypt single
inout block.Source§fn decrypt_blocks_inout(
&self,
blocks: InOutBuf<'_, '_, Array<u8, Self::BlockSize>>,
)
fn decrypt_blocks_inout( &self, blocks: InOutBuf<'_, '_, Array<u8, Self::BlockSize>>, )
Decrypt
inout blocks.Source§fn decrypt_block(&self, block: &mut Array<u8, Self::BlockSize>)
fn decrypt_block(&self, block: &mut Array<u8, Self::BlockSize>)
Decrypt single block in-place.
Source§impl BlockSizeUser for Aes128Dec
impl BlockSizeUser for Aes128Dec
Source§impl KeyInit for Aes128Dec
impl KeyInit for Aes128Dec
Source§fn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength>
fn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength>
Create new value from variable size key. Read more
Source§impl KeySizeUser for Aes128Dec
impl KeySizeUser for Aes128Dec
impl ZeroizeOnDrop for Aes128Dec
Available on crate feature
zeroize only.Auto Trait Implementations§
impl Freeze for Aes128Dec
impl RefUnwindSafe for Aes128Dec
impl Send for Aes128Dec
impl Sync for Aes128Dec
impl Unpin for Aes128Dec
impl UnsafeUnpin for Aes128Dec
impl UnwindSafe for Aes128Dec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more