Searched refs:bad_key (Results 1 – 1 of 1) sorted by relevance
167 let bad_key = aes.generate_key(rng).unwrap(); in test_aes_gcm_roundtrip() localVariable173 assert!(aes.decrypt(&bad_key, &ct, aad, &nonce).is_err()); in test_aes_gcm_roundtrip()