Home
last modified time | relevance | path

Searched refs:udidStr (Results 1 – 6 of 6) sorted by relevance

/base/security/device_security_level/oem_property/ohos/common/
Dexternal_interface_adapter.c46 static int32_t GenerateFuncParamJson(bool isSelfPk, const char *udidStr, char *dest, uint32_t destM…
48 int32_t GetPkInfoListStr(bool isSelf, const char *udidStr, char **pkInfoList) in GetPkInfoListStr() argument
56 …int32_t ret = GenerateFuncParamJson(isSelf, udidStr, paramJson, DEVICE_AUTH_INPUT_PARAM_STRING_LEN… in GetPkInfoListStr()
121 ….tag = HKS_TAG_ATTESTATION_ID_UDID, .blob = {strlen(info->udidStr) + 1, (uint8_t *)info->udidStr}}, in DslmCredAttestAdapter()
168 char udidStr[DSLM_INFO_MAX_LEN_UDID] = {0}; in ValidateCertChainAdapter() local
172 {.tag = HKS_TAG_ATTESTATION_ID_UDID, .blob = {DSLM_INFO_MAX_LEN_UDID, (uint8_t *)udidStr}}, in ValidateCertChainAdapter()
203 if (memcpy_s(resultInfo->udidStr, DSLM_INFO_MAX_LEN_UDID, blob->data, blob->size) != EOK) { in ValidateCertChainAdapter()
226 static int32_t GenerateFuncParamJson(bool isSelfPk, const char *udidStr, char *dest, uint32_t destM… in GenerateFuncParamJson() argument
234 DslmAddFieldStringToJson(json, "udid", udidStr); in GenerateFuncParamJson()
267 saveInfo->udidStr = (char *)MALLOC(DSLM_INFO_MAX_LEN_UDID); in InitDslmInfoInCertChain()
[all …]
Dexternal_interface_adapter.h27 char *udidStr; member
32 int32_t GetPkInfoListStr(bool isSelf, const char *udidStr, char **pkInfoList);
Ddslm_ohos_request.c69 char udidStr[UDID_STRING_LENGTH] = {0}; in GenerateDslmCertChain() local
70 if (memcpy_s(udidStr, UDID_STRING_LENGTH, device->identity, device->length) != EOK) { in GenerateDslmCertChain()
75 ret = GetPkInfoListStr(true, udidStr, &pkInfoListStr); in GenerateDslmCertChain()
86 …ruct DslmInfoInCertChain saveInfo = {.credStr = credStr, .nonceStr = nonceStr, .udidStr = udidStr}; in GenerateDslmCertChain()
Ddslm_ohos_verify.c175 char udidStr[UDID_STRING_LENGTH] = {0}; in VerifyNonceOfCertChain() local
176 if (memcpy_s(udidStr, UDID_STRING_LENGTH, device->identity, device->length) != EOK) { in VerifyNonceOfCertChain()
188 ret = GetPkInfoListStr(false, udidStr, &pkInfoListStr); in VerifyNonceOfCertChain()
/base/useriam/user_auth_framework/services/remote_connect/src/
Ddevice_manager_util.cpp64 char udidStr[MAX_UDID_STR_LEN] = { 0 }; in GetLocalDeviceUdid() local
65 if (GetDevUdid(udidStr, MAX_UDID_STR_LEN) != 0) { in GetLocalDeviceUdid()
69 udid = udidStr; in GetLocalDeviceUdid()
/base/security/device_security_level/test/dslm_unit_test/
Ddslm_test.cpp647 const char *udidStr = "device"; variable
650 int32_t result = GetPkInfoListStr(true, udidStr, &pkInfoListStr);
656 const char *udidStr = "device"; variable
664 int32_t result = GetPkInfoListStr(true, udidStr, &pkInfoListStr);
670 const char *udidStr = "device"; variable
677 int32_t result = GetPkInfoListStr(true, udidStr, &pkInfoListStr);