Searched refs:KeymasterEnforcement (Results 1 – 14 of 14) sorted by relevance
/system/keymaster/android_keymaster/ |
D | keymaster_enforcement.cpp | 106 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()
|
D | android_keymaster.cpp | 255 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/ |
D | soft_keymaster_enforcement.h | 26 class SoftKeymasterEnforcement : public KeymasterEnforcement { 29 : KeymasterEnforcement(max_access_time_map_size, max_access_count_map_size) {} in SoftKeymasterEnforcement()
|
/system/keymaster/include/keymaster/ |
D | keymaster_enforcement.h | 42 class KeymasterEnforcement { 47 KeymasterEnforcement(uint32_t max_access_time_map_size, uint32_t max_access_count_map_size); 48 virtual ~KeymasterEnforcement();
|
D | keymaster_context.h | 149 virtual KeymasterEnforcement* enforcement_policy() = 0;
|
/system/security/keystore/ |
D | keystore_keymaster_enforcement.h | 29 class KeystoreKeymasterEnforcement : public KeymasterEnforcement { 31 KeystoreKeymasterEnforcement() : KeymasterEnforcement(64, 64) {} in KeystoreKeymasterEnforcement()
|
/system/keymaster/include/keymaster/contexts/ |
D | keymaster2_passthrough_context.h | 103 KeymasterEnforcement* enforcement_policy() override;
|
D | keymaster1_passthrough_context.h | 109 KeymasterEnforcement* enforcement_policy() override;
|
D | soft_keymaster_context.h | 96 KeymasterEnforcement* enforcement_policy() override { in enforcement_policy()
|
D | pure_soft_keymaster_context.h | 82 KeymasterEnforcement* enforcement_policy() override { in enforcement_policy()
|
/system/keymaster/contexts/ |
D | keymaster2_passthrough_context.cpp | 125 KeymasterEnforcement* Keymaster2PassthroughContext::enforcement_policy() { in enforcement_policy()
|
D | keymaster1_passthrough_context.cpp | 210 KeymasterEnforcement* Keymaster1PassthroughContext::enforcement_policy() { in enforcement_policy()
|
/system/keymaster/tests/ |
D | keymaster_enforcement_test.cpp | 38 return KeymasterEnforcement::AuthorizeOperation( in AuthorizeOperation() 41 using KeymasterEnforcement::AuthorizeOperation;
|
D | android_keymaster_test.cpp | 105 KeymasterEnforcement* enforcement_policy() override { return &test_policy_; } in enforcement_policy()
|