Home
last modified time | relevance | path

Searched refs:credLen (Results 1 – 5 of 5) sorted by relevance

/base/security/device_security_level/services/dslm/
Ddslm_msg_utils.c61 credBase64Str = Base64EncodeApp(cred->credVal, cred->credLen); in GenerateSecInfoResponseJson()
232 uint32_t credLen = (uint32_t)Base64DecodeApp((uint8_t *)credStr, &credBuf); in ParseDeviceSecInfoResponse() local
238 DslmCredBuff *out = CreateDslmCred((CredType)type, credLen, credBuf); in ParseDeviceSecInfoResponse()
Ddslm_credential.c118 outBuff->credLen = len; in CreateDslmCred()
/base/security/device_security_level/common/include/
Ddslm_cred.h65 uint32_t credLen; member
/base/security/device_security_level/oem_property/ohos/impl/
Ddslm_ohos_verify.c212 if (memcpy_s(credStr, DSLM_CRED_STR_LEN_MAX, credBuff->credVal, credBuff->credLen + 1) != EOK) { in verifySmallDslmCred()
243 ret = ValidateCertChainAdapter(credBuff->credVal, credBuff->credLen, &resultInfo); in verifyStandardDslmCred()
/base/security/device_security_level/test/dslm_unit_test/
Ddslm_test.cpp442 EXPECT_EQ(strlen(except), cred->credLen);
443 EXPECT_EQ(0, strncmp(except, (const char *)cred->credVal, cred->credLen));
1448 cred->credLen = 9;