Home
last modified time | relevance | path

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

/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp255 KeymasterEnforcement* policy = context_->enforcement_policy(); in GetHmacSharingParameters()
268 KeymasterEnforcement* policy = context_->enforcement_policy(); in ComputeSharedHmac()
280 KeymasterEnforcement* policy = context_->enforcement_policy(); in VerifyAuthorization()
292 KeymasterEnforcement* policy = context_->enforcement_policy(); in GenerateTimestampToken()
564 if (context_->enforcement_policy()) { in BeginOperation()
567 if (!context_->enforcement_policy()->CreateKeyId(request.key_blob, &key_id)) return; in BeginOperation()
569 response->error = context_->enforcement_policy()->AuthorizeOperation( in BeginOperation()
608 if (context_->enforcement_policy()) { in UpdateOperation()
609 response->error = context_->enforcement_policy()->AuthorizeOperation( in UpdateOperation()
652 if (context_->enforcement_policy()) { in FinishOperation()
[all …]
/system/keymaster/include/keymaster/contexts/
Dkeymaster2_passthrough_context.h103 KeymasterEnforcement* enforcement_policy() override;
Dkeymaster1_passthrough_context.h109 KeymasterEnforcement* enforcement_policy() override;
Dsoft_keymaster_context.h96 KeymasterEnforcement* enforcement_policy() override { in enforcement_policy() function
Dpure_soft_keymaster_context.h82 KeymasterEnforcement* enforcement_policy() override { in enforcement_policy() function
/system/keymaster/include/keymaster/
Dkeymaster_context.h149 virtual KeymasterEnforcement* enforcement_policy() = 0;
/system/keymaster/contexts/
Dkeymaster2_passthrough_context.cpp125 KeymasterEnforcement* Keymaster2PassthroughContext::enforcement_policy() { in enforcement_policy() function in keymaster::Keymaster2PassthroughContext
Dkeymaster1_passthrough_context.cpp210 KeymasterEnforcement* Keymaster1PassthroughContext::enforcement_policy() { in enforcement_policy() function in keymaster::Keymaster1PassthroughContext
/system/keymaster/tests/
Dandroid_keymaster_test.cpp105 KeymasterEnforcement* enforcement_policy() override { return &test_policy_; } in enforcement_policy() function in keymaster::test::TestKeymasterContext