| /base/theme/wallpaper_mgr/utils/include/ |
| D | concurrent_map.h | 24 using key_type = typename std::map<_Key, _Tp>::key_type; 76 std::pair<bool, mapped_type> Find(const key_type &key) const noexcept in Find() 87 bool Contains(const key_type &key) const noexcept in Contains() 93 template<typename _Obj> bool InsertOrAssign(const key_type &key, _Obj &&obj) noexcept in InsertOrAssign() 100 bool Insert(const key_type &key, const mapped_type &value) noexcept in Insert() 107 size_type Erase(const key_type &key) noexcept in Erase() 133 …size_type EraseIf(const std::function<bool(const key_type &key, mapped_type &value)> &action) noex… in EraseIf() 156 void ForEach(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEach() argument 169 void ForEachCopies(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEachCopies() argument 183 …bool Compute(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &acti… in Compute() argument [all …]
|
| /base/inputmethod/imf/frameworks/common/ |
| D | concurrent_map.h | 30 using key_type = typename std::map<_Key, _Tp>::key_type; variable 103 std::pair<bool, mapped_type> Find(const key_type &key) const noexcept in Find() 114 bool Contains(const key_type &key) const noexcept in Contains() 121 bool InsertOrAssign(const key_type &key, _Obj &&obj) noexcept in InsertOrAssign() 128 bool Insert(const key_type &key, const mapped_type &value) noexcept in Insert() 135 size_type Erase(const key_type &key) noexcept in Erase() 161 …size_type EraseIf(const std::function<bool(const key_type &key, mapped_type &value)> &action) noex… in EraseIf() 184 void ForEach(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEach() argument 197 void ForEachCopies(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEachCopies() argument 211 …bool Compute(const key_type &key, const std::function<bool(const key_type &, mapped_type &)> &acti… in Compute() argument [all …]
|
| /base/security/huks/interfaces/inner_api/huks_lite/ |
| D | hks_client.h | 67 * key_param->key_type must be HKS_KEY_TYPE_EDDSA_KEYPAIR_ED25519 78 * key_param.key_type must be 96 * key_param.key_type must be 149 * key_param.key_type must be 180 * key_param.key_type is HKS_KEY_TYPE_AES; 201 * key_param.key_type is HKS_KEY_TYPE_AES; 220 * private_key_param.key_type is HKS_KEY_TYPE_ECC_KEYPAIR_CURVE25519 241 * key_param.key_type is HKS_KEY_TYPE_DERIVE
|
| D | hks_types.h | 216 uint32_t key_type; /* algorithm */ member
|
| /base/security/huks/ |
| D | hisysevent.yaml | 22 KEY_TYPE: {type: INT32, desc: algorithm of the key}
|
| /base/security/device_auth/frameworks/deviceauth_lite/test/unittest/unittest_mock/ |
| D | huks_adapter_mock.c | 42 uint32_t key_type; member 648 const struct hc_auth_id *auth_id, enum huks_key_alias_type key_type) in generate_key_alias() argument 654 if (key_type >= HC_MAX_KEY_TYPE_NUM) { in generate_key_alias() 668 const uint8_t *key_type_pair = g_key_type_pairs[key_type]; in generate_key_alias() 967 .uint32Param = (uint32_t)huks_key_type.key_type in init_import_lt_public_key_param_set() 1081 key_type_union.key_type = key_role->uint32Param; in inner_get_lt_info_by_key_info() 1135 key_type_union.key_type = key_role->uint32Param; in inner_get_lt_info_by_key_alias() 1180 struct huks_key_type key_type; in check_key_alias_is_owner() local 1184 error_code = inner_get_lt_info_by_key_alias(&key_alias_blob, &key_type, &auth_id); in check_key_alias_is_owner() 1190 if (key_type.user_type != (uint8_t)HC_USER_TYPE_CONTROLLER) { in check_key_alias_is_owner() [all …]
|
| D | huks_adapter_mock_for_pake.c | 42 uint32_t key_type; member 719 const struct hc_auth_id *auth_id, enum huks_key_alias_type key_type) in generate_key_alias() argument 725 if (key_type >= HC_MAX_KEY_TYPE_NUM) { in generate_key_alias() 739 const uint8_t *key_type_pair = g_key_type_pairs[key_type]; in generate_key_alias() 1038 .uint32Param = (uint32_t)huks_key_type.key_type in init_import_lt_public_key_param_set() 1152 key_type_union.key_type = key_role->uint32Param; in inner_get_lt_info_by_key_info() 1206 key_type_union.key_type = key_role->uint32Param; in inner_get_lt_info_by_key_alias() 1251 struct huks_key_type key_type; in check_key_alias_is_owner() local 1255 error_code = inner_get_lt_info_by_key_alias(&key_alias_blob, &key_type, &auth_id); in check_key_alias_is_owner() 1261 if (key_type.user_type != (uint8_t)HC_USER_TYPE_CONTROLLER) { in check_key_alias_is_owner() [all …]
|
| /base/security/device_auth/frameworks/deviceauth_lite/source/huks_adapter/ |
| D | huks_adapter.c | 42 uint32_t key_type; member 775 const struct hc_auth_id *auth_id, enum huks_key_alias_type key_type) in generate_key_alias() argument 781 if (key_type >= HC_MAX_KEY_TYPE_NUM) { in generate_key_alias() 795 const uint8_t *key_type_pair = g_key_type_pairs[key_type]; in generate_key_alias() 1102 { .tag = HKS_TAG_KEY_ROLE, .uint32Param = (uint32_t)huks_key_type.key_type } in init_import_lt_public_key_param_set() 1234 key_type_union.key_type = key_role->uint32Param; in inner_get_lt_info_by_key_info() 1300 key_type_union.key_type = key_role->uint32Param; in inner_get_lt_info_by_key_alias() 1342 struct huks_key_type key_type; in check_key_alias_is_owner() local 1346 error_code = inner_get_lt_info_by_key_alias(&key_alias_blob, &key_type, &auth_id); in check_key_alias_is_owner() 1352 if (key_type.user_type != (uint8_t)HC_USER_TYPE_CONTROLLER) { in check_key_alias_is_owner() [all …]
|
| /base/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/hisysevent_wrapper/src/ |
| D | hisysevent_wrapper.cpp | 30 static constexpr const char g_tagKeyType[] = "KEY_TYPE";
|
| /base/security/device_auth/frameworks/deviceauth_lite/source/ |
| D | hichain.c | 367 struct huks_key_type key_type; in is_trust_peer() local 370 (void)memset_s(&key_type, sizeof(key_type), 0, sizeof(key_type)); in is_trust_peer() 371 ret = get_lt_key_info(&alias, &key_type, &auth_id); in is_trust_peer() 377 if (key_type.user_type == (uint8_t)HC_USER_TYPE_ACCESSORY) { in is_trust_peer() 380 if (key_type.pair_type == (uint8_t)HC_PAIR_TYPE_BIND) { in is_trust_peer()
|
| /base/security/device_auth/frameworks/deviceauth_lite/inc/huks_adapter/ |
| D | huks_adapter.h | 78 * @param key_type: ACCESSOR_PK:0 CONTROLLER_PK:1 LT_KEY_PAIR:2 KEK:3 DEK:4 82 const struct hc_auth_id *auth_id, enum huks_key_alias_type key_type);
|
| /base/security/device_auth/frameworks/deviceauth_lite/test/unittest/ |
| D | huks_adapter_test.h | 82 * @param key_type: ACCESSOR_PK:0 CONTROLLER_PK:1 LT_KEY_PAIR:2 KEK:3 DEK:4 86 const struct hc_auth_id *auth_id, enum huks_key_alias_type key_type);
|
| D | huks_adapter_test.cpp | 492 struct huks_key_type key_type; variable 497 int32_t ret = get_lt_key_info(&alias, &key_type, &auth_id);
|
| /base/security/appverify/interfaces/innerkits/appverify/src/provision/ |
| D | provision_verify.cpp | 38 const std::string KEY_TYPE = "type"; variable 159 GetStringIfExist(obj, KEY_TYPE, type); in ParseType()
|