Searched refs:enforcement_policy (Results 1 – 5 of 5) sorted by relevance
/system/keymaster/ |
D | android_keymaster.cpp | 242 if (context_->enforcement_policy()) { in BeginOperation() 245 if (!context_->enforcement_policy()->CreateKeyId(request.key_blob, &key_id)) in BeginOperation() 248 response->error = context_->enforcement_policy()->AuthorizeOperation( in BeginOperation() 274 if (context_->enforcement_policy()) { in UpdateOperation() 275 response->error = context_->enforcement_policy()->AuthorizeOperation( in UpdateOperation() 301 if (context_->enforcement_policy()) { in FinishOperation() 302 response->error = context_->enforcement_policy()->AuthorizeOperation( in FinishOperation()
|
D | android_keymaster_test.cpp | 73 KeymasterEnforcement* enforcement_policy() override { return &test_policy_; } in enforcement_policy() function in keymaster::test::TestKeymasterContext
|
/system/keymaster/include/keymaster/ |
D | keymaster_context.h | 128 virtual KeymasterEnforcement* enforcement_policy() = 0;
|
D | soft_keymaster_context.h | 55 KeymasterEnforcement* enforcement_policy() override { in enforcement_policy() function
|
/system/security/keystore/ |
D | keystore.cpp | 2499 if (!enforcement_policy.CreateKeyId(key, &keyid)) { in begin() 2509 err = enforcement_policy.AuthorizeOperation(purpose, keyid, key_auths, operation_params, in begin() 2596 enforcement_policy.AuthorizeOperation(purpose, keyid, key_auths, in update() 2659 err = enforcement_policy.AuthorizeOperation(purpose, keyid, key_auths, operation_params, in finish() 3127 KeystoreKeymasterEnforcement enforcement_policy; member in android::KeyStoreProxy
|