Lines Matching defs:bob
407 JPakeUser alice, bob;
411 bob.p.name = "Bob";
412 bob.p.base = 3;
419 bob.secret = alice.secret;
428 genrand(&bob, ¶ms);
431 sendstep1(&alice, &bob.p, ¶ms);
432 sendstep1(&bob, &alice.p, ¶ms);
435 if (!verifystep1(&alice, &bob.p, ¶ms))
437 if (!verifystep1(&bob, &alice.p, ¶ms))
441 sendstep2(&alice, &bob.p, ¶ms);
442 sendstep2(&bob, &alice.p, ¶ms);
445 if (!verifystep2(&alice, &bob.p, ¶ms))
447 if (!verifystep2(&bob, &alice.p, ¶ms))
452 computekey(&bob, ¶ms);
462 if (BN_cmp(alice.key, bob.key) == 0)