Home
last modified time | relevance | path

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

/base/security/device_auth/services/authenticators/inc/account_related/auth/pake_v2_auth_task/
Dpake_v2_auth_task_common.h39 uint8_t pkSelf[PK_SIZE];
42 uint8_t pkPeer[PK_SIZE];
/base/security/device_auth/services/authenticators/inc/account_related/
Daccount_module_defines.h20 #define PK_SIZE 128 macro
/base/security/device_auth/services/authenticators/src/account_related/creds_manager/
Dasy_token_manager.c817 uint8_t *publicKeyVal = (uint8_t *)HcMalloc(PK_SIZE, 0); in DoExportPkAndCompare()
825 .length = PK_SIZE in DoExportPkAndCompare()
860 uint8_t *devicePk = (uint8_t *)HcMalloc(PK_SIZE, 0); in CheckDevicePk()
865 if (GetByteFromJson(pkInfoJson, FIELD_DEVICE_PK, devicePk, PK_SIZE) != HC_SUCCESS) { in CheckDevicePk()
1028 uint8_t *publicKeyVal = (uint8_t *)HcMalloc(PK_SIZE, 0); in GetRegisterProof()
1036 .length = PK_SIZE in GetRegisterProof()
1252 token->pkInfo.devicePk.val = (uint8_t *)HcMalloc(PK_SIZE, 0); in CreateAccountToken()
1254 token->pkInfo.devicePk.length = PK_SIZE; in CreateAccountToken()
/base/security/device_auth/services/authenticators/src/account_related/auth/pake_v2_auth_task/
Dpake_v2_auth_task_common.c324 if (GetByteFromJson(info, FIELD_DEVICE_PK, params->pkPeer, PK_SIZE) != HC_SUCCESS) { in GetPkInfoPeer()
362 …if (memcpy_s(params->pkSelf, PK_SIZE, token->pkInfo.devicePk.val, token->pkInfo.devicePk.length) !… in GetAsyPubKeyInfo()