Home
last modified time | relevance | path

Searched refs:ParamType (Results 1 – 13 of 13) sorted by relevance

/optee_rust/optee-teec/src/
A Dparameter.rs24 fn param_type(&self) -> ParamType; in param_type() argument
34 param_type: ParamType,
68 fn param_type(&self) -> ParamType { in param_type() argument
83 ParamType::None in param_type()
96 param_type: ParamType,
157 pub enum ParamType { enum
197 impl From<u32> for ParamType { implementation
200 0 => ParamType::None, in from()
211 _ => ParamType::None, in from()
219 pub fn new(p0: ParamType, p1: ParamType, p2: ParamType, p3: ParamType) -> Self { in new() argument
[all …]
A Dlib.rs21 pub use self::parameter::{Param, ParamNone, ParamTmpRef, ParamType, ParamTypes, ParamValue};
/optee_rust/optee-utee/src/
A Dparameter.rs38 param_type: ParamType,
70 param_type: ParamType,
96 pub param_type: ParamType,
109 ParamType::ValueInput | ParamType::ValueInout | ParamType::ValueOutput => { in as_value()
122 ParamType::MemrefInout | ParamType::MemrefInput | ParamType::MemrefOutput => { in as_memref()
141 pub fn into_flags(&self) -> (ParamType, ParamType, ParamType, ParamType) { in into_flags() argument
158 pub enum ParamType { enum
168 impl From<u32> for ParamType { implementation
171 0 => ParamType::None, in from()
172 1 => ParamType::ValueInput, in from()
[all …]
A Dlib.rs25 pub use self::parameter::{ParamType, ParamTypes, Parameter, Parameters};
/optee_rust/examples/hello_world-rs/host/src/
A Dmain.rs18 use optee_teec::{Context, Operation, ParamType, Session, Uuid};
23 let p0 = ParamValue::new(29, 0, ParamType::ValueInout); in hello_world()
/optee_rust/examples/aes-rs/host/src/
A Dmain.rs19 Context, Operation, ParamNone, ParamTmpRef, ParamType, ParamValue, Session, Uuid,
36 let p0 = ParamValue::new(Algo::CTR as u32, 0, ParamType::ValueInput); in prepare_aes()
37 let p1 = ParamValue::new(KeySize::Bit128 as u32, 0, ParamType::ValueInput); in prepare_aes()
38 let p2 = ParamValue::new(p2_value, 0, ParamType::ValueInput); in prepare_aes()
/optee_rust/examples/diffie_hellman-rs/host/src/
A Dmain.rs18 use optee_teec::{Context, Operation, ParamType, Result, Session, Uuid};
31 let p1 = ParamValue::new(0, 0, ParamType::ValueOutput); in generate_key()
55 let p2 = ParamValue::new(0, 0, ParamType::ValueOutput); in derive_key()
/optee_rust/examples/big_int-rs/host/src/
A Dmain.rs18 use optee_teec::{Context, Operation, ParamType, Session, Uuid};
29 let p1 = ParamValue::new(number1, 0, ParamType::ValueInput); in big_int()
/optee_rust/examples/acipher-rs/host/src/
A Dmain.rs18 use optee_teec::{Context, Operation, ParamType, Session, Uuid};
24 let p0 = ParamValue::new(key_size, 0, ParamType::ValueInput); in gen_key()
33 let p0 = ParamValue::new(0, 0, ParamType::ValueOutput); in enc_dec()
/optee_rust/examples/hotp-rs/host/src/
A Dmain.rs19 Context, Error, ErrorKind, Operation, ParamNone, ParamTmpRef, ParamType, ParamValue, Session,
44 let p0 = ParamValue::new(0, 0, ParamType::ValueOutput); in get_hotp()
/optee_rust/examples/digest-rs/host/src/
A Dmain.rs19 Context, Operation, ParamNone, ParamTmpRef, ParamType, ParamValue, Session, Uuid,
36 let p2 = ParamValue::new(0, 0, ParamType::ValueOutput); in do_final()
/optee_rust/examples/message_passing_interface-rs/host/src/
A Dmain.rs20 use optee_teec::{Context, Uuid, ParamType, ParamTmpRef, ParamValue, ParamNone, Operation};
56 let p2 = ParamValue::new(0, 0, ParamType::ValueInout); in invoke()
/optee_rust/examples/authentication-rs/host/src/
A Dmain.rs19 Context, Operation, ParamNone, ParamTmpRef, ParamType, ParamValue, Session, Uuid,
30 let p0 = ParamValue::new(mode as u32, 0, ParamType::ValueInput); in prepare()

Completed in 10 milliseconds