Searched refs:kmen (Results 1 – 1 of 1) sorted by relevance
/system/keymaster/ |
D | keymaster_enforcement_test.cpp | 85 TestKeymasterEnforcement kmen; member in keymaster::test::KeymasterBaseTest 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() 168 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, auth_set); in TEST_F() 182 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, auth_set); in TEST_F() [all …]
|