Lines Matching refs:KeyLifeCycle
452 enum KeyLifeCycle { enum
463 impl ToSql for KeyLifeCycle { implementation
473 impl FromSql for KeyLifeCycle { implementation
476 0 => Ok(KeyLifeCycle::Existing), in column_result()
477 1 => Ok(KeyLifeCycle::Live), in column_result()
478 2 => Ok(KeyLifeCycle::Unreferenced), in column_result()
871 params![KeyLifeCycle::Unreferenced, Tag::MAX_BOOT_LEVEL.0, BlobMetaData::MaxBootLevel], in from_0_to_1()
1226 params![KeyLifeCycle::Unreferenced, KeyLifeCycle::Existing], in cleanup_leftovers()
1283 KeyLifeCycle::Live, in store_super_key()
1371 .query(params![KeyType::Super, domain.0, namespace, alias, KeyLifeCycle::Live]) in get_or_create_key_with()
1402 KeyLifeCycle::Live, in get_or_create_key_with()
1527 KeyLifeCycle::Existing, in create_key_entry_internal()
1557 params![id, KeyType::Attestation, KeyLifeCycle::Live, km_uuid], in create_attestation_key_entry()
1828 KeyLifeCycle::Live, in assign_attestation_key()
1982 KeyLifeCycle::Live in get_attestation_pool_status()
1997 .query_map(params![KeyType::Attestation, km_uuid, KeyLifeCycle::Live], |row| { in get_attestation_pool_status()
2059 KeyLifeCycle::Live, in retrieve_attestation_key_and_cert_chain()
2132 params![KeyLifeCycle::Unreferenced, alias, domain.0 as u32, namespace, key_type], in rebind_alias()
2142 KeyLifeCycle::Live, in rebind_alias()
2146 KeyLifeCycle::Existing, in rebind_alias()
2360 .query(params![key_type, key.domain.0 as u32, key.nspace, alias, KeyLifeCycle::Live]) in load_key_entry_id()
2418 .query(params![caller_uid as i64, key.nspace, KeyLifeCycle::Live]) in load_access_tuple()
2446 .query(params![key.nspace, KeyLifeCycle::Live]) in load_access_tuple()
2843 params![KeyLifeCycle::Unreferenced], in cleanup_unreferenced()
2852 params![KeyLifeCycle::Unreferenced], in cleanup_unreferenced()
2861 params![KeyLifeCycle::Unreferenced], in cleanup_unreferenced()
2867 params![KeyLifeCycle::Unreferenced], in cleanup_unreferenced()
2914 KeyLifeCycle::Live, in unbind_keys_for_user()
2919 KeyLifeCycle::Live in unbind_keys_for_user()
3006 .query(params![domain.0 as u32, namespace, KeyLifeCycle::Live, key_type]) in list()
4958 state: KeyLifeCycle,
5364 let rows = stmt.query_map::<(i64, KeyType, i32, i64, String, KeyLifeCycle, Uuid), _, _>( in debug_dump_keyentry_table()