aws_lc_rs::key_wrap

Trait BlockCipher

Source
pub trait BlockCipher:
    'static
    + Debug
    + Sealed {
    // Required methods
    fn id(&self) -> BlockCipherId;
    fn key_len(&self) -> usize;
}
Expand description

A key wrap block cipher.

Required Methods§

Source

fn id(&self) -> BlockCipherId

The block cipher identifier.

Source

fn key_len(&self) -> usize

The key size in bytes to be used with the block cipher.

Implementors§