Home
last modified time | relevance | path

Searched refs:PK_SIZE (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/security/device_auth/services/legacy/authenticators/inc/account_related/auth/pake_v2_auth_task/
H A Dpake_v2_auth_task_common.h39 uint8_t pkSelf[PK_SIZE];
42 uint8_t pkPeer[PK_SIZE];
/ohos5.0/base/security/device_auth/services/legacy/authenticators/inc/account_related/
H A Daccount_module_defines.h20 #define PK_SIZE 128 macro
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_related/creds_manager/
H A Dasy_token_manager.c672 uint8_t *publicKeyVal = (uint8_t *)HcMalloc(PK_SIZE, 0); in DoExportPkAndCompare()
680 .length = PK_SIZE in DoExportPkAndCompare()
716 uint8_t *devicePk = (uint8_t *)HcMalloc(PK_SIZE, 0); in CheckDevicePk()
721 if (GetByteFromJson(pkInfoJson, FIELD_DEVICE_PK, devicePk, PK_SIZE) != HC_SUCCESS) { in CheckDevicePk()
850 uint8_t *publicKeyVal = (uint8_t *)HcMalloc(PK_SIZE, 0); in GetRegisterProof()
858 .length = PK_SIZE in GetRegisterProof()
1382 token->pkInfo.devicePk.val = (uint8_t *)HcMalloc(PK_SIZE, 0); in CreateAccountToken()
1384 token->pkInfo.devicePk.length = PK_SIZE; in CreateAccountToken()
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_related/auth/pake_v2_auth_task/
H A Dpake_v2_auth_task_common.c377 …if (memcpy_s(params->pkSelf, PK_SIZE, token->pkInfo.devicePk.val, token->pkInfo.devicePk.length) !… in GetAsyPubKeyInfo()