Lines Matching refs:p1
92 let mut p1 = unsafe { params.1.as_memref().unwrap() }; in prepare() variables
100 let nonce = p1.buffer(); in prepare()
118 let mut p1 = unsafe { params.1.as_memref().unwrap() }; in update() variables
120 let res = p1.buffer(); in update()
127 let mut p1 = unsafe { params.1.as_memref().unwrap() }; in encrypt_final() variables
132 let mut ciph = vec![0; p1.buffer().len() as usize]; in encrypt_final()
133 ciph.copy_from_slice(p1.buffer()); in encrypt_final()
142 p1.buffer().copy_from_slice(&ciph); in encrypt_final()
152 let mut p1 = unsafe { params.1.as_memref().unwrap() }; in decrypt_final() variables
157 let mut ciph = vec![0; p1.buffer().len() as usize]; in decrypt_final()
158 ciph.copy_from_slice(p1.buffer()); in decrypt_final()
166 p1.buffer().copy_from_slice(&ciph); in decrypt_final()