25#include "hitls_build.h"
CRYPT_PKEY_ParaId
定义 crypt_algid.h:208
void Spake2PlusFreeCtx(Spake2plusCtx *ctx)
Free SPAKE2+ context and associated resources
定义 spake2plus.c:83
BSL_Buffer HITLS_AUTH_PakeGetVerifier(HITLS_AUTH_PakeCtx *ctx)
Get verifier identity from PAKE context
定义 pake.c:397
BSL_Buffer HITLS_AUTH_PakeGetProver(HITLS_AUTH_PakeCtx *ctx)
Get prover from PAKE context
定义 pake.c:390
Spake2plusCtx * Spake2PlusNewCtx(CRYPT_PKEY_ParaId curve)
Create a new SPAKE2+ context
定义 spake2plus.c:128
int32_t HITLS_AUTH_Spake2plusReqSetup(HITLS_AUTH_PakeCtx *ctx, BSL_Buffer x, BSL_Buffer *shareP)
Perform SPAKE2+ requester setup phase
定义 spake2plus.c:1166
void * HITLS_AUTH_PakeGetInternalCtx(HITLS_AUTH_PakeCtx *ctx)
Get internal context from PAKE context
定义 pake.c:376
int32_t HITLS_AUTH_Spake2plusRespRegister(HITLS_AUTH_PakeCtx *ctx, BSL_Buffer exist_w0, BSL_Buffer exist_w1, BSL_Buffer exist_l)
Register pre-computed parameters for SPAKE2+ responder
定义 spake2plus.c:378
BSL_Buffer HITLS_AUTH_PakeGetContext(HITLS_AUTH_PakeCtx *ctx)
Get context data from PAKE context
定义 pake.c:411
int32_t HITLS_AUTH_Spake2plusReqDerive(HITLS_AUTH_PakeCtx *ctx, BSL_Buffer shareV, BSL_Buffer confirmV, BSL_Buffer *confirmP, BSL_Buffer *out)
Derive session keys for SPAKE2+ requester
定义 spake2plus.c:1331
int32_t Spake2PlusInitCipherSuite(Spake2plusCtx *ctx, HITLS_AUTH_PAKE_CipherSuite *ciphersuite)
Initialize the cipher suite for SPAKE2+ context
定义 spake2plus.c:100
int32_t HITLS_AUTH_Spake2plusReqRegister(HITLS_AUTH_PakeCtx *ctx, CRYPT_EAL_KdfCtx *kdfCtx, BSL_Buffer exist_w0, BSL_Buffer exist_w1, BSL_Buffer exist_l)
Register pre-computed parameters for SPAKE2+ requester
定义 spake2plus.c:231
int32_t HITLS_AUTH_Spake2plusRespDerive(HITLS_AUTH_PakeCtx *ctx, BSL_Buffer confirmP, BSL_Buffer *out)
Derive session keys for SPAKE2+ responder
定义 spake2plus.c:1427
BSL_Buffer HITLS_AUTH_PakeGetPassword(HITLS_AUTH_PakeCtx *ctx)
Get password from PAKE context
定义 pake.c:383
int32_t HITLS_AUTH_Spake2plusRespSetup(HITLS_AUTH_PakeCtx *ctx, BSL_Buffer y, BSL_Buffer shareP, BSL_Buffer *shareV, BSL_Buffer *confirmV)
Perform SPAKE2+ responder setup phase
定义 spake2plus.c:1215