Searched refs:credLen (Results 1 – 5 of 5) sorted by relevance
/base/security/device_security_level/services/dslm/ |
D | dslm_msg_utils.c | 61 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()
|
D | dslm_credential.c | 118 outBuff->credLen = len; in CreateDslmCred()
|
/base/security/device_security_level/common/include/ |
D | dslm_cred.h | 65 uint32_t credLen; member
|
/base/security/device_security_level/oem_property/ohos/impl/ |
D | dslm_ohos_verify.c | 212 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/ |
D | dslm_test.cpp | 442 EXPECT_EQ(strlen(except), cred->credLen); 443 EXPECT_EQ(0, strncmp(except, (const char *)cred->credVal, cred->credLen)); 1448 cred->credLen = 9;
|