Home
last modified time | relevance | path

Searched refs:KeySize (Results 1 – 3 of 3) sorted by relevance

/optee_rust/examples/aes-rs/proto/src/
A Dlib.rs75 pub enum KeySize { enum
81 impl From<u32> for KeySize { implementation
83 fn from(value: u32) -> KeySize { in from() argument
85 16 => KeySize::Bit128, in from()
86 32 => KeySize::Bit256, in from()
87 _ => KeySize::Unknown, in from()
/optee_rust/examples/aes-rs/ta/src/
A Dmain.rs27 use proto::{Algo, Command, KeySize, Mode};
100 match KeySize::from(key_sz) { in ta2tee_key_size()
101 KeySize::Bit128 | KeySize::Bit256 => Ok(key_sz as usize), in ta2tee_key_size()
/optee_rust/examples/aes-rs/host/src/
A Dmain.rs21 use proto::{Algo, Command, KeySize, Mode, UUID};
37 let p1 = ParamValue::new(KeySize::Bit128 as u32, 0, ParamType::ValueInput); in prepare_aes()

Completed in 11 milliseconds