Home
last modified time | relevance | path

Searched refs:GetKmVersion (Results 1 – 11 of 11) sorted by relevance

/system/keymaster/include/keymaster/contexts/
Dkeymaster1_passthrough_context.h43 KmVersion GetKmVersion() const override { return AttestationContext::GetKmVersion(); } in GetKmVersion() function
Dsoft_keymaster_context.h52 KmVersion GetKmVersion() const override { return AttestationContext::GetKmVersion(); } in GetKmVersion() function
Dpure_soft_keymaster_context.h53 KmVersion GetKmVersion() const override { return AttestationContext::GetKmVersion(); } in GetKmVersion() function
Dkeymaster2_passthrough_context.h37 KmVersion GetKmVersion() const override { return version_; } in GetKmVersion() function
/system/keymaster/include/keymaster/
Dattestation_context.h37 KmVersion GetKmVersion() const { return version_; } in GetKmVersion() function
Dkeymaster_context.h81 virtual KmVersion GetKmVersion() const = 0;
/system/keymaster/km_openssl/
Drsa_key_factory.cpp101 if (context_.GetKmVersion() < KmVersion::KEYMINT_1) return KM_ERROR_OK; in GenerateKey()
142 if (context_.GetKmVersion() < KmVersion::KEYMINT_1) return KM_ERROR_OK; in ImportKey()
Dec_key_factory.cpp131 if (context_.GetKmVersion() < KmVersion::KEYMINT_1) return KM_ERROR_OK; in GenerateKey()
170 if (context_.GetKmVersion() < KmVersion::KEYMINT_1) return KM_ERROR_OK; in ImportKey()
Dattestation_utils.cpp115 if (context.GetKmVersion() <= KmVersion::KEYMINT_1) { in add_attestation_extension()
292 *error = get_certificate_params(attest_params, &cert_params, context.GetKmVersion()); in generate_attestation()
Dattestation_record.cpp868 version_to_attestation_version(context.GetKmVersion())); in build_eat_record()
870 version_to_attestation_km_version(context.GetKmVersion())); in build_eat_record()
1006 version_to_attestation_version(context.GetKmVersion())) || in build_attestation_record()
1009 version_to_attestation_km_version(context.GetKmVersion())) || in build_attestation_record()
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp170 rsp.km_version = context_->GetKmVersion(); in GetVersion2()
874 if (context_->GetKmVersion() >= KmVersion::KEYMINT_1) { in ImportWrappedKey()