Home
last modified time | relevance | path

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

/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/standard_exchange_task/
H A Dcommon_standard_bind_exchange.c39 params->pubKeySelf.length = PAKE_ED25519_KEY_PAIR_LEN; in InitStandardBindExchangeParams()
40 params->pubKeySelf.val = (uint8_t *)HcMalloc(params->pubKeySelf.length, 0); in InitStandardBindExchangeParams()
41 if (params->pubKeySelf.val == NULL) { in InitStandardBindExchangeParams()
69 if (params->pubKeySelf.val != NULL) { in DestroyStandardBindExchangeParams()
70 HcFree(params->pubKeySelf.val); in DestroyStandardBindExchangeParams()
71 params->pubKeySelf.val = NULL; in DestroyStandardBindExchangeParams()
129 res = pakeParams->baseParams.loader->exportPublicKey(&keyParams, &(exchangeParams->pubKeySelf)); in PackageAuthInfo()
139 GOTO_ERR_AND_SET_RET(AddByteToJson(authInfoJson, FIELD_AUTH_PK, exchangeParams->pubKeySelf.val, in PackageAuthInfo()
140 exchangeParams->pubKeySelf.length), res); in PackageAuthInfo()
/ohos5.0/base/security/device_auth/test/fuzztest/authenticators/account_unrelated/pake/standardexchangetask_fuzzer/
H A Dstandardexchangetask_fuzzer.cpp81 exchangeParams.pubKeySelf.val = publicKey; in StandardExchangeTaskTest003()
82 exchangeParams.pubKeySelf.length = PUB_KEY_LENGTH; in StandardExchangeTaskTest003()
/ohos5.0/base/security/device_auth/test/unittest/deviceauth/source/
H A Dstandard_exchange_task_test.cpp87 exchangeParams.pubKeySelf.val = publicKey;
88 exchangeParams.pubKeySelf.length = PUB_KEY_LENGTH;
/ohos5.0/base/security/device_auth/services/legacy/authenticators/inc/account_unrelated/pake_task/
H A Dcommon_standard_bind_exchange.h28 Uint8Buff pubKeySelf; member