Lines Matching refs:Bpub
40 BIGNUM *Bpub = NULL; in run_srp() local
68 Bpub = SRP_Calc_B(b, GN->N, GN->g, v); in run_srp()
69 test_output_bignum("B", Bpub); in run_srp()
71 if (!TEST_true(SRP_Verify_B_mod_N(Bpub, GN->N))) in run_srp()
89 u = SRP_Calc_u(Apub, Bpub, GN->N); in run_srp()
93 Kclient = SRP_Calc_client_key(GN->N, Bpub, GN->g, x, a, u); in run_srp()
112 BN_free(Bpub); in run_srp()
146 BIGNUM *Bpub = NULL; in run_srp_kat() local
175 Bpub = SRP_Calc_B(b, GN->N, GN->g, v); in run_srp_kat()
176 if (!TEST_true(SRP_Verify_B_mod_N(Bpub, GN->N))) in run_srp_kat()
180 if (!TEST_true(check_bn("B", Bpub, in run_srp_kat()
209 u = SRP_Calc_u(Apub, Bpub, GN->N); in run_srp_kat()
217 Kclient = SRP_Calc_client_key(GN->N, Bpub, GN->g, x, a, u); in run_srp_kat()
249 BN_free(Bpub); in run_srp_kat()