Struct aesni::Aes128 [] [src]

pub struct Aes128 { /* fields omitted */ }

AES-128 block cipher instance

Methods

impl Aes128
[src]

Create new AES-128 instance with given key

Encrypt in-place one 128 bit block

Decrypt in-place one 128 bit block

Encrypt in-place eight 128 bit blocks (1024 bits in total) using instruction-level parallelism

Decrypt in-place eight 128 bit blocks (1024 bits in total) using instruction-level parallelism

Trait Implementations

impl Copy for Aes128
[src]

impl Clone for Aes128
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Aes128
[src]

Formats the value using the given formatter.