Home
last modified time | relevance | path

Searched refs:res (Results 1 – 7 of 7) sorted by relevance

/optee_rust/optee-utee/src/
A Darithmetical.rs118 res in add()
125 res in sub()
131 res in neg()
138 res in multiply()
144 res in square()
171 res in module()
184 res in add_mod()
197 res in sub_mod()
210 res in mul_mod()
216 res in square_mod()
[all …]
A Dobject.rs92 let mut res = AttributeMemref::new_ref(); in from_ref() variables
95 &mut res.raw, in from_ref()
101 res in from_ref()
139 let mut res = AttributeValue::new_value(); in from_value() variables
141 raw::TEE_InitValueAttribute(&mut res.raw, id as u32, a, b); in from_value()
143 res in from_value()
/optee_rust/examples/big_int-rs/ta/src/
A Dmain.rs52 res if res > 0 => trace_println!("{} > {}.", n0, n1), in compare()
69 let res = BigInt::add(n0, n1); in add()
70 trace_println!("{} + {} = {}.", n0, n1, res); in add()
75 let res = BigInt::sub(n0, n1); in sub()
76 trace_println!("{} - {} = {}.", n0, n1, res); in sub()
81 let res = BigInt::multiply(n0, n1); in multiply()
82 trace_println!("{} * {} = {}.", n0, n1, res); in multiply()
93 let res = BigInt::module(n0, n1); in module()
94 trace_println!("{} % {} = {}.", n0, n1, res); in module()
/optee_rust/examples/digest-rs/host/src/
A Dmain.rs33 fn do_final(session: &mut Session, src: &[u8], res: &mut [u8]) -> optee_teec::Result<usize> { in do_final()
35 let p1 = ParamTmpRef::new_output(res); in do_final()
64 let mut res = hash.to_vec(); in main() variables
65 res.truncate(hash_length as usize); in main()
67 println!("Get message hash as: {:?}.", res); in main()
/optee_rust/examples/authentication-rs/host/src/
A Dmain.rs40 fn update(session: &mut Session, src: &[u8], res: &mut [u8]) -> optee_teec::Result<()> { in update()
42 let p1 = ParamTmpRef::new_output(res); in update()
53 res: &mut [u8], in encrypt_final()
57 let p1 = ParamTmpRef::new_output(res); in encrypt_final()
68 res: &mut [u8], in decrypt_final()
72 let p1 = ParamTmpRef::new_output(res); in decrypt_final()
/optee_rust/optee-utee/optee-utee-sys/src/
A Duser_ta_header.rs46 let res: u32 = unsafe { __utee_entry(func, session_id, up, cmd_id) }; in __ta_entry()
48 unsafe { _utee_return(res.into()) }; in __ta_entry()
/optee_rust/examples/authentication-rs/ta/src/
A Dmain.rs120 let res = p1.buffer(); in update()
121 digest.op.update(src, res)?; in update()

Completed in 8 milliseconds