Home
last modified time | relevance | path

Searched refs:pkInfoLen (Results 1 - 2 of 2) sorted by relevance

/base/security/device_auth/services/legacy/authenticators/src/account_related/auth/pake_v2_auth_task/
H A Dpake_v2_auth_task_common.c364 uint32_t pkInfoLen = token->pkInfoStr.length; in GetAsyPubKeyInfo() local
365 if (pkInfoLen >= PUBLIC_KEY_INFO_SIZE) { in GetAsyPubKeyInfo()
369 if (InitSingleParam(&params->pkInfoSelf, pkInfoLen) != HC_SUCCESS) { in GetAsyPubKeyInfo()
373 if (memcpy_s(params->pkInfoSelf.val, params->pkInfoSelf.length, token->pkInfoStr.val, pkInfoLen) != EOK) { in GetAsyPubKeyInfo()
/base/security/device_auth/services/identity_manager/src/
H A Dcert_operation.c356 uint32_t pkInfoLen = pkInfoStr->length; in GenerateCertInfo() local
357 certInfo->pkInfoStr.val = (uint8_t *)HcMalloc(pkInfoLen, 0); in GenerateCertInfo()
362 if (memcpy_s(certInfo->pkInfoStr.val, pkInfoLen, pkInfoStr->val, pkInfoLen) != EOK) { in GenerateCertInfo()
367 certInfo->pkInfoStr.length = pkInfoLen; in GenerateCertInfo()

Completed in 3 milliseconds