Home
last modified time | relevance | path

Searched refs:zkpx (Results 1 – 3 of 3) sorted by relevance

/external/openssl/crypto/jpake/
Djpake.c53 JPAKE_ZKP_init(&p->zkpx); in JPAKE_STEP_PART_init()
58 JPAKE_ZKP_release(&p->zkpx); in JPAKE_STEP_PART_release()
174 OPENSSL_assert(!BN_is_zero(p->zkpx.gr)); in zkp_hash()
175 hashbn(&sha, p->zkpx.gr); in zkp_hash()
199 BN_mod_exp(p->zkpx.gr, zkpg, r, ctx->p.p, ctx->ctx); in generate_zkp()
206 BN_mod_sub(p->zkpx.b, r, t, ctx->p.q, ctx->ctx); in generate_zkp()
226 BN_mod_exp(t1, zkpg, p->zkpx.b, ctx->p.p, ctx->ctx); in verify_zkp()
233 if(BN_cmp(t3, p->zkpx.gr) == 0) in verify_zkp()
Djpake.h36 JPAKE_ZKP zkpx; /* ZKP(x) or ZKP(xb * s) */ member
/external/openssl/apps/
Dapps.c2535 BN_print(conn, p->zkpx.gr); in jpake_send_part()
2537 BN_print(conn, p->zkpx.b); in jpake_send_part()
2601 readbn(&p->zkpx.gr, bconn); in jpake_receive_part()
2602 readbn(&p->zkpx.b, bconn); in jpake_receive_part()