Skip to main content

Aria256

Type Alias Aria256 

Source
pub type Aria256 = Aria<17>;
Expand description

ARIA-256 block cipher instance.

Aliased Type§

pub struct Aria256 { /* private fields */ }

Trait Implementations§

Source§

impl AlgorithmName for Aria256

Source§

fn write_alg_name(f: &mut Formatter<'_>) -> Result

Write algorithm name into f. Read more
Source§

impl Debug for Aria256

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl KeyInit for Aria256

Source§

fn new(key: &Key<Self>) -> Self

Create new value from fixed size key.
Source§

fn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength>

Create new value from variable size key. Read more
Source§

impl KeySizeUser for Aria256

Source§

type KeySize = UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>

Key size in bytes.
Source§

fn key_size() -> usize

Return key size in bytes.