Home
last modified time | relevance | path

Searched refs:key_material (Results 1 – 5 of 5) sorted by relevance

/device/google/cuttlefish/host/commands/secure_env/
Dtpm_key_blob_maker.cpp186 const KeymasterKeyBlob& key_material, in CreateKeyBlob() argument
210 return UnvalidatedCreateKeyBlob(key_material, *hw_enforced, *sw_enforced, in CreateKeyBlob()
215 const KeymasterKeyBlob& key_material, const AuthorizationSet& hw_enforced, in UnvalidatedCreateKeyBlob() argument
219 key_material.key_material, key_material.key_material_size); in UnvalidatedCreateKeyBlob()
247 KeymasterKeyBlob* key_material) const { in UnwrapKeyBlob()
257 auto buf = blob.key_material; in UnwrapKeyBlob()
267 *key_material = KeymasterKeyBlob( in UnwrapKeyBlob()
Dtpm_keymaster_context.cpp229 key->key_material(), key->hw_enforced(), key->sw_enforced(), in UpgradeKeyBlob()
238 keymaster::KeymasterKeyBlob key_material; in ParseKeyBlob() local
243 hidden, &key_material); in ParseKeyBlob()
261 rc = factory->LoadKey(std::move(key_material), additional_params, in ParseKeyBlob()
442 if (!input.Reinitialize(transit_key.key_material, in UnwrapKey()
464 transport_key.writable_data()[i] ^= masking_key.key_material[i]; in UnwrapKey()
532 if (!encrypted_key.write(secure_key.key_material, in UnwrapKey()
569 if (!wrapped_key_material->key_material && plaintext_key.peek_read()) { in UnwrapKey()
Dtpm_key_blob_maker.h41 const keymaster::KeymasterKeyBlob& key_material,
47 const keymaster::KeymasterKeyBlob& key_material,
69 keymaster::KeymasterKeyBlob* key_material) const;
Dtpm_keymaster_enforcement.cpp320 TpmHmacWithContext(resource_manager_, "key_id", key_blob.key_material, in CreateKeyId()
/device/google/cuttlefish/host/commands/secure_env/rust/
Dtpm.rs177 let key_material = match prk { in expand() localVariable
178 crypto::OpaqueOr::Opaque(key_material) => &key_material.0, in expand()
186 if key_material != ROOT_KEK_MARKER { in expand()