Home
last modified time | relevance | path

Searched refs:KeymasterEnforcement (Results 1 – 17 of 17) sorted by relevance

/system/keymaster/android_keymaster/
Dkeymaster_enforcement.cpp106 KeymasterEnforcement::KeymasterEnforcement(uint32_t max_access_time_map_size, in KeymasterEnforcement() function in keymaster::KeymasterEnforcement
111 KeymasterEnforcement::~KeymasterEnforcement() { in ~KeymasterEnforcement()
116 keymaster_error_t KeymasterEnforcement::AuthorizeOperation(const keymaster_purpose_t purpose, in AuthorizeOperation()
146 KeymasterEnforcement::AuthorizeUpdateOrFinish(const AuthProxy& auth_set, in AuthorizeUpdateOrFinish()
208 keymaster_error_t KeymasterEnforcement::AuthorizeBegin(const keymaster_purpose_t purpose, in AuthorizeBegin()
432 bool KeymasterEnforcement::MinTimeBetweenOpsPassed(uint32_t min_time_between, const km_id_t keyid) { in MinTimeBetweenOpsPassed()
442 bool KeymasterEnforcement::MaxUsesPerBootNotExceeded(const km_id_t keyid, uint32_t max_uses) { in MaxUsesPerBootNotExceeded()
452 bool KeymasterEnforcement::GetAndValidateAuthToken(const AuthorizationSet& operation_params, in GetAndValidateAuthToken()
484 bool KeymasterEnforcement::AuthTokenMatches(const AuthProxy& auth_set, in AuthTokenMatches()
Dandroid_keymaster.cpp175 KeymasterEnforcement* policy = context_->enforcement_policy(); in GetHmacSharingParameters()
188 KeymasterEnforcement* policy = context_->enforcement_policy(); in ComputeSharedHmac()
200 KeymasterEnforcement* policy = context_->enforcement_policy(); in VerifyAuthorization()
/system/security/keystore/
Dkeymaster_enforcement.cpp65 KeymasterEnforcement::KeymasterEnforcement(uint32_t max_access_time_map_size, in KeymasterEnforcement() function in keystore::KeymasterEnforcement
69 KeymasterEnforcement::~KeymasterEnforcement() { in ~KeymasterEnforcement()
72 ErrorCode KeymasterEnforcement::AuthorizeOperation(const KeyPurpose purpose, const km_id_t keyid, in AuthorizeOperation()
101 ErrorCode KeymasterEnforcement::AuthorizeUpdateOrFinish(const AuthorizationSet& auth_set, in AuthorizeUpdateOrFinish()
147 ErrorCode KeymasterEnforcement::AuthorizeBegin(const KeyPurpose purpose, const km_id_t keyid, in AuthorizeBegin()
375 std::optional<km_id_t> KeymasterEnforcement::CreateKeyId(const hidl_vec<uint8_t>& key_blob) { in CreateKeyId()
392 bool KeymasterEnforcement::MinTimeBetweenOpsPassed(uint32_t min_time_between, const km_id_t keyid) { in MinTimeBetweenOpsPassed()
398 bool KeymasterEnforcement::MaxUsesPerBootNotExceeded(const km_id_t keyid, uint32_t max_uses) { in MaxUsesPerBootNotExceeded()
431 bool KeymasterEnforcement::AuthTokenMatches(const AuthorizationSet& auth_set, in AuthTokenMatches()
Dkeystore_keymaster_enforcement.h29 class KeystoreKeymasterEnforcement : public KeymasterEnforcement {
31 KeystoreKeymasterEnforcement() : KeymasterEnforcement(64, 64) {} in KeystoreKeymasterEnforcement()
Dkeymaster_enforcement.h85 class KeymasterEnforcement {
90 KeymasterEnforcement(uint32_t max_access_time_map_size, uint32_t max_access_count_map_size);
91 virtual ~KeymasterEnforcement();
Dkeymaster_worker.cpp428 auto keyid = KeymasterEnforcement::CreateKeyId(blob2hidlVec(keyBlob)); in begin()
/system/keymaster/include/keymaster/km_openssl/
Dsoft_keymaster_enforcement.h26 class SoftKeymasterEnforcement : public KeymasterEnforcement {
29 : KeymasterEnforcement(max_access_time_map_size, max_access_count_map_size) {} in SoftKeymasterEnforcement()
/system/keymaster/include/keymaster/
Dkeymaster_enforcement.h42 class KeymasterEnforcement {
47 KeymasterEnforcement(uint32_t max_access_time_map_size, uint32_t max_access_count_map_size);
48 virtual ~KeymasterEnforcement();
Dkeymaster_context.h135 virtual KeymasterEnforcement* enforcement_policy() = 0;
/system/keymaster/include/keymaster/contexts/
Dkeymaster2_passthrough_context.h100 KeymasterEnforcement* enforcement_policy() override;
Dkeymaster1_passthrough_context.h107 KeymasterEnforcement* enforcement_policy() override;
Dpure_soft_keymaster_context.h76 KeymasterEnforcement* enforcement_policy() override { in enforcement_policy()
Dsoft_keymaster_context.h93 KeymasterEnforcement* enforcement_policy() override { in enforcement_policy()
/system/keymaster/contexts/
Dkeymaster2_passthrough_context.cpp123 KeymasterEnforcement* Keymaster2PassthroughContext::enforcement_policy() { in enforcement_policy()
Dkeymaster1_passthrough_context.cpp209 KeymasterEnforcement* Keymaster1PassthroughContext::enforcement_policy() { in enforcement_policy()
/system/keymaster/tests/
Dkeymaster_enforcement_test.cpp38 return KeymasterEnforcement::AuthorizeOperation( in AuthorizeOperation()
41 using KeymasterEnforcement::AuthorizeOperation;
Dandroid_keymaster_test.cpp104 KeymasterEnforcement* enforcement_policy() override { return &test_policy_; } in enforcement_policy()