Struct tomcrypt_sys::symmetric_CTR [] [src]

#[repr(C)]
pub struct symmetric_CTR { pub cipher: c_int, pub blocklen: c_int, pub padlen: c_int, pub mode: c_int, pub ctrlen: c_int, pub ctr: [c_uchar; 128], pub pad: [c_uchar; 128], pub key: symmetric_key, }

A block cipher CTR structure

Fields

The index of the cipher chosen

The block size of the given cipher

The padding offset

The mode (endianess) of the CTR, 0==little, 1==big

counter width

The counter

The pad used to encrypt/decrypt

The scheduled key

Trait Implementations

impl Copy for symmetric_CTR
[src]

impl Clone for symmetric_CTR
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more