Home
last modified time | relevance | path

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

/system/security/keystore2/src/
Ddatabase.rs251 pub enum KeyType { enum
262 impl ToSql for KeyType { implementation
265 KeyType::Client => 0, in to_sql()
266 KeyType::Super => 1, in to_sql()
267 KeyType::Attestation => 2, in to_sql()
272 impl FromSql for KeyType { implementation
275 0 => Ok(KeyType::Client), in column_result()
276 1 => Ok(KeyType::Super), in column_result()
277 2 => Ok(KeyType::Attestation), in column_result()
1273 key_type: KeyType, in key_exists() argument
[all …]
Draw_device.rs20 KeyEntryLoadBits, KeyIdGuard, KeyMetaData, KeyMetaEntry, KeyType, KeystoreDB,
107 key_type: KeyType, in create_and_store_key() argument
152 key_type: KeyType, in lookup_from_desc() argument
177 key_type: KeyType, in lookup_or_generate_key() argument
Dservice.rs33 database::{KeyEntryLoadBits, KeyType, SubComponentType},
142 KeyType::Client, in get_key_entry()
196 KeyType::Client, in update_subcomponent()
251 KeyType::Client, in update_subcomponent()
303 db.borrow_mut().unbind_key(key, KeyType::Client, caller_uid, |k, av| { in delete_key()
Dattestation_key_utils.rs18 use crate::database::{BlobMetaData, KeyEntryLoadBits, KeyType};
117 KeyType::Client, in load_attest_key_blob_and_cert()
Dboot_level_keys.rs18 database::{KeyType, KeystoreDB},
74 .lookup_or_generate_key(db, &key_desc, KeyType::Client, &params, |key_characteristics| { in get_level_zero_key()
Dutils.rs23 database::{KeyType, KeystoreDB},
277 .list(domain, namespace, KeyType::Client) in list_key_entries()
Dmaintenance.rs17 use crate::database::{KeyEntryLoadBits, KeyType, MonotonicRawTime};
257 KeyType::Client, in migrate_key_namespace()
Dsecurity_level.rs37 KeyMetaEntry, KeyType, SubComponentType, Uuid,
183 KeyType::Client, in store_new_key()
255 KeyType::Client, in create_operation()
756 KeyType::Client, in import_wrapped_key()
Dsuper_key.rs21 database::KeyType,
528 .key_exists(Domain::APP, user_id as u64 as i64, USER_SUPER_KEY.alias, KeyType::Super) in super_key_exists_in_db_for_user()
999 KeyType::Client, /* TODO Should be Super b/189470584 */ in lock_screen_lock_bound_key()
1044 KeyType::Client, // This should not be a Client key. in try_unlock_user_with_biometric()
Dlegacy_importer.rs19 KeyMetaEntry, KeyType, KeystoreDB, Uuid, KEYSTORE_UUID,
685 KeyType::Client, in check_and_import()
698 .store_new_certificate(&key, KeyType::Client, &ca_cert, &KEYSTORE_UUID) in check_and_import()
/system/keymaster/include/keymaster/
Doperation.h41 struct KeyType { struct
42 KeyType(keymaster_algorithm_t alg, keymaster_purpose_t purp) in KeyType() function
48 bool operator==(const KeyType& rhs) const { argument
52 virtual KeyType registry_key() const = 0;
/system/keymaster/km_openssl/
Dhmac_operation.h56 virtual KeyType registry_key() const { return KeyType(KM_ALGORITHM_HMAC, purpose()); } in registry_key()
Dblock_cipher_operation.h50 KeyType registry_key() const override { in registry_key()
51 return KeyType(GetCipherDescription().algorithm(), purpose_); in registry_key()
/system/keymaster/include/keymaster/km_openssl/
Decdh_operation.h63 KeyType registry_key() const override { return KeyType(KM_ALGORITHM_EC, KM_PURPOSE_AGREE_KEY); } in registry_key()
Decdsa_operation.h104 KeyType registry_key() const override { return KeyType(KM_ALGORITHM_EC, purpose()); } in registry_key()
Drsa_operation.h195 KeyType registry_key() const override { return KeyType(KM_ALGORITHM_RSA, purpose()); } in registry_key()
/system/keymaster/legacy_support/
Decdsa_keymaster1_operation.h106 KeyType registry_key() const override { return KeyType(KM_ALGORITHM_EC, purpose_); } in registry_key()
Drsa_keymaster1_operation.h105 KeyType registry_key() const override { return KeyType(KM_ALGORITHM_RSA, purpose_); } in registry_key()
Dkeymaster_passthrough_operation.h101 KeyType registry_key() const override { return key_type_; } in registry_key()
132 KeyType key_type_;
/system/keymaster/android_keymaster/
Doperation.cpp64 KeyType key_type = registry_key(); in is_public_key_operation()