[−][src]Trait aes_gcm::NewAead
Associated Types
Loading content...Required methods
Loading content...Provided methods
fn new_varkey(key: &[u8]) -> Result<Self, Error>
Create new AEAD instance from key with variable size.
Default implementation will accept only keys with length equal to KeySize
.
Implementors
impl<Aes, NonceSize> NewAead for AesGcm<Aes, NonceSize> where
Aes: BlockCipher<BlockSize = U16> + NewBlockCipher,
Aes::ParBlocks: ArrayLength<Block<Aes>>,
NonceSize: ArrayLength<u8>,
[src]
Aes: BlockCipher<BlockSize = U16> + NewBlockCipher,
Aes::ParBlocks: ArrayLength<Block<Aes>>,
NonceSize: ArrayLength<u8>,