Home | History | Annotate | Download | only in jpake

Lines Matching full:bignum

17     BIGNUM *p;
18 BIGNUM *g;
19 BIGNUM *q;
20 BIGNUM *gxc; /* Alice's g^{x3} or Bob's g^{x1} */
21 BIGNUM *gxd; /* Alice's g^{x4} or Bob's g^{x2} */
27 BIGNUM *secret; /* The shared secret */
29 BIGNUM *xa; /* Alice's x1 or Bob's x3 */
30 BIGNUM *xb; /* Alice's x2 or Bob's x4 */
31 BIGNUM *key; /* The calculated (shared) key */
75 const char *peer_name, const BIGNUM *p,
76 const BIGNUM *g, const BIGNUM *q,
77 const BIGNUM *secret)
116 const BIGNUM *p, const BIGNUM *g, const BIGNUM *q,
117 const BIGNUM *secret)
150 static void hashbn(SHA_CTX *sha, const BIGNUM *bn)
162 static void zkp_hash(BIGNUM *h, const BIGNUM *zkpg, const JPAKE_STEP_PART *p,
186 static void generate_zkp(JPAKE_STEP_PART *p, const BIGNUM *x,
187 const BIGNUM *zkpg, JPAKE_CTX *ctx)
189 BIGNUM *r = BN_new();
190 BIGNUM *h = BN_new();
191 BIGNUM *t = BN_new();
214 static int verify_zkp(const JPAKE_STEP_PART *p, const BIGNUM *zkpg,
217 BIGNUM *h = BN_new();
218 BIGNUM *t1 = BN_new();
219 BIGNUM *t2 = BN_new();
220 BIGNUM *t3 = BN_new();
247 static void generate_step_part(JPAKE_STEP_PART *p, const BIGNUM *x,
248 const BIGNUM *g, JPAKE_CTX *ctx)
257 BIGNUM *qm1;
286 static int is_legal(const BIGNUM *gx, const JPAKE_CTX *ctx)
288 BIGNUM *t;
347 BIGNUM *t1 = BN_new();
348 BIGNUM *t2 = BN_new();
381 static int compute_key(JPAKE_CTX *ctx, const BIGNUM *gx)
383 BIGNUM *t1 = BN_new();
384 BIGNUM *t2 = BN_new();
385 BIGNUM *t3 = BN_new();
416 BIGNUM *t1 = BN_new();
417 BIGNUM *t2 = BN_new();
444 static void quickhashbn(unsigned char *md, const BIGNUM *bn)
507 const BIGNUM *JPAKE_get_shared_key(JPAKE_CTX *ctx)