Searched refs:ciph (Results 1 – 2 of 2) sorted by relevance
132 let mut ciph = vec![0; p1.buffer().len() as usize]; in encrypt_final() variables133 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() variables158 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()
85 let mut ciph = [0x00u8; AES_TEST_BUFFER_SIZE]; in main() variables98 cipher_buffer(&mut session, &clear, &mut ciph)?; in main()112 cipher_buffer(&mut session, &ciph, &mut tmp)?; in main()
Completed in 3 milliseconds