Searched refs:KeymasterEnforcement (Results 1 – 7 of 7) sorted by relevance
/system/keymaster/ |
D | keymaster_enforcement.cpp | 108 KeymasterEnforcement::KeymasterEnforcement(uint32_t max_access_time_map_size, in KeymasterEnforcement() function in keymaster::KeymasterEnforcement 113 KeymasterEnforcement::~KeymasterEnforcement() { in ~KeymasterEnforcement() 118 keymaster_error_t KeymasterEnforcement::AuthorizeOperation(const keymaster_purpose_t purpose, in AuthorizeOperation() 146 KeymasterEnforcement::AuthorizeUpdateOrFinish(const AuthorizationSet& auth_set, in AuthorizeUpdateOrFinish() 191 keymaster_error_t KeymasterEnforcement::AuthorizeBegin(const keymaster_purpose_t purpose, in AuthorizeBegin() 379 bool KeymasterEnforcement::CreateKeyId(const keymaster_key_blob_t& key_blob, km_id_t* keyid) { in CreateKeyId() 395 bool KeymasterEnforcement::MinTimeBetweenOpsPassed(uint32_t min_time_between, const km_id_t keyid) { in MinTimeBetweenOpsPassed() 405 bool KeymasterEnforcement::MaxUsesPerBootNotExceeded(const km_id_t keyid, uint32_t max_uses) { in MaxUsesPerBootNotExceeded() 415 bool KeymasterEnforcement::AuthTokenMatches(const AuthorizationSet& auth_set, in AuthTokenMatches()
|
D | keymaster_enforcement_test.cpp | 30 class TestKeymasterEnforcement : public KeymasterEnforcement { 33 : KeymasterEnforcement(3, 3), current_time_(10000), report_token_valid_(true) {} in TestKeymasterEnforcement() 38 return KeymasterEnforcement::AuthorizeOperation( in AuthorizeOperation() 41 using KeymasterEnforcement::AuthorizeOperation; 867 EXPECT_TRUE(KeymasterEnforcement::CreateKeyId(blob, &key_id)); in TEST_F()
|
D | android_keymaster_test.cpp | 54 class TestKeymasterEnforcement : public KeymasterEnforcement { 56 TestKeymasterEnforcement() : KeymasterEnforcement(3, 3) {} in TestKeymasterEnforcement() 73 KeymasterEnforcement* enforcement_policy() override { return &test_policy_; } in enforcement_policy()
|
/system/keymaster/include/keymaster/ |
D | keymaster_enforcement.h | 39 class KeymasterEnforcement { 44 KeymasterEnforcement(uint32_t max_access_time_map_size, uint32_t max_access_count_map_size); 45 virtual ~KeymasterEnforcement();
|
D | keymaster_context.h | 128 virtual KeymasterEnforcement* enforcement_policy() = 0;
|
D | soft_keymaster_context.h | 55 KeymasterEnforcement* enforcement_policy() override { in enforcement_policy()
|
/system/security/keystore/ |
D | keystore_keymaster_enforcement.h | 28 class KeystoreKeymasterEnforcement : public keymaster::KeymasterEnforcement { 30 KeystoreKeymasterEnforcement() : KeymasterEnforcement(64, 64) {} in KeystoreKeymasterEnforcement()
|