Home
last modified time | relevance | path

Searched refs:enforcement_policy (Results 1 – 9 of 9) sorted by relevance

/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp175 KeymasterEnforcement* policy = context_->enforcement_policy(); in GetHmacSharingParameters()
188 KeymasterEnforcement* policy = context_->enforcement_policy(); in ComputeSharedHmac()
200 KeymasterEnforcement* policy = context_->enforcement_policy(); in VerifyAuthorization()
227 else if (context_->enforcement_policy() && in GenerateKey()
229 !context_->enforcement_policy()->in_early_boot()) { in GenerateKey()
286 if (context_->enforcement_policy()) { in BeginOperation()
289 if (!context_->enforcement_policy()->CreateKeyId(request.key_blob, &key_id)) return; in BeginOperation()
291 response->error = context_->enforcement_policy()->AuthorizeOperation( in BeginOperation()
316 if (context_->enforcement_policy()) { in UpdateOperation()
317 response->error = context_->enforcement_policy()->AuthorizeOperation( in UpdateOperation()
[all …]
/system/keymaster/include/keymaster/contexts/
Dkeymaster2_passthrough_context.h100 KeymasterEnforcement* enforcement_policy() override;
Dkeymaster1_passthrough_context.h107 KeymasterEnforcement* enforcement_policy() override;
Dpure_soft_keymaster_context.h76 KeymasterEnforcement* enforcement_policy() override { in enforcement_policy() function
Dsoft_keymaster_context.h93 KeymasterEnforcement* enforcement_policy() override { in enforcement_policy() function
/system/keymaster/include/keymaster/
Dkeymaster_context.h135 virtual KeymasterEnforcement* enforcement_policy() = 0;
/system/keymaster/contexts/
Dkeymaster2_passthrough_context.cpp123 KeymasterEnforcement* Keymaster2PassthroughContext::enforcement_policy() { in enforcement_policy() function in keymaster::Keymaster2PassthroughContext
Dkeymaster1_passthrough_context.cpp209 KeymasterEnforcement* Keymaster1PassthroughContext::enforcement_policy() { in enforcement_policy() function in keymaster::Keymaster1PassthroughContext
/system/keymaster/tests/
Dandroid_keymaster_test.cpp104 KeymasterEnforcement* enforcement_policy() override { return &test_policy_; } in enforcement_policy() function in keymaster::test::TestKeymasterContext