Searched refs:KeymasterEnforcement (Results 1 - 7 of 7) sorted by relevance

/system/security/keystore/
H A Dkeystore_keymaster_enforcement.h25 * This is a specialization of the KeymasterEnforcement class to be used by Keystore to enforce
28 class KeystoreKeymasterEnforcement : public keymaster::KeymasterEnforcement {
30 KeystoreKeymasterEnforcement() : KeymasterEnforcement(64, 64) {}
/system/keymaster/include/keymaster/
H A Dkeymaster_enforcement.h39 class KeymasterEnforcement { class in namespace:keymaster
42 * Construct a KeymasterEnforcement.
44 KeymasterEnforcement(uint32_t max_access_time_map_size, uint32_t max_access_count_map_size);
45 virtual ~KeymasterEnforcement();
H A Dkeymaster_context.h128 virtual KeymasterEnforcement* enforcement_policy() = 0;
H A Dsoft_keymaster_context.h55 KeymasterEnforcement* enforcement_policy() override {
/system/keymaster/
H A Dkeymaster_enforcement.cpp108 KeymasterEnforcement::KeymasterEnforcement(uint32_t max_access_time_map_size, function in class:keymaster::KeymasterEnforcement
113 KeymasterEnforcement::~KeymasterEnforcement() {
118 keymaster_error_t KeymasterEnforcement::AuthorizeOperation(const keymaster_purpose_t purpose,
146 KeymasterEnforcement::AuthorizeUpdateOrFinish(const AuthorizationSet& auth_set,
191 keymaster_error_t KeymasterEnforcement::AuthorizeBegin(const keymaster_purpose_t purpose,
379 bool KeymasterEnforcement::CreateKeyId(const keymaster_key_blob_t& key_blob, km_id_t* keyid) {
395 bool KeymasterEnforcement::MinTimeBetweenOpsPassed(uint32_t min_time_between, const km_id_t keyid) {
405 bool KeymasterEnforcement
[all...]
H A Dkeymaster_enforcement_test.cpp30 class TestKeymasterEnforcement : public KeymasterEnforcement {
33 : KeymasterEnforcement(3, 3), current_time_(10000), report_token_valid_(true) {}
38 return KeymasterEnforcement::AuthorizeOperation(
41 using KeymasterEnforcement::AuthorizeOperation;
867 EXPECT_TRUE(KeymasterEnforcement::CreateKeyId(blob, &key_id));
H A Dandroid_keymaster_test.cpp54 class TestKeymasterEnforcement : public KeymasterEnforcement {
56 TestKeymasterEnforcement() : KeymasterEnforcement(3, 3) {}
73 KeymasterEnforcement* enforcement_policy() override { return &test_policy_; }

Completed in 69 milliseconds