/optee_rust/examples/random-rs/ta/src/ |
A D | main.rs | 23 use optee_utee::{Error, ErrorKind, Parameters, Result}; 34 fn open_session(_params: &mut Parameters) -> Result<()> { in open_session() 49 pub fn random_number_generate(params: &mut Parameters) -> Result<()> { in random_number_generate() 61 fn invoke_command(cmd_id: u32, params: &mut Parameters) -> Result<()> { in invoke_command()
|
/optee_rust/examples/digest-rs/ta/src/ |
A D | main.rs | 24 use optee_utee::{Error, ErrorKind, Parameters, Result}; 46 fn open_session(_params: &mut Parameters, _sess_ctx: &mut DigestOp) -> Result<()> { in open_session() argument 62 fn invoke_command(sess_ctx: &mut DigestOp, cmd_id: u32, params: &mut Parameters) -> Result<()> { in invoke_command() 77 pub fn update(digest: &mut DigestOp, params: &mut Parameters) -> Result<()> { in update() 84 pub fn do_final(digest: &mut DigestOp, params: &mut Parameters) -> Result<()> { in do_final()
|
/optee_rust/examples/acipher-rs/ta/src/ |
A D | main.rs | 24 use optee_utee::{Error, ErrorKind, Parameters, Result}; 47 fn open_session(_params: &mut Parameters, _sess_ctx: &mut RsaCipher) -> Result<()> { in open_session() argument 62 fn gen_key(rsa: &mut RsaCipher, params: &mut Parameters) -> Result<()> { in gen_key() 70 fn get_size(rsa: &mut RsaCipher, params: &mut Parameters) -> Result<()> { in get_size() 82 fn encrypt(rsa: &mut RsaCipher, params: &mut Parameters) -> Result<()> { in encrypt() 103 fn decrypt(rsa: &mut RsaCipher, params: &mut Parameters) -> Result<()> { in decrypt() 125 fn invoke_command(sess_ctx: &mut RsaCipher, cmd_id: u32, params: &mut Parameters) -> Result<()> { in invoke_command()
|
/optee_rust/examples/hello_world-rs/ta/src/ |
A D | main.rs | 23 use optee_utee::{Error, ErrorKind, Parameters, Result}; 33 fn open_session(_params: &mut Parameters) -> Result<()> { in open_session() 49 fn invoke_command(cmd_id: u32, params: &mut Parameters) -> Result<()> { in invoke_command()
|
/optee_rust/examples/time-rs/ta/src/ |
A D | main.rs | 24 use optee_utee::{Error, ErrorKind, Parameters, Result}; 34 fn open_session(_params: &mut Parameters) -> Result<()> { in open_session() 50 fn invoke_command(cmd_id: u32, _params: &mut Parameters) -> Result<()> { in invoke_command()
|
/optee_rust/examples/secure_storage-rs/ta/src/ |
A D | main.rs | 24 use optee_utee::{Error, ErrorKind, Parameters, Result}; 34 fn open_session(_params: &mut Parameters) -> Result<()> { in open_session() 50 fn invoke_command(cmd_id: u32, params: &mut Parameters) -> Result<()> { in invoke_command() 68 pub fn delete_object(params: &mut Parameters) -> Result<()> { in delete_object() 91 pub fn create_raw_object(params: &mut Parameters) -> Result<()> { in create_raw_object() 131 pub fn read_raw_object(params: &mut Parameters) -> Result<()> { in read_raw_object()
|
/optee_rust/examples/tcp_client-rs/ta/src/ |
A D | main.rs | 23 use optee_utee::{Error, ErrorKind, Parameters, Result}; 36 fn open_session(_params: &mut Parameters) -> Result<()> { in open_session() 52 fn invoke_command(cmd_id: u32, _params: &mut Parameters) -> Result<()> { in invoke_command()
|
/optee_rust/examples/supp_plugin-rs/ta/src/ |
A D | main.rs | 23 use optee_utee::{Error, ErrorKind, Parameters, Result, Uuid}; 34 fn open_session(_params: &mut Parameters) -> Result<()> { in open_session() 50 fn invoke_command(cmd_id: u32, params: &mut Parameters) -> Result<()> { in invoke_command()
|
/optee_rust/examples/udp_socket-rs/ta/src/ |
A D | main.rs | 23 use optee_utee::{Error, ErrorKind, Parameters, Result}; 36 fn open_session(_params: &mut Parameters) -> Result<()> { in open_session() 52 fn invoke_command(cmd_id: u32, _params: &mut Parameters) -> Result<()> { in invoke_command()
|
/optee_rust/examples/serde-rs/ta/src/ |
A D | main.rs | 23 use optee_utee::{Error, ErrorKind, Parameters, Result}; 35 fn open_session(_params: &mut Parameters) -> Result<()> { in open_session() 57 fn invoke_command(cmd_id: u32, params: &mut Parameters) -> Result<()> { in invoke_command()
|
/optee_rust/examples/diffie_hellman-rs/ta/src/ |
A D | main.rs | 25 use optee_utee::{Error, ErrorKind, Parameters, Result}; 47 fn open_session(_params: &mut Parameters, _sess_ctx: &mut DiffieHellman) -> Result<()> { in open_session() argument 62 fn generate_key(dh: &mut DiffieHellman, params: &mut Parameters) -> Result<()> { in generate_key() 96 fn derive_key(dh: &mut DiffieHellman, params: &mut Parameters) -> Result<()> { in derive_key() 123 params: &mut Parameters, in invoke_command() argument
|
/optee_rust/examples/aes-rs/ta/src/ |
A D | main.rs | 26 use optee_utee::{Error, ErrorKind, Parameters, Result}; 53 fn open_session(_params: &mut Parameters, _sess_ctx: &mut AesCipher) -> Result<()> { in open_session() argument 69 fn invoke_command(sess_ctx: &mut AesCipher, cmd_id: u32, params: &mut Parameters) -> Result<()> { in invoke_command() 114 pub fn alloc_resources(aes: &mut AesCipher, params: &mut Parameters) -> Result<()> { in alloc_resources() 138 pub fn set_aes_key(aes: &mut AesCipher, params: &mut Parameters) -> Result<()> { in set_aes_key() 156 pub fn reset_aes_iv(aes: &mut AesCipher, params: &mut Parameters) -> Result<()> { in reset_aes_iv() 166 pub fn cipher_buffer(aes: &mut AesCipher, params: &mut Parameters) -> Result<()> { in cipher_buffer()
|
/optee_rust/examples/authentication-rs/ta/src/ |
A D | main.rs | 25 use optee_utee::{Error, ErrorKind, Parameters, Result}; 49 fn open_session(_params: &mut Parameters, _sess_ctx: &mut AEOp) -> Result<()> { in open_session() argument 65 fn invoke_command(sess_ctx: &mut AEOp, cmd_id: u32, params: &mut Parameters) -> Result<()> { in invoke_command() 90 pub fn prepare(ae: &mut AEOp, params: &mut Parameters) -> Result<()> { in prepare() 116 pub fn update(digest: &mut AEOp, params: &mut Parameters) -> Result<()> { in update() 125 pub fn encrypt_final(digest: &mut AEOp, params: &mut Parameters) -> Result<()> { in encrypt_final() 150 pub fn decrypt_final(digest: &mut AEOp, params: &mut Parameters) -> Result<()> { in decrypt_final()
|
/optee_rust/examples/hotp-rs/ta/src/ |
A D | main.rs | 25 use optee_utee::{Error, ErrorKind, Parameters, Result}; 56 fn open_session(_params: &mut Parameters, _sess_ctx: &mut HmacOtp) -> Result<()> { in open_session() argument 72 fn invoke_command(sess_ctx: &mut HmacOtp, cmd_id: u32, params: &mut Parameters) -> Result<()> { in invoke_command() 87 pub fn register_shared_key(hotp: &mut HmacOtp, params: &mut Parameters) -> Result<()> { in register_shared_key() 95 pub fn get_hotp(hotp: &mut HmacOtp, params: &mut Parameters) -> Result<()> { in get_hotp()
|
/optee_rust/examples/message_passing_interface-rs/ta/src/ |
A D | main.rs | 23 use optee_utee::{Error, ErrorKind, Parameters, Result}; 52 fn open_session(_params: &mut Parameters) -> Result<()> { in open_session() 68 fn invoke_command(cmd_id: u32, params: &mut Parameters) -> Result<()> { in invoke_command()
|
/optee_rust/optee-utee/src/ |
A D | lib.rs | 25 pub use self::parameter::{ParamType, ParamTypes, Parameter, Parameters};
|
A D | parameter.rs | 22 pub struct Parameters(pub Parameter, pub Parameter, pub Parameter, pub Parameter); struct 24 impl Parameters { impls 32 Parameters(p0, p1, p2, p3)
|
/optee_rust/examples/big_int-rs/ta/src/ |
A D | main.rs | 24 use optee_utee::{Error, ErrorKind, Parameters, Result}; 34 fn open_session(_params: &mut Parameters) -> Result<()> { in open_session() 99 fn invoke_command(cmd_id: u32, params: &mut Parameters) -> Result<()> { in invoke_command()
|
/optee_rust/optee-utee/macros/src/ |
A D | lib.rs | 167 let mut parameters = Parameters::from_raw(params, param_types); in ta_open_session() 200 let mut parameters = Parameters::from_raw(params, param_types); in ta_open_session() 351 let mut parameters = Parameters::from_raw(params, param_types); in ta_invoke_command() 389 let mut parameters = Parameters::from_raw(params, param_types); in ta_invoke_command()
|