/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() 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()
|
D | android_keymaster.cpp | 175 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/ |
D | keymaster_enforcement.cpp | 65 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()
|
D | keystore_keymaster_enforcement.h | 29 class KeystoreKeymasterEnforcement : public KeymasterEnforcement { 31 KeystoreKeymasterEnforcement() : KeymasterEnforcement(64, 64) {} in KeystoreKeymasterEnforcement()
|
D | keymaster_enforcement.h | 85 class KeymasterEnforcement { 90 KeymasterEnforcement(uint32_t max_access_time_map_size, uint32_t max_access_count_map_size); 91 virtual ~KeymasterEnforcement();
|
D | keymaster_worker.cpp | 428 auto keyid = KeymasterEnforcement::CreateKeyId(blob2hidlVec(keyBlob)); in begin()
|
/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 | 135 virtual KeymasterEnforcement* enforcement_policy() = 0;
|
/system/keymaster/include/keymaster/contexts/ |
D | keymaster2_passthrough_context.h | 100 KeymasterEnforcement* enforcement_policy() override;
|
D | keymaster1_passthrough_context.h | 107 KeymasterEnforcement* enforcement_policy() override;
|
D | pure_soft_keymaster_context.h | 76 KeymasterEnforcement* enforcement_policy() override { in enforcement_policy()
|
D | soft_keymaster_context.h | 93 KeymasterEnforcement* enforcement_policy() override { in enforcement_policy()
|
/system/keymaster/contexts/ |
D | keymaster2_passthrough_context.cpp | 123 KeymasterEnforcement* Keymaster2PassthroughContext::enforcement_policy() { in enforcement_policy()
|
D | keymaster1_passthrough_context.cpp | 209 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 | 104 KeymasterEnforcement* enforcement_policy() override { return &test_policy_; } in enforcement_policy()
|