H A D | key_agree_session.c | 363 static int32_t FillExtraData(SpekeSession *spekeSession, const CJson *jsonMessage) in FillExtraData() argument 378 res = InitSingleParam(&(spekeSession->baseParam.extraData), versionStrLength); in FillExtraData() 383 res = memcpy_s(spekeSession->baseParam.extraData.val, spekeSession->baseParam.extraData.length, in FillExtraData() 387 HcFree(spekeSession->baseParam.extraData.val); in FillExtraData() 388 spekeSession->baseParam.extraData.val = NULL; in FillExtraData() 396 static int32_t FillPskAndDeviceId(SpekeSession *spekeSession) in FillPskAndDeviceId() argument 398 if (spekeSession->sharedSecret.length < MIN_SHAREDSECRET_LEN || in FillPskAndDeviceId() 399 spekeSession->sharedSecret.length > MAX_SHAREDSECRET_LEN) { in FillPskAndDeviceId() 404 int32_t res = InitSingleParam(&(spekeSession in FillPskAndDeviceId() 486 PackageMsgForPakeResponse(SpekeSession *spekeSession, CJson *outJson, PackageExtraData packageExtraData) PackageMsgForPakeResponse() argument 521 BuildAndPutOutMessage(SpekeSession *spekeSession, KeyAgreeBlob *out, PackageExtraData packageExtraData) BuildAndPutOutMessage() argument 551 PakeResponse(SpekeSession *spekeSession, KeyAgreeBlob *out) PakeResponse() argument 572 CheckPeerProtocolVersion(SpekeSession *spekeSession, CJson *inParams) CheckPeerProtocolVersion() argument 588 PakeConfirm(SpekeSession *spekeSession, CJson *inParams, KeyAgreeBlob *out) PakeConfirm() argument 624 PakeServerConfirm(SpekeSession *spekeSession, CJson *inParams, KeyAgreeBlob *out) PakeServerConfirm() argument 650 PakeClientVerifyConfirm(SpekeSession *spekeSession, CJson *inParams, KeyAgreeBlob *out) PakeClientVerifyConfirm() argument 668 ProcessStep(ProtocolStep step, SpekeSession *spekeSession, CJson *inParams, KeyAgreeBlob *out) ProcessStep() argument 709 ProcessSpekeSession(SpekeSession *spekeSession, const KeyAgreeBlob *in, KeyAgreeBlob *out) ProcessSpekeSession() argument 737 InitSpekeSession(SpekeSession *spekeSession, KeyAgreeProtocol protocol) InitSpekeSession() argument 782 ProcessProtocolInitial(SpekeSession *spekeSession, KeyAgreeBlob *out) ProcessProtocolInitial() argument 826 ProcessProtocolConfirm(SpekeSession *spekeSession, const KeyAgreeBlob *in, KeyAgreeBlob *out) ProcessProtocolConfirm() argument 877 ProcessProtocolAgree(SpekeSession *spekeSession, const KeyAgreeBlob *in, KeyAgreeBlob *out) ProcessProtocolAgree() argument 894 CheckAndInitProtocol(SpekeSession *spekeSession, KeyAgreeProtocol protocol) CheckAndInitProtocol() argument 933 DestroySpekeSession(SpekeSession *spekeSession) DestroySpekeSession() argument 948 SpekeSession *spekeSession = (SpekeSession *)HcMalloc(sizeof(SpekeSession), 0); CreateSpekeSession() local [all...] |