Home
last modified time | relevance | path

Searched refs:cipher_text (Results 1 – 2 of 2) sorted by relevance

/optee_rust/examples/acipher-rs/host/src/
A Dmain.rs38 let mut cipher_text = vec![0u8; operation.parameters().0.a() as usize]; in enc_dec() variables
40 let p1 = ParamTmpRef::new_output(&mut cipher_text); in enc_dec()
47 cipher_text.len(), in enc_dec()
48 cipher_text in enc_dec()
51 let p0 = ParamTmpRef::new_input(&cipher_text); in enc_dec()
/optee_rust/examples/acipher-rs/ta/src/
A Dmain.rs102 Ok(cipher_text) => Ok(p1.buffer().clone_from_slice(&cipher_text)), in encrypt()
111 let mut cipher_text = p0.buffer(); in decrypt() variables
121 match cipher.decrypt(&mut [], &mut cipher_text) { in decrypt()

Completed in 11 milliseconds