Struct aes_soft::Aes256 [−][src]
pub struct Aes256 { /* fields omitted */ }AES-256 block cipher instance
Trait Implementations
impl BlockCipher for Aes256[src]
impl BlockCipher for Aes256[src]type BlockSize = U16
Size of the block in bytes
type ParBlocks = U8
Number of blocks which can be processed in parallel by cipher implementation Read more
fn encrypt_block(&self, block: &mut GenericArray<u8, U16>)[src]
fn decrypt_block(&self, block: &mut GenericArray<u8, U16>)[src]
fn encrypt_blocks(&self, blocks: &mut GenericArray<GenericArray<u8, U16>, U8>)[src]
fn decrypt_blocks(&self, blocks: &mut GenericArray<GenericArray<u8, U16>, U8>)[src]
impl NewBlockCipher for Aes256[src]
impl NewBlockCipher for Aes256[src]type KeySize = U32
Key size in bytes with which cipher guaranteed to be initialized.
fn new(key: &GenericArray<u8, U32>) -> Self[src]
pub fn new_varkey(key: &[u8]) -> Result<Self, InvalidKeyLength>[src]
Auto Trait Implementations
impl RefUnwindSafe for Aes256
impl Send for Aes256
impl Sync for Aes256
impl Unpin for Aes256
impl UnwindSafe for Aes256
Blanket Implementations
impl<Alg> BlockCipherMut for Alg where
Alg: BlockCipher, [src]
impl<Alg> BlockCipherMut for Alg where
Alg: BlockCipher, [src]type BlockSize = <Alg as BlockCipher>::BlockSize
Size of the block in bytes
pub fn encrypt_block(
&mut self,
block: &mut GenericArray<u8, <Alg as BlockCipherMut>::BlockSize>
)[src]
&mut self,
block: &mut GenericArray<u8, <Alg as BlockCipherMut>::BlockSize>
)
pub fn decrypt_block(
&mut self,
block: &mut GenericArray<u8, <Alg as BlockCipherMut>::BlockSize>
)[src]
&mut self,
block: &mut GenericArray<u8, <Alg as BlockCipherMut>::BlockSize>
)