/system/security/keystore2/src/ |
D | raw_device.rs | 110 key_type: KeyType, in create_and_store_key() 129 key_type, in create_and_store_key() 154 key_type: KeyType, in lookup_from_desc() 156 db.load_key_entry(key_desc, key_type, KeyEntryLoadBits::KM, AID_KEYSTORE, |_, _| Ok(())) in lookup_from_desc() 179 key_type: KeyType, in lookup_or_generate_key() 191 let lookup = Self::not_found_is_none(Self::lookup_from_desc(db, key_desc, key_type)) in lookup_or_generate_key() 233 self.create_and_store_key(db, key_desc, key_type, |km_dev| { in lookup_or_generate_key() 237 Self::lookup_from_desc(db, key_desc, key_type) in lookup_or_generate_key()
|
D | database.rs | 1293 key_type: KeyType, in key_exists() 1300 let result = Self::load_key_entry_id(tx, &key_descriptor, key_type); in key_exists() 1317 key_type: &SuperKeyType, in store_super_key() 1335 key_type.alias, in store_super_key() 1364 key_type: &SuperKeyType, in load_super_key() 1373 alias: Some(key_type.alias.into()), in load_super_key() 1461 key_type: KeyType, in create_key_entry_internal() 1479 key_type, in create_key_entry_internal() 1629 key_type: KeyType, in rebind_alias() 1643 params![KeyLifeCycle::Unreferenced, alias, domain.0 as u32, namespace, key_type], in rebind_alias() [all …]
|
D | super_key.rs | 747 key_type: &SuperKeyType, in create_super_key() 751 log::info!("Creating {} for user {}", key_type.name, user_id); in create_super_key() 752 let (super_key, public_key) = match key_type.algorithm { in create_super_key() 774 .store_super_key(user_id, key_type, &encrypted_super_key, &blob_metadata, &key_metadata) in create_super_key() 777 algorithm: key_type.algorithm, in create_super_key() 791 key_type: &SuperKeyType, in get_or_create_super_key() 795 let loaded_key = db.load_super_key(key_type, user_id)?; in get_or_create_super_key() 798 key_type.algorithm, in get_or_create_super_key() 804 self.create_super_key(db, user_id, key_type, password, reencrypt_with) in get_or_create_super_key()
|
/system/core/mini_keyctl/ |
D | mini_keyctl_utils.cpp | 66 std::string key_type = tokens[7]; in GetKeyringId() local 71 if (key_type != "keyring" || key_desc_prefix != key_desc_pattern) { in GetKeyringId()
|
/system/keymaster/android_keymaster/ |
D | operation.cpp | 64 KeyType key_type = registry_key(); in is_public_key_operation() local 66 if (!is_public_key_algorithm(key_type.algorithm)) return false; in is_public_key_operation() 68 switch (key_type.purpose) { in is_public_key_operation()
|
/system/update_engine/payload_consumer/ |
D | payload_verifier.cc | 153 int key_type = EVP_PKEY_id(public_key.get()); in VerifyRawSignature() local 154 if (key_type == EVP_PKEY_RSA) { in VerifyRawSignature() 174 } else if (key_type == EVP_PKEY_EC) { in VerifyRawSignature() 186 LOG(ERROR) << "Unsupported key type " << key_type; in VerifyRawSignature()
|
/system/chre/apps/nearby/location/lbs/contexthub/nanoapps/nearby/crypto/ |
D | aes.h | 78 enum AesKeyType key_type);
|
D | aes.c | 252 enum AesKeyType key_type) { in aesCtrInit() argument 256 if (AES_128_KEY_TYPE == key_type) { in aesCtrInit() 259 } else if (AES_256_KEY_TYPE == key_type) { in aesCtrInit()
|
/system/update_engine/payload_generator/ |
D | payload_signer.cc | 294 int key_type = EVP_PKEY_id(private_key.get()); in SignHash() local 296 if (key_type == EVP_PKEY_RSA) { in SignHash() 316 } else if (key_type == EVP_PKEY_EC) { in SignHash() 339 LOG(ERROR) << "key_type " << key_type << " isn't supported for signing"; in SignHash()
|
/system/keymint/ta/src/ |
D | device.rs | 153 fn signing_key(&self, key_type: SigningKeyType) -> Result<KeyMaterial, Error>; in signing_key() 161 fn cert_chain(&self, key_type: SigningKeyType) -> Result<Vec<keymint::Certificate>, Error>; in cert_chain()
|
D | keys.rs | 114 key_type: device::SigningKeyType, in get_signing_info() 121 let chain_info = match attestation_chain_info.entry(key_type) { in get_signing_info() 125 let chain = sign_info.cert_chain(key_type)?; in get_signing_info() 135 let signing_key = sign_info.signing_key(key_type)?; in get_signing_info()
|
/system/libvintf/include/vintf/ |
D | MapValueIterator.h | 29 using K = typename Map::key_type;
|
/system/core/libutils/include/utils/ |
D | KeyedVector.h | 39 typedef KEY key_type; typedef
|
/system/tools/aidl/ |
D | aidl_language.cpp | 774 const string& key_type = GetTypeParameters()[0]->Signature(); in CheckValid() local 775 if (key_type != "String") { in CheckValid() 777 << "'" << key_type << "'"; in CheckValid()
|