Home
last modified time | relevance | path

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

/system/keymint/tests/src/
Dlib.rs432 let mut got_ct = op.update(&msg).unwrap(); in test_aes_gcm() localVariable
433 got_ct.extend_from_slice(&op.finish().unwrap()); in test_aes_gcm()
434 assert_eq!(format!("{}{}", test.ct, test.tag), hex::encode(&got_ct)); in test_aes_gcm()
445 let mut got_pt = op.update(&got_ct).unwrap(); in test_aes_gcm()
460 let mut got_pt = op.update(&got_ct[..got_ct.len() - 4]).unwrap(); in test_aes_gcm()
475 let mut corrupt_ct = got_ct.clone(); in test_aes_gcm()
510 let mut got_ct = op.update(&msg).unwrap(); in test_des() localVariable
511 got_ct.extend_from_slice(&op.finish().unwrap()); in test_des()
512 assert_eq!(test.ct, hex::encode(&got_ct)); in test_des()
517 let mut got_pt = op.update(&got_ct).unwrap(); in test_des()