Home
last modified time | relevance | path

Searched refs:AuthorizeOperation (Results 1 – 7 of 7) sorted by relevance

/system/keymaster/
Dkeymaster_enforcement_test.cpp35 keymaster_error_t AuthorizeOperation(const keymaster_purpose_t purpose, const km_id_t keyid, in AuthorizeOperation() function in keymaster::test::TestKeymasterEnforcement
38 return KeymasterEnforcement::AuthorizeOperation( in AuthorizeOperation()
41 using KeymasterEnforcement::AuthorizeOperation;
102 keymaster_error_t kmer = kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, single_auth_set); in TEST_F()
115 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, auth_set)); in TEST_F()
118 ASSERT_EQ(KM_ERROR_OK, kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, auth_set)); in TEST_F()
128 keymaster_error_t kmer_valid_time = kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, auth_set); in TEST_F()
140 ASSERT_EQ(KM_ERROR_KEY_EXPIRED, kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, auth_set)); in TEST_F()
143 ASSERT_EQ(KM_ERROR_OK, kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, auth_set)); in TEST_F()
155 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, auth_set); in TEST_F()
[all …]
Dandroid_keymaster.cpp273 response->error = context_->enforcement_policy()->AuthorizeOperation( in BeginOperation()
300 response->error = context_->enforcement_policy()->AuthorizeOperation( in UpdateOperation()
329 response->error = context_->enforcement_policy()->AuthorizeOperation( in FinishOperation()
Dkeymaster_enforcement.cpp118 keymaster_error_t KeymasterEnforcement::AuthorizeOperation(const keymaster_purpose_t purpose, in AuthorizeOperation() function in keymaster::KeymasterEnforcement
/system/security/keystore/
Dkeymaster_enforcement.h52 ErrorCode AuthorizeOperation(const KeyPurpose purpose, const km_id_t keyid,
Dkeymaster_enforcement.cpp115 ErrorCode KeymasterEnforcement::AuthorizeOperation(const KeyPurpose purpose, const km_id_t keyid, in AuthorizeOperation() function in keystore::KeymasterEnforcement
Dkey_store_service.cpp1107 result->resultCode = enforcement_policy.AuthorizeOperation( in begin()
1195 result->resultCode = enforcement_policy.AuthorizeOperation( in update()
1254 result->resultCode = enforcement_policy.AuthorizeOperation( in finish()
/system/keymaster/include/keymaster/
Dkeymaster_enforcement.h52 keymaster_error_t AuthorizeOperation(const keymaster_purpose_t purpose, const km_id_t keyid,