/optee_rust/examples/time-rs/ta/src/ |
A D | main.rs | 22 ta_close_session, ta_create, ta_destroy, ta_invoke_command, ta_open_session, trace_println, 29 trace_println!("[+] TA create"); in create() 35 trace_println!("[+] TA open session"); in open_session() 41 trace_println!("[+] TA close session"); in close_session() 46 trace_println!("[+] TA destroy"); in destroy() 51 trace_println!("[+] TA invoke command"); in invoke_command() 64 trace_println!("[+] Get REE time {}.", time); in time() 65 trace_println!("[+] Now wait 1 second in TEE ..."); in time() 68 trace_println!("[+] Get system time {}.", time); in time() 73 …trace_println!("[+] After set the TA time 5 seconds ahead of system time, new TA time {}.", time2); in time()
|
/optee_rust/examples/big_int-rs/ta/src/ |
A D | main.rs | 29 trace_println!("[+] TA create"); in create() 35 trace_println!("[+] TA open session"); in open_session() 41 trace_println!("[+] TA close session"); in close_session() 46 trace_println!("[+] TA destroy"); in destroy() 51 0 => trace_println!("{} == {}.", n0, n1), in compare() 53 _ => trace_println!("{} < {}.", n0, n1), in compare() 59 trace_println!( in convert() 70 trace_println!("{} + {} = {}.", n0, n1, res); in add() 76 trace_println!("{} - {} = {}.", n0, n1, res); in sub() 82 trace_println!("{} * {} = {}.", n0, n1, res); in multiply() [all …]
|
/optee_rust/examples/supp_plugin-rs/ta/src/ |
A D | main.rs | 21 ta_close_session, ta_create, ta_destroy, ta_invoke_command, ta_open_session, trace_println, 29 trace_println!("[+] TA create"); in create() 35 trace_println!("[+] TA open session"); in open_session() 41 trace_println!("[+] TA close session"); in close_session() 46 trace_println!("[+] TA destroy"); in destroy() 51 trace_println!("[+] TA invoke command"); in invoke_command() 53 trace_println!("[+] TA received value {:?} then send to plugin", p0.buffer()); in invoke_command() 65 trace_println!("[+] TA received out value {:?} outlen {:?}", outbuf, outbuf.len()); in invoke_command() 66 trace_println!("[+] TA call invoke_supp_plugin finished"); in invoke_command()
|
/optee_rust/examples/tcp_client-rs/ta/src/ |
A D | main.rs | 21 ta_close_session, ta_create, ta_destroy, ta_invoke_command, ta_open_session, trace_println, 31 trace_println!("[+] TA create"); in create() 37 trace_println!("[+] TA open session"); in open_session() 43 trace_println!("[+] TA close session"); in close_session() 48 trace_println!("[+] TA destroy"); in destroy() 53 trace_println!("[+] TA invoke command"); in invoke_command() 73 trace_println!("Error"); in tcp_client() 78 trace_println!("{}", String::from_utf8_lossy(&response)); in tcp_client()
|
/optee_rust/examples/udp_socket-rs/ta/src/ |
A D | main.rs | 21 ta_close_session, ta_create, ta_destroy, ta_invoke_command, ta_open_session, trace_println, 31 trace_println!("[+] TA create"); in create() 37 trace_println!("[+] TA open session"); in open_session() 43 trace_println!("[+] TA close session"); in close_session() 48 trace_println!("[+] TA destroy"); in destroy() 53 trace_println!("[+] TA invoke command"); in invoke_command() 78 trace_println!("Error"); in udp_socket() 83 trace_println!("{}", String::from_utf8_lossy(&response)); in udp_socket()
|
/optee_rust/examples/serde-rs/ta/src/ |
A D | main.rs | 21 ta_close_session, ta_create, ta_destroy, ta_invoke_command, ta_open_session, trace_println, 30 trace_println!("[+] TA create"); in create() 36 trace_println!("[+] TA open session"); in open_session() 42 trace_println!("[+] TA close session"); in close_session() 47 trace_println!("[+] TA destroy"); in destroy() 58 trace_println!("[+] TA invoke command"); in invoke_command() 73 trace_println!("serialized = {}", serialized); in invoke_command() 79 trace_println!("deserialized = {:?}", deserialized); in invoke_command()
|
/optee_rust/examples/hello_world-rs/ta/src/ |
A D | main.rs | 21 ta_close_session, ta_create, ta_destroy, ta_invoke_command, ta_open_session, trace_println, 28 trace_println!("[+] TA create"); in create() 34 trace_println!("[+] TA open session"); in open_session() 40 trace_println!("[+] TA close session"); in close_session() 45 trace_println!("[+] TA destroy"); in destroy() 50 trace_println!("[+] TA invoke command"); in invoke_command()
|
/optee_rust/examples/random-rs/ta/src/ |
A D | main.rs | 21 ta_close_session, ta_create, ta_destroy, ta_invoke_command, ta_open_session, trace_println, 29 trace_println!("[+] TA create"); in create() 35 trace_println!("[+] TA open session"); in open_session() 41 trace_println!("[+] TA close session"); in close_session() 46 trace_println!("[+] TA destroy"); in destroy() 62 trace_println!("[+] TA invoke command"); in invoke_command()
|
/optee_rust/examples/message_passing_interface-rs/ta/src/ |
A D | main.rs | 21 ta_close_session, ta_create, ta_destroy, ta_invoke_command, ta_open_session, trace_println, 47 trace_println!("[+] TA create"); in create() 53 trace_println!("[+] TA open session"); in open_session() 59 trace_println!("[+] TA close session"); in close_session() 64 trace_println!("[+] TA destroy"); in destroy() 69 trace_println!("[+] TA invoke command"); in invoke_command()
|
/optee_rust/examples/digest-rs/ta/src/ |
A D | main.rs | 21 ta_close_session, ta_create, ta_destroy, ta_invoke_command, ta_open_session, trace_println, 41 trace_println!("[+] TA create"); in create() 47 trace_println!("[+] TA open session"); in open_session() 53 trace_println!("[+] TA close session"); in close_session() 58 trace_println!("[+] TA destroy"); in destroy() 63 trace_println!("[+] TA invoke command"); in invoke_command()
|
/optee_rust/examples/authentication-rs/ta/src/ |
A D | main.rs | 21 ta_close_session, ta_create, ta_destroy, ta_invoke_command, ta_open_session, trace_println, 44 trace_println!("[+] TA create"); in create() 50 trace_println!("[+] TA open session"); in open_session() 56 trace_println!("[+] TA close session"); in close_session() 61 trace_println!("[+] TA destroy"); in destroy() 66 trace_println!("[+] TA invoke command"); in invoke_command() 69 trace_println!("[+] TA prepare"); in invoke_command() 73 trace_println!("[+] TA update"); in invoke_command() 77 trace_println!("[+] TA encrypt_final"); in invoke_command() 81 trace_println!("[+] TA decrypt_final"); in invoke_command()
|
/optee_rust/examples/aes-rs/ta/src/ |
A D | main.rs | 21 ta_close_session, ta_create, ta_destroy, ta_invoke_command, ta_open_session, trace_println, 48 trace_println!("[+] TA create"); in create() 54 trace_println!("[+] TA open session"); in open_session() 60 trace_println!("[+] TA close session"); in close_session() 65 trace_println!("[+] TA destory"); in destroy() 70 trace_println!("[+] TA invoke command"); in invoke_command() 143 trace_println!("[+] Get wrong key size !\n"); in set_aes_key() 162 trace_println!("[+] TA initial vectore reset done!"); in reset_aes_iv() 177 trace_println!("[+] TA tries to update ciphers!"); in cipher_buffer()
|
/optee_rust/examples/diffie_hellman-rs/ta/src/ |
A D | main.rs | 21 ta_close_session, ta_create, ta_destroy, ta_invoke_command, ta_open_session, trace_println, 42 trace_println!("[+] TA create"); in create() 48 trace_println!("[+] TA open session"); in open_session() 54 trace_println!("[+] TA close session"); in close_session() 59 trace_println!("[+] TA destroy"); in destroy() 125 trace_println!("[+] TA invoke command"); in invoke_command()
|
/optee_rust/examples/acipher-rs/ta/src/ |
A D | main.rs | 21 ta_close_session, ta_create, ta_destroy, ta_invoke_command, ta_open_session, trace_println, 42 trace_println!("[+] TA create"); in create() 48 trace_println!("[+] TA open session"); in open_session() 54 trace_println!("[+] TA close session"); in close_session() 59 trace_println!("[+] TA destroy"); in destroy() 126 trace_println!("[+] TA invoke command"); in invoke_command()
|
/optee_rust/examples/secure_storage-rs/ta/src/ |
A D | main.rs | 21 ta_close_session, ta_create, ta_destroy, ta_invoke_command, ta_open_session, trace_println, 29 trace_println!("[+] TA create"); in create() 35 trace_println!("[+] TA open session"); in open_session() 41 trace_println!("[+] TA close session"); in close_session() 46 trace_println!("[+] TA destroy"); in destroy() 51 trace_println!("[+] TA invoke command"); in invoke_command()
|
/optee_rust/examples/hotp-rs/ta/src/ |
A D | main.rs | 21 ta_close_session, ta_create, ta_destroy, ta_invoke_command, ta_open_session, trace_println, 51 trace_println!("[+] TA create"); in create() 57 trace_println!("[+] TA open session"); in open_session() 63 trace_println!("[+] TA close session"); in close_session() 68 trace_println!("[+] TA destroy"); in destroy() 73 trace_println!("[+] TA invoke command"); in invoke_command()
|
/optee_rust/optee-utee/src/ |
A D | macros.rs | 51 macro_rules! trace_println { macro
|