Home
last modified time | relevance | path

Searched refs:KeymasterEnforcement (Results 1 – 14 of 14) 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()
148 KeymasterEnforcement::AuthorizeUpdateOrFinish(const AuthProxy& auth_set, in AuthorizeUpdateOrFinish()
200 keymaster_error_t KeymasterEnforcement::AuthorizeBegin(const keymaster_purpose_t purpose, in AuthorizeBegin()
433 bool KeymasterEnforcement::MinTimeBetweenOpsPassed(uint32_t min_time_between, const km_id_t keyid) { in MinTimeBetweenOpsPassed()
441 bool KeymasterEnforcement::MaxUsesPerBootNotExceeded(const km_id_t keyid, uint32_t max_uses) { in MaxUsesPerBootNotExceeded()
449 bool KeymasterEnforcement::GetAndValidateAuthToken(const AuthorizationSet& operation_params, in GetAndValidateAuthToken()
481 bool KeymasterEnforcement::AuthTokenMatches(const AuthProxy& auth_set, in AuthTokenMatches()
534 keymaster_error_t KeymasterEnforcement::GenerateTimestampToken(TimestampToken* /*token*/) { in GenerateTimestampToken()
Dandroid_keymaster.cpp255 KeymasterEnforcement* policy = context_->enforcement_policy(); in GetHmacSharingParameters()
268 KeymasterEnforcement* policy = context_->enforcement_policy(); in ComputeSharedHmac()
280 KeymasterEnforcement* policy = context_->enforcement_policy(); in VerifyAuthorization()
292 KeymasterEnforcement* policy = context_->enforcement_policy(); in GenerateTimestampToken()
/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.h149 virtual KeymasterEnforcement* enforcement_policy() = 0;
/system/security/keystore/
Dkeystore_keymaster_enforcement.h29 class KeystoreKeymasterEnforcement : public KeymasterEnforcement {
31 KeystoreKeymasterEnforcement() : KeymasterEnforcement(64, 64) {} in KeystoreKeymasterEnforcement()
/system/keymaster/include/keymaster/contexts/
Dkeymaster2_passthrough_context.h103 KeymasterEnforcement* enforcement_policy() override;
Dkeymaster1_passthrough_context.h109 KeymasterEnforcement* enforcement_policy() override;
Dsoft_keymaster_context.h96 KeymasterEnforcement* enforcement_policy() override { in enforcement_policy()
Dpure_soft_keymaster_context.h82 KeymasterEnforcement* enforcement_policy() override { in enforcement_policy()
/system/keymaster/contexts/
Dkeymaster2_passthrough_context.cpp125 KeymasterEnforcement* Keymaster2PassthroughContext::enforcement_policy() { in enforcement_policy()
Dkeymaster1_passthrough_context.cpp210 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.cpp105 KeymasterEnforcement* enforcement_policy() override { return &test_policy_; } in enforcement_policy()