/system/bt/gd/hci/ |
D | enum_helper.h | 63 template <typename T, typename std::enable_if<std::is_same_v<T, hci::KeyType>, int>::type = 0> 64 std::optional<hci::KeyType> FromLegacyConfigString(const std::string& str) { in FromLegacyConfigString() 69 if (*raw_value < static_cast<int64_t>(hci::KeyType::COMBINATION) || in FromLegacyConfigString() 70 *raw_value > static_cast<int64_t>(hci::KeyType::AUTHENTICATED_P256)) { in FromLegacyConfigString() 73 return static_cast<hci::KeyType>(*raw_value); in FromLegacyConfigString()
|
/system/bt/gd/security/record/ |
D | security_record.h | 51 void SetLinkKey(std::array<uint8_t, 16> link_key, hci::KeyType key_type) { in SetLinkKey() 66 hci::KeyType GetKeyType() { in GetKeyType() 114 hci::KeyType key_type_ = hci::KeyType::DEBUG_COMBINATION;
|
D | security_record_storage_test.cc | 67 record->SetLinkKey(link_key, hci::KeyType::DEBUG_COMBINATION); in TEST_F() 128 record->SetLinkKey(link_key, hci::KeyType::DEBUG_COMBINATION); in TEST_F() 161 record->SetLinkKey(link_key, hci::KeyType::DEBUG_COMBINATION); in TEST_F() 182 record->SetLinkKey(link_key, hci::KeyType::DEBUG_COMBINATION); in TEST_F()
|
/system/keymaster/include/keymaster/ |
D | operation.h | 41 struct KeyType { struct 42 KeyType(keymaster_algorithm_t alg, keymaster_purpose_t purp) in KeyType() argument 48 bool operator==(const KeyType& rhs) const { argument 52 virtual KeyType registry_key() const = 0;
|
/system/security/keystore2/src/ |
D | database.rs | 250 pub enum KeyType { enum 261 impl ToSql for KeyType { implementation 264 KeyType::Client => 0, in to_sql() 265 KeyType::Super => 1, in to_sql() 266 KeyType::Attestation => 2, in to_sql() 271 impl FromSql for KeyType { implementation 274 0 => Ok(KeyType::Client), in column_result() 275 1 => Ok(KeyType::Super), in column_result() 276 2 => Ok(KeyType::Attestation), in column_result() 1240 key_type: KeyType, in key_exists() argument [all …]
|
D | service.rs | 33 database::{KeyEntryLoadBits, KeyType, SubComponentType}, 140 KeyType::Client, in get_key_entry() 191 KeyType::Client, in update_subcomponent() 246 KeyType::Client, in update_subcomponent() 299 db.list(k.domain, k.nspace, KeyType::Client) in list_entries() 313 db.borrow_mut().unbind_key(&key, KeyType::Client, caller_uid, |k, av| { in delete_key()
|
D | raw_device.rs | 20 KeyIdGuard, KeyMetaData, KeyMetaEntry, KeyType, KeystoreDB, SubComponentType, Uuid, 104 key_type: KeyType, in create_and_store_key() argument 149 key_type: KeyType, in lookup_from_desc() argument 174 key_type: KeyType, in lookup_or_generate_key() argument
|
D | attestation_key_utils.rs | 18 use crate::database::{BlobMetaData, KeyEntryLoadBits, KeyType}; 109 KeyType::Client, in load_attest_key_blob_and_cert()
|
D | boot_level_keys.rs | 18 database::{KeyType, KeystoreDB}, 74 .lookup_or_generate_key(db, &key_desc, KeyType::Client, ¶ms, |key_characteristics| { in get_level_zero_key()
|
D | maintenance.rs | 17 use crate::database::{KeyEntryLoadBits, KeyType, MonotonicRawTime}; 229 KeyType::Client, in migrate_key_namespace()
|
D | legacy_migrator.rs | 21 use crate::{database::KeyType, error::Error}; 526 KeyType::Client, in check_and_migrate() 539 .store_new_certificate(&key, KeyType::Client, &ca_cert, &KEYSTORE_UUID) in check_and_migrate()
|
D | security_level.rs | 36 KeyMetaEntry, KeyType, SubComponentType, Uuid, 179 KeyType::Client, in store_new_key() 247 KeyType::Client, in create_operation() 698 KeyType::Client, in import_wrapped_key()
|
D | super_key.rs | 21 database::KeyType, 504 .key_exists(Domain::APP, user_id as u64 as i64, &USER_SUPER_KEY.alias, KeyType::Super) in super_key_exists_in_db_for_user() 962 KeyType::Client, /* TODO Should be Super b/189470584 */ in lock_screen_lock_bound_key() 1008 KeyType::Client, // This should not be a Client key. in try_unlock_user_with_biometric()
|
/system/bt/gd/security/pairing/ |
D | classic_pairing_handler_unittest.cc | 231 hci::KeyType key_type) { in ReceiveLinkKeyNotification() 318 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F() 356 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F() 394 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F() 432 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F() 470 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F() 508 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F() 546 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F() 584 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F() 666 hci::KeyType key_type = hci::KeyType::DEBUG_COMBINATION; in TEST_F() [all …]
|
/system/keymaster/include/keymaster/km_openssl/ |
D | ecdh_operation.h | 53 KeyType registry_key() const override { return KeyType(KM_ALGORITHM_EC, KM_PURPOSE_AGREE_KEY); } in registry_key()
|
D | ecdsa_operation.h | 85 KeyType registry_key() const override { return KeyType(KM_ALGORITHM_EC, purpose()); } in registry_key()
|
D | rsa_operation.h | 195 KeyType registry_key() const override { return KeyType(KM_ALGORITHM_RSA, purpose()); } in registry_key()
|
/system/keymaster/km_openssl/ |
D | hmac_operation.h | 56 virtual KeyType registry_key() const { return KeyType(KM_ALGORITHM_HMAC, purpose()); } in registry_key()
|
D | block_cipher_operation.h | 50 KeyType registry_key() const override { in registry_key() 51 return KeyType(GetCipherDescription().algorithm(), purpose_); in registry_key()
|
/system/keymaster/legacy_support/ |
D | ecdsa_keymaster1_operation.h | 106 KeyType registry_key() const override { return KeyType(KM_ALGORITHM_EC, purpose_); } in registry_key()
|
D | rsa_keymaster1_operation.h | 105 KeyType registry_key() const override { return KeyType(KM_ALGORITHM_RSA, purpose_); } in registry_key()
|
D | keymaster_passthrough_operation.h | 101 KeyType registry_key() const override { return key_type_; } in registry_key() 132 KeyType key_type_;
|
/system/bt/gd/storage/ |
D | classic_device.h | 87 GENERATE_PROPERTY_GETTER_SETTER_REMOVER(LinkKeyType, hci::KeyType, "LinkKeyType");
|
/system/keymaster/android_keymaster/ |
D | operation.cpp | 64 KeyType key_type = registry_key(); in is_public_key_operation()
|
/system/bt/gd/security/channel/ |
D | security_manager_channel_unittest.cc | 473 …hci::LinkKeyNotificationBuilder::Create(device_.GetAddress(), link_key, hci::KeyType::DEBUG_COMBIN… in TEST_F()
|