Home
last modified time | relevance | path

Searched refs:serviceId (Results 1 – 12 of 12) sorted by relevance

/base/security/device_auth/services/authenticators/src/account_unrelated/
Ddas_task_common.c169 …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/
Dauth_code_import.c98 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 …]
Dpub_key_exchange.c109 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/
Dsystem_ability.h42 SystemAbility(const int32_t serviceId, bool runOnCreate = false) {};
/base/powermgr/powermgr_lite/services/src/
Dscreen_saver_feature.c56 f->identity.serviceId = -1; in OnScreenSaverFeatureStop()
Dpower_manage_feature.c53 f->identity.serviceId = -1; in OnPowerManageFeatureStop()
/base/telephony/ril_adapter/interfaces/innerkits/include/
Dhril_sms_parcel.h260 int32_t serviceId = 0; member
Dhril_vendor_sms_defs.h183 int32_t serviceId; member
/base/security/device_security_level/services/sa/lite/
Ddslm_service_feature.c57 g_dslmFeature.identity.serviceId = -1; in FEATURE_OnStop()
/base/startup/appspawn/lite/
Dappspawn_service.c62 identity.serviceId, identity.featureId, identity.queueId); in Initialize()
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/sa/sa_mgr/
Dhks_samgr_service_feature.c63 g_hksMgrFeature.identity.serviceId = -1; in FEATURE_OnStop()
/base/telephony/core_service/services/tel_ril/test/
Dtel_ril_test.cpp844 msg.serviceId = 1; in OnRequestSendRilCmCdmaSmsTest()