Lines Matching refs:assert
63 assert!(hinfo.is_ok()); in test_get_hardware_info()
70 assert!(result.is_ok(), "{:?}", result); in test_add_rng_entropy()
134 assert!(creation_result.certificateChain.len() > 1); in generate_rsa_key()
179 assert!(result.is_ok() || result.is_err()); in test_import_wrapped_key()
188 assert!(result.is_ok() || result.is_err()); in test_upgrade_key()
196 assert!(result.is_ok(), "{:?}", result); in test_delete_key()
203 assert!(result.is_ok(), "{:?}", result); in test_delete_all_keys()
210 assert!(result.is_err()); in test_destroy_attestation_ids()
264 assert!(result.is_ok(), "{:?}", result); in begin()
275 assert!(result.is_ok(), "{:?}", result); in test_begin_abort()
277 assert!(result.is_err()); in test_begin_abort()
293 assert!(update_aad_result.is_ok(), "{:?}", update_aad_result); in test_begin_update_finish()
303 assert!(result.is_ok(), "{:?}", result); in test_begin_update_finish()
305 assert!(!ciphertext.is_empty()); in test_begin_update_finish()
317 assert!(update_aad_result.is_ok(), "{:?}", update_aad_result); in test_begin_update_finish()
324 assert!(result.is_ok(), "{:?}", result); in test_begin_update_finish()
333 assert!(result.is_ok(), "{:?}", result); in test_begin_update_finish()
351 assert!(result.is_ok(), "{:?}", result); in test_secure_clock()
372 assert!(result.is_ok(), "{:?}", result); in test_shared_secret()
376 assert!(result.is_ok(), "{:?}", result); in test_shared_secret()
389 assert!(characteristics.iter().any(|kc| kc.securityLevel == hw_info.securityLevel)); in test_get_key_characteristics()
396 assert!(sec_level_enforced.iter().any(|kp| matches!( in test_get_key_characteristics()
403 assert!(sec_level_enforced.iter().any(|kp| matches!( in test_get_key_characteristics()
407 assert!(sec_level_enforced.iter().any(|kp| matches!( in test_get_key_characteristics()
414 assert!(sec_level_enforced.iter().any(|kp| matches!( in test_get_key_characteristics()
421 assert!(sec_level_enforced.iter().any(|kp| matches!( in test_get_key_characteristics()
425 assert!(sec_level_enforced.iter().any(|kp| matches!( in test_get_key_characteristics()
432 assert!(sec_level_enforced.iter().any(|kp| matches!( in test_get_key_characteristics()
436 assert!(sec_level_enforced.iter().any(|kp| matches!( in test_get_key_characteristics()
443 assert!(sec_level_enforced.iter().any(|kp| matches!( in test_get_key_characteristics()
447 assert!(sec_level_enforced.iter().any(|kp| matches!( in test_get_key_characteristics()
451 assert!(sec_level_enforced.iter().any(|kp| matches!( in test_get_key_characteristics()
455 assert!(sec_level_enforced.iter().any(|kp| matches!( in test_get_key_characteristics()