Searched refs:kcfData (Results 1 – 8 of 8) sorted by relevance
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/ |
D | pake_message_util.c | 160 …ddByteToJson(payload, FIELD_KCF_DATA, params->baseParams.kcfData.val, params->baseParams.kcfData.l… in PackagePakeClientConfirmData() 188 params->baseParams.kcfData.val, params->baseParams.kcfData.length); in PackagePakeServerConfirmData()
|
/base/security/device_auth/services/mk_agree/src/ |
D | mk_agree_task.c | 97 static int32_t GeneratePakeResponsePayload(PakeMkAgreeTask *pakeTask, const Uint8Buff *kcfData, CJs… in GeneratePakeResponsePayload() argument 121 if (AddByteToJson(payload, FIELD_KCF_DATA, kcfData->val, kcfData->length) != HC_SUCCESS) { in GeneratePakeResponsePayload() 174 Uint8Buff kcfData = { NULL, 0 }; in GeneratePakeResponsePayloadData() local 175 if (InitUint8Buff(&kcfData, HMAC_LEN) != HC_SUCCESS) { in GeneratePakeResponsePayloadData() 181 int32_t res = ComputeKcfData(pakeTask, &serverSaltBuff, &clientSaltBuff, &kcfData); in GeneratePakeResponsePayloadData() 184 FreeUint8Buff(&kcfData); in GeneratePakeResponsePayloadData() 190 ClearFreeUint8Buff(&kcfData); in GeneratePakeResponsePayloadData() 193 res = GeneratePakeResponsePayload(pakeTask, &kcfData, payload); in GeneratePakeResponsePayloadData() 194 ClearFreeUint8Buff(&kcfData); in GeneratePakeResponsePayloadData()
|
/base/security/device_auth/services/protocol/src/pake_protocol/pake_v1_protocol/ |
D | pake_v1_protocol_common.c | 52 HcFree(params->kcfData.val); in DestroyPakeV1BaseParams() 53 params->kcfData.val = NULL; in DestroyPakeV1BaseParams() 105 params->kcfData.length = HMAC_LEN; in AllocDefaultParams() 106 params->kcfData.val = (uint8_t *)HcMalloc(params->kcfData.length, 0); in AllocDefaultParams() 107 if (params->kcfData.val == NULL) { in AllocDefaultParams() 306 res = params->loader->computeHmac(&(params->hmacKey), &challenge, &(params->kcfData), false); in GenerateProof()
|
/base/security/device_auth/services/protocol/inc/pake_protocol/ |
D | pake_defs.h | 63 Uint8Buff kcfData; member
|
/base/security/device_auth/services/protocol/src/pake_protocol/pake_v2_protocol/ |
D | pake_v2_protocol_common.c | 62 HcFree(params->kcfData.val); in DestroyPakeV2BaseParams() 63 params->kcfData.val = NULL; in DestroyPakeV2BaseParams() 95 params->kcfData.length = HMAC_LEN; in AllocDefaultParams() 96 params->kcfData.val = (uint8_t *)HcMalloc(params->kcfData.length, 0); in AllocDefaultParams() 97 if (params->kcfData.val == NULL) { in AllocDefaultParams() 515 res = params->loader->sha256(&proofMsg, ¶ms->kcfData); in GenerateProof()
|
/base/security/device_auth/services/authenticators/src/account_related/auth/pake_v2_auth_task/ |
D | pake_v2_auth_server_task.c | 195 … FIELD_KCF_DATA, task->params.pakeParams.kcfData.val, task->params.pakeParams.kcfData.length)); in SendFinalToOut()
|
D | pake_v2_auth_client_task.c | 120 … GOTO_ERR_AND_SET_RET(AddByteToJson(data, FIELD_KCF_DATA, innerTask->params.pakeParams.kcfData.val, in PrepareAsyClientStepTwoData() 121 innerTask->params.pakeParams.kcfData.length), ret); in PrepareAsyClientStepTwoData()
|
/base/security/device_auth/services/key_agree_sdk/src/ |
D | key_agree_session.c | 287 …_t res = AddByteToJson(payload, FIELD_KCF_DATA, baseParams->kcfData.val, baseParams->kcfData.lengt… in PackagePakeServerConfirmData() 336 … res = AddByteToJson(payload, FIELD_KCF_DATA, baseParams->kcfData.val, baseParams->kcfData.length); in PackagePakeClientConfirmData()
|