Home
last modified time | relevance | path

Searched refs:algorithm (Results 1 – 13 of 13) sorted by relevance

/device/google/cuttlefish/host/commands/assemble_cvd/
Dmisc_info.cc130 Result<std::string> GetKeyPath(const std::string_view algorithm) { in GetKeyPath() argument
131 if (algorithm == kRsa4096Algorithm) { in GetKeyPath()
133 } else if (algorithm == kRsa2048Algorithm) { in GetKeyPath()
140 Result<std::string> GetPubKeyPath(const std::string_view algorithm) { in GetPubKeyPath() argument
141 if (algorithm == kRsa4096Algorithm) { in GetPubKeyPath()
143 } else if (algorithm == kRsa2048Algorithm) { in GetPubKeyPath()
297 const auto algorithm = CF_EXPECT(GetExpected(misc_info, kAvbVbmetaAlgorithm)); in GetVbmetaArgs() local
299 .algorithm = algorithm, in GetVbmetaArgs()
300 .key_path = CF_EXPECT(GetKeyPath(algorithm)), in GetVbmetaArgs()
Dmisc_info.h32 std::string algorithm; member
Dsuper_image_mixer.cc226 auto avbtool = Avb(AvbToolBinary(), args.algorithm, args.key_path); in RegenerateVbmeta()
/device/google/cuttlefish/host/commands/secure_env/
Dtpm_keymaster_context.cpp122 keymaster_algorithm_t algorithm) const { in GetKeyFactory()
123 auto it = key_factories_.find(algorithm); in GetKeyFactory()
125 LOG(ERROR) << "Could not find key factory for " << algorithm; in GetKeyFactory()
132 keymaster_algorithm_t algorithm, keymaster_purpose_t purpose) const { in GetOperationFactory() argument
133 auto key_factory = GetKeyFactory(algorithm); in GetOperationFactory()
136 << " for invalid algorithm " << algorithm; in GetOperationFactory()
142 << " from key factory for " << algorithm; in GetOperationFactory()
249 keymaster_algorithm_t algorithm; in ParseKeyBlob() local
250 if (!hw_enforced.GetTagValue(keymaster::TAG_ALGORITHM, &algorithm) && in ParseKeyBlob()
251 !sw_enforced.GetTagValue(keymaster::TAG_ALGORITHM, &algorithm)) { in ParseKeyBlob()
[all …]
Dproxy_keymaster_context.h63 keymaster_algorithm_t algorithm) const override { in GetKeyFactory() argument
64 return wrapped_.GetKeyFactory(algorithm); in GetKeyFactory()
67 keymaster_algorithm_t algorithm, in GetOperationFactory() argument
69 return wrapped_.GetOperationFactory(algorithm, purpose); in GetOperationFactory()
Dtpm_attestation_record.cpp151 TpmAttestationRecordContext::GetAttestationKey(keymaster_algorithm_t algorithm, in GetAttestationKey() argument
153 return keymaster::KeymasterKeyBlob(*keymaster::getAttestationKey(algorithm, error)); in GetAttestationKey()
157 TpmAttestationRecordContext::GetAttestationChain(keymaster_algorithm_t algorithm, in GetAttestationChain() argument
159 return keymaster::getAttestationChain(algorithm, error); in GetAttestationChain()
Dtpm_attestation_record.h56 keymaster_algorithm_t algorithm, keymaster_error_t* error) const override;
58 keymaster_algorithm_t algorithm, keymaster_error_t* error) const override;
Dtpm_keymaster_context.h73 keymaster_algorithm_t algorithm) const override;
75 keymaster_algorithm_t algorithm,
Dprimary_key_builder.cpp48 .algorithm = TPM2_ALG_AES, in ParentKey()
Dencrypted_serializable.cpp63 .algorithm = TPM2_ALG_AES, in CreateKey()
/device/google/cuttlefish/host/libs/avb/
Davb.cpp49 Avb::Avb(std::string avbtool_path, std::string algorithm, std::string key) in Avb() argument
51 algorithm_(std::move(algorithm)), in Avb()
Davb.h46 Avb(std::string avbtool_path, std::string algorithm, std::string key);
/device/google/atv/products/lowram_boot_profiles/
Dboot-image-profile.txt28565 HSPLandroid/hardware/security/keymint/KeyParameterValue;->algorithm(I)Landroid/hardware/security/ke…