Home
last modified time | relevance | path

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

/optee_rust/examples/authentication-rs/ta/src/
A Dmain.rs132 let mut ciph = vec![0; p1.buffer().len() as usize]; in encrypt_final() variables
133 ciph.copy_from_slice(p1.buffer()); in encrypt_final()
137 match digest.op.encrypt_final(&clear, &mut ciph, &mut tag) { in encrypt_final()
142 p1.buffer().copy_from_slice(&ciph); in encrypt_final()
157 let mut ciph = vec![0; p1.buffer().len() as usize]; in decrypt_final() variables
158 ciph.copy_from_slice(p1.buffer()); in decrypt_final()
162 match digest.op.decrypt_final(&clear, &mut ciph, &tag) { in decrypt_final()
166 p1.buffer().copy_from_slice(&ciph); in decrypt_final()
/optee_rust/examples/aes-rs/host/src/
A Dmain.rs85 let mut ciph = [0x00u8; AES_TEST_BUFFER_SIZE]; in main() variables
98 cipher_buffer(&mut session, &clear, &mut ciph)?; in main()
112 cipher_buffer(&mut session, &ciph, &mut tmp)?; in main()

Completed in 3 milliseconds