Home | History | Annotate | Download | only in jpake

Lines Matching refs:received

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