/optee_rust/examples/authentication-rs/host/src/ |
A D | main.rs | 31 let p1 = ParamTmpRef::new_input(nonce); in prepare() 32 let p2 = ParamTmpRef::new_input(key); in prepare() 33 let p3 = ParamTmpRef::new_input(aad); in prepare() 41 let p0 = ParamTmpRef::new_input(src); in update() 42 let p1 = ParamTmpRef::new_output(res); in update() 56 let p0 = ParamTmpRef::new_input(src); in encrypt_final() 57 let p1 = ParamTmpRef::new_output(res); in encrypt_final() 58 let p2 = ParamTmpRef::new_output(tag); in encrypt_final() 71 let p0 = ParamTmpRef::new_input(src); in decrypt_final() 72 let p1 = ParamTmpRef::new_output(res); in decrypt_final() [all …]
|
/optee_rust/examples/diffie_hellman-rs/host/src/ |
A D | main.rs | 19 use optee_teec::{ParamNone, ParamTmpRef, ParamValue}; 29 let p0 = ParamTmpRef::new_input(&prime_base_vec); in generate_key() 35 let p2 = ParamTmpRef::new_output(&mut public_key); in generate_key() 36 let p3 = ParamTmpRef::new_output(&mut private_key); in generate_key() 52 let p0 = ParamTmpRef::new_input(key0_pub.as_slice()); in derive_key() 54 let p1 = ParamTmpRef::new_output(&mut shared_key); in derive_key()
|
/optee_rust/examples/secure_storage-rs/host/src/ |
A D | main.rs | 18 use optee_teec::{Context, ErrorKind, Operation, ParamNone, ParamTmpRef, Session, Uuid}; 29 let p0 = ParamTmpRef::new_input(obj_id); in read_secure_object() 30 let p1 = ParamTmpRef::new_output(obj_data); in read_secure_object() 44 let p0 = ParamTmpRef::new_input(obj_id); in write_secure_object() 45 let p1 = ParamTmpRef::new_input(obj_data); in write_secure_object() 55 let p0 = ParamTmpRef::new_input(obj_id); in delete_secure_object()
|
/optee_rust/examples/acipher-rs/host/src/ |
A D | main.rs | 19 use optee_teec::{Error, ErrorKind, ParamNone, ParamTmpRef, ParamValue}; 39 let p0 = ParamTmpRef::new_input(plain_text); in enc_dec() 40 let p1 = ParamTmpRef::new_output(&mut cipher_text); in enc_dec() 51 let p0 = ParamTmpRef::new_input(&cipher_text); in enc_dec() 53 let p1 = ParamTmpRef::new_output(&mut dec_res); in enc_dec()
|
/optee_rust/examples/digest-rs/host/src/ |
A D | main.rs | 19 Context, Operation, ParamNone, ParamTmpRef, ParamType, ParamValue, Session, Uuid, 26 let p0 = ParamTmpRef::new_input(src); in update() 34 let p0 = ParamTmpRef::new_input(src); in do_final() 35 let p1 = ParamTmpRef::new_output(res); in do_final()
|
/optee_rust/examples/aes-rs/host/src/ |
A D | main.rs | 19 Context, Operation, ParamNone, ParamTmpRef, ParamType, ParamValue, Session, Uuid, 47 let p0 = ParamTmpRef::new_input(key); in set_key() 56 let p0 = ParamTmpRef::new_input(iv); in set_iv() 68 let p0 = ParamTmpRef::new_input(intext); in cipher_buffer() 69 let p1 = ParamTmpRef::new_output(outtext); in cipher_buffer()
|
/optee_rust/examples/supp_plugin-rs/host/src/ |
A D | main.rs | 18 use optee_teec::{Context, Operation, ParamTmpRef, Session, Uuid}; 24 let p0 = ParamTmpRef::new_input(&test_data); in ping_ta()
|
/optee_rust/examples/random-rs/host/src/ |
A D | main.rs | 18 use optee_teec::{Context, Operation, ParamNone, ParamTmpRef, Session, Uuid}; 24 let p0 = ParamTmpRef::new_output(&mut random_uuid); in random()
|
/optee_rust/examples/serde-rs/host/src/ |
A D | main.rs | 18 use optee_teec::{Context, Operation, ParamNone, ParamTmpRef, Session, Uuid}; 30 let p0 = ParamTmpRef::new_output(&mut buffer); in serde()
|
/optee_rust/examples/message_passing_interface-rs/host/src/ |
A D | main.rs | 20 use optee_teec::{Context, Uuid, ParamType, ParamTmpRef, ParamValue, ParamNone, Operation}; 54 let p0 = ParamTmpRef::new_input(serialized_input.as_mut_slice()); in invoke() 55 let p1 = ParamTmpRef::new_output(&mut self.buffer); in invoke()
|
/optee_rust/examples/big_int-rs/host/src/ |
A D | main.rs | 19 use optee_teec::{ParamNone, ParamTmpRef, ParamValue}; 28 let p0 = ParamTmpRef::new_input(&number0); in big_int()
|
/optee_rust/examples/hotp-rs/host/src/ |
A D | main.rs | 19 Context, Error, ErrorKind, Operation, ParamNone, ParamTmpRef, ParamType, ParamValue, Session, 36 let p0 = ParamTmpRef::new_input(&k); in register_shared_key()
|
/optee_rust/optee-teec/src/ |
A D | lib.rs | 21 pub use self::parameter::{Param, ParamNone, ParamTmpRef, ParamType, ParamTypes, ParamValue};
|
A D | parameter.rs | 94 pub struct ParamTmpRef<'a> { struct 100 impl<'a> ParamTmpRef<'a> { argument 136 impl<'a> Param for ParamTmpRef<'a> { implementation
|