[][src]Struct kuznyechik::Kuznyechik

pub struct Kuznyechik { /* fields omitted */ }

Kuznyechik (GOST R 34.12-2015) block cipher

Trait Implementations

impl BlockCipher for Kuznyechik[src]

type BlockSize = U16

Size of the block in bytes

type ParBlocks = U1

Number of blocks which can be processed in parallel by cipher implementation Read more

impl Clone for Kuznyechik[src]

impl Copy for Kuznyechik[src]

impl Debug for Kuznyechik[src]

impl NewBlockCipher for Kuznyechik[src]

type KeySize = U32

Key size in bytes with which cipher guaranteed to be initialized.

Auto Trait Implementations

impl Send for Kuznyechik

impl Sync for Kuznyechik

impl Unpin for Kuznyechik

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<Alg> BlockCipherMut for Alg where
    Alg: BlockCipher
[src]

type BlockSize = <Alg as BlockCipher>::BlockSize

Size of the block in bytes

fn encrypt_block(
    &mut self,
    block: &mut GenericArray<u8, <Alg as BlockCipherMut>::BlockSize>
)
[src]

Encrypt block in-place

fn decrypt_block(
    &mut self,
    block: &mut GenericArray<u8, <Alg as BlockCipherMut>::BlockSize>
)
[src]

Decrypt block in-place

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.