/base/security/device_auth/services/authenticators/src/account_unrelated/ |
D | das_task_common.c | 169 …32_t CombineServiceId(const Uint8Buff *pkgName, const Uint8Buff *serviceType, Uint8Buff *serviceId) in CombineServiceId() argument 193 res = GetLoaderInstance()->sha256(&serviceIdPlain, serviceId); in CombineServiceId() 203 static int32_t CombineKeyAlias(const Uint8Buff *serviceId, const Uint8Buff *keyType, in CombineKeyAlias() argument 208 keyAliasBuff.length = serviceId->length + authId->length + keyType->length; in CombineKeyAlias() 217 if (memcpy_s(keyAliasBuff.val, totalLen, serviceId->val, serviceId->length) != EOK) { in CombineKeyAlias() 222 usedLen = usedLen + serviceId->length; in CombineKeyAlias() 247 static int32_t CombineKeyAliasForIso(const Uint8Buff *serviceId, const Uint8Buff *keyType, in CombineKeyAliasForIso() argument 253 int32_t res = CombineKeyAlias(serviceId, keyType, authId, outKeyAlias); in CombineKeyAliasForIso() 261 static int32_t CombineKeyAliasForPake(const Uint8Buff *serviceId, const Uint8Buff *keyType, in CombineKeyAliasForPake() argument 277 res = CombineKeyAlias(serviceId, keyType, authId, &keyAliasHash); in CombineKeyAliasForPake() [all …]
|
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/ |
D | auth_code_import.c | 98 static int32_t BuildKeyAliasMsg(const Uint8Buff *serviceId, const Uint8Buff *keyType, in BuildKeyAliasMsg() argument 102 if (memcpy_s(keyAliasMsg->val, keyAliasMsg->length, serviceId->val, serviceId->length) != EOK) { in BuildKeyAliasMsg() 106 usedLen = usedLen + serviceId->length; in BuildKeyAliasMsg() 119 static int32_t CalKeyAlias(const Uint8Buff *serviceId, const Uint8Buff *keyType, in CalKeyAlias() argument 123 keyAliasMsg.length = serviceId->length + authId->length + keyType->length; in CalKeyAlias() 129 int32_t res = BuildKeyAliasMsg(serviceId, keyType, authId, &keyAliasMsg); in CalKeyAlias() 143 static int32_t CalServiceId(const char *appId, const char *groupId, Uint8Buff *serviceId) in CalServiceId() argument 164 int32_t res = GetLoaderInstance()->sha256(&serviceIdPlain, serviceId); in CalServiceId() 176 Uint8Buff serviceId = { serviceIdVal, SHA256_LEN }; in GenerateKeyAlias() local 177 int32_t res = CalServiceId(params->appId, params->groupId, &serviceId); in GenerateKeyAlias() [all …]
|
D | pub_key_exchange.c | 109 static int32_t BuildKeyAliasMsg(const Uint8Buff *serviceId, const Uint8Buff *keyType, in BuildKeyAliasMsg() argument 113 if (memcpy_s(keyAliasMsg->val, keyAliasMsg->length, serviceId->val, serviceId->length) != EOK) { in BuildKeyAliasMsg() 117 usedLen = usedLen + serviceId->length; in BuildKeyAliasMsg() 130 static int32_t CalKeyAlias(const Uint8Buff *serviceId, const Uint8Buff *keyType, in CalKeyAlias() argument 134 keyAliasMsg.length = serviceId->length + authId->length + keyType->length; in CalKeyAlias() 140 int32_t res = BuildKeyAliasMsg(serviceId, keyType, authId, &keyAliasMsg); in CalKeyAlias() 154 static int32_t CalServiceId(const char *appId, const char *groupId, Uint8Buff *serviceId) in CalServiceId() argument 175 int32_t res = GetLoaderInstance()->sha256(&serviceIdPlain, serviceId); in CalServiceId() 187 Uint8Buff serviceId = { serviceIdVal, SHA256_LEN }; in GenerateKeyAlias() local 188 int32_t res = CalServiceId(params->appId, params->groupId, &serviceId); in GenerateKeyAlias() [all …]
|
/base/security/security_component_manager/services/security_component_service/sa/test/mock/include/ |
D | system_ability.h | 42 SystemAbility(const int32_t serviceId, bool runOnCreate = false) {};
|
/base/powermgr/powermgr_lite/services/src/ |
D | screen_saver_feature.c | 56 f->identity.serviceId = -1; in OnScreenSaverFeatureStop()
|
D | power_manage_feature.c | 53 f->identity.serviceId = -1; in OnPowerManageFeatureStop()
|
/base/telephony/ril_adapter/interfaces/innerkits/include/ |
D | hril_sms_parcel.h | 260 int32_t serviceId = 0; member
|
D | hril_vendor_sms_defs.h | 183 int32_t serviceId; member
|
/base/security/device_security_level/services/sa/lite/ |
D | dslm_service_feature.c | 57 g_dslmFeature.identity.serviceId = -1; in FEATURE_OnStop()
|
/base/startup/appspawn/lite/ |
D | appspawn_service.c | 62 identity.serviceId, identity.featureId, identity.queueId); in Initialize()
|
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/sa/sa_mgr/ |
D | hks_samgr_service_feature.c | 63 g_hksMgrFeature.identity.serviceId = -1; in FEATURE_OnStop()
|
/base/telephony/core_service/services/tel_ril/test/ |
D | tel_ril_test.cpp | 844 msg.serviceId = 1; in OnRequestSendRilCmCdmaSmsTest()
|