Lines Matching refs:received
302 int JPAKE_STEP1_process(JPAKE_CTX *ctx, const JPAKE_STEP1 *received) in JPAKE_STEP1_process() argument
304 if(!is_legal(received->p1.gx, ctx)) in JPAKE_STEP1_process()
310 if(!is_legal(received->p2.gx, ctx)) in JPAKE_STEP1_process()
317 if(!verify_zkp(&received->p1, ctx->p.g, ctx)) in JPAKE_STEP1_process()
324 if(!verify_zkp(&received->p2, ctx->p.g, ctx)) in JPAKE_STEP1_process()
331 if(BN_is_one(received->p2.gx)) in JPAKE_STEP1_process()
338 BN_copy(ctx->p.gxc, received->p1.gx); in JPAKE_STEP1_process()
339 BN_copy(ctx->p.gxd, received->p2.gx); in JPAKE_STEP1_process()
414 int JPAKE_STEP2_process(JPAKE_CTX *ctx, const JPAKE_STEP2 *received) in JPAKE_STEP2_process() argument
430 if(verify_zkp(received, t1, ctx)) in JPAKE_STEP2_process()
435 compute_key(ctx, received->gx); in JPAKE_STEP2_process()
464 int JPAKE_STEP3A_process(JPAKE_CTX *ctx, const JPAKE_STEP3A *received) in JPAKE_STEP3A_process() argument
470 if(memcmp(hhk, received->hhk, sizeof hhk)) in JPAKE_STEP3A_process()
491 int JPAKE_STEP3B_process(JPAKE_CTX *ctx, const JPAKE_STEP3B *received) in JPAKE_STEP3B_process() argument
496 if(memcmp(hk, received->hk, sizeof hk)) in JPAKE_STEP3B_process()