Searched refs:KeySize (Results 1 – 3 of 3) sorted by relevance
| /optee_rust/examples/aes-rs/proto/src/ |
| A D | lib.rs | 77 pub enum KeySize { enum 83 impl From<u32> for KeySize { implementation 85 fn from(value: u32) -> KeySize { in from() argument 87 16 => KeySize::Bit128, in from() 88 32 => KeySize::Bit256, in from() 89 _ => KeySize::Unknown, in from()
|
| /optee_rust/examples/aes-rs/ta/src/ |
| A D | main.rs | 33 use proto::{Algo, Command, KeySize, Mode}; 105 match KeySize::from(key_sz) { in ta2tee_key_size() 106 KeySize::Bit128 | KeySize::Bit256 => Ok(key_sz as usize), in ta2tee_key_size()
|
| /optee_rust/examples/aes-rs/host/src/ |
| A D | main.rs | 21 use proto::{Algo, Command, KeySize, Mode, UUID}; 37 let p1 = ParamValue::new(KeySize::Bit128 as u32, 0, ParamType::ValueInput); in prepare_aes()
|
Completed in 14 milliseconds