Home
last modified time | relevance | path

Searched refs:Session (Results 1 – 18 of 18) sorted by relevance

/optee_rust/optee-teec/src/
A Dcontext.rs18 use crate::{Error, Operation, Result, Session, Uuid};
82 pub fn open_session(&mut self, uuid: Uuid) -> Result<Session> { in open_session() argument
83 Session::new( in open_session()
108 ) -> Result<Session> { in open_session_with_operation() argument
109 Session::new(self, uuid, Some(operation)) in open_session_with_operation()
A Dsession.rs44 pub struct Session<'ctx> { struct
49 impl<'ctx> Session<'ctx> { implementation
107 impl<'ctx> Drop for Session<'ctx> { implementation
A Dlib.rs22 pub use self::session::{ConnectionMethods, Session};
/optee_rust/examples/tcp_client-rs/host/src/
A Dmain.rs18 use optee_teec::{Context, Operation, Session, Uuid};
22 fn tcp_client(session: &mut Session) -> optee_teec::Result<()> { in tcp_client()
/optee_rust/examples/time-rs/host/src/
A Dmain.rs19 use optee_teec::{Context, Operation, Session, Uuid};
22 fn time(session: &mut Session) -> optee_teec::Result<()> { in time()
/optee_rust/examples/hotp-rs/host/src/
A Dmain.rs19 Context, Error, ErrorKind, Operation, ParamNone, ParamTmpRef, ParamType, ParamValue, Session,
30 fn register_shared_key(session: &mut Session) -> optee_teec::Result<()> { in register_shared_key()
43 fn get_hotp(session: &mut Session) -> optee_teec::Result<()> { in get_hotp()
/optee_rust/examples/aes-rs/host/src/
A Dmain.rs19 Context, Operation, ParamNone, ParamTmpRef, ParamType, ParamValue, Session, Uuid,
30 fn prepare_aes(session: &mut Session, encode: i8) -> optee_teec::Result<()> { in prepare_aes() argument
46 fn set_key(session: &mut Session, key: &[u8]) -> optee_teec::Result<()> { in set_key() argument
55 fn set_iv(session: &mut Session, iv: &[u8]) -> optee_teec::Result<()> { in set_iv() argument
64 session: &mut Session, in cipher_buffer() argument
/optee_rust/examples/supp_plugin-rs/host/src/
A Dmain.rs18 use optee_teec::{Context, Operation, ParamTmpRef, Session, Uuid};
22 fn ping_ta(session: &mut Session) -> optee_teec::Result<()> { in ping_ta()
/optee_rust/examples/secure_storage-rs/host/src/
A Dmain.rs18 use optee_teec::{Context, ErrorKind, Operation, ParamNone, ParamTmpRef, Session, Uuid};
25 session: &mut Session, in read_secure_object() argument
40 session: &mut Session, in write_secure_object() argument
54 fn delete_secure_object(session: &mut Session, obj_id: &[u8]) -> optee_teec::Result<()> { in delete_secure_object() argument
/optee_rust/examples/authentication-rs/host/src/
A Dmain.rs19 Context, Operation, ParamNone, ParamTmpRef, ParamType, ParamValue, Session, Uuid,
24 session: &mut Session, in prepare() argument
40 fn update(session: &mut Session, src: &[u8], res: &mut [u8]) -> optee_teec::Result<()> { in update() argument
51 session: &mut Session, in encrypt_final() argument
66 session: &mut Session, in decrypt_final() argument
/optee_rust/examples/random-rs/host/src/
A Dmain.rs18 use optee_teec::{Context, Operation, ParamNone, ParamTmpRef, Session, Uuid};
21 fn random(session: &mut Session) -> optee_teec::Result<()> { in random()
/optee_rust/examples/digest-rs/host/src/
A Dmain.rs19 Context, Operation, ParamNone, ParamTmpRef, ParamType, ParamValue, Session, Uuid,
25 fn update(session: &mut Session, src: &[u8]) -> optee_teec::Result<()> { in update() argument
33 fn do_final(session: &mut Session, src: &[u8], res: &mut [u8]) -> optee_teec::Result<usize> { in do_final() argument
/optee_rust/examples/hello_world-rs/host/src/
A Dmain.rs18 use optee_teec::{Context, Operation, ParamType, Session, Uuid};
22 fn hello_world(session: &mut Session) -> optee_teec::Result<()> { in hello_world()
/optee_rust/examples/serde-rs/host/src/
A Dmain.rs18 use optee_teec::{Context, Operation, ParamNone, ParamTmpRef, Session, Uuid};
28 fn serde(session: &mut Session) -> optee_teec::Result<()> { in serde()
/optee_rust/examples/udp_socket-rs/host/src/
A Dmain.rs18 use optee_teec::{Context, Operation, Session, Uuid};
25 fn udp_socket(session: &mut Session) -> optee_teec::Result<()> { in udp_socket()
/optee_rust/examples/diffie_hellman-rs/host/src/
A Dmain.rs18 use optee_teec::{Context, Operation, ParamType, Result, Session, Uuid};
22 fn generate_key(session: &mut Session) -> Result<(Vec<u8>, Vec<u8>)> { in generate_key()
51 fn derive_key(key0_pub: &Vec<u8>, session: &mut Session) -> Result<()> { in derive_key()
/optee_rust/examples/big_int-rs/host/src/
A Dmain.rs18 use optee_teec::{Context, Operation, ParamType, Session, Uuid};
22 fn big_int(session: &mut Session) -> optee_teec::Result<()> { in big_int()
/optee_rust/examples/acipher-rs/host/src/
A Dmain.rs18 use optee_teec::{Context, Operation, ParamType, Session, Uuid};
23 fn gen_key(session: &mut Session, key_size: u32) -> optee_teec::Result<()> { in gen_key() argument
32 fn enc_dec(session: &mut Session, plain_text: &[u8]) -> optee_teec::Result<()> { in enc_dec() argument

Completed in 10 milliseconds