Lines Matching defs:received
285 int JPAKE_STEP1_process(JPAKE_CTX *ctx, const JPAKE_STEP1 *received)
288 if(!verify_zkp(&received->p1, ctx->p.g, ctx))
295 if(!verify_zkp(&received->p2, ctx->p.g, ctx))
302 if(BN_is_one(received->p2.gx))
309 BN_copy(ctx->p.gxc, received->p1.gx);
310 BN_copy(ctx->p.gxd, received->p2.gx);
385 int JPAKE_STEP2_process(JPAKE_CTX *ctx, const JPAKE_STEP2 *received)
401 if(verify_zkp(received, t1, ctx))
406 compute_key(ctx, received->gx);
435 int JPAKE_STEP3A_process(JPAKE_CTX *ctx, const JPAKE_STEP3A *received)
441 if(memcmp(hhk, received->hhk, sizeof hhk))
462 int JPAKE_STEP3B_process(JPAKE_CTX *ctx, const JPAKE_STEP3B *received)
467 if(memcmp(hk, received->hk, sizeof hk))