Lines Matching refs:N
52 &s, &v, GN->N, GN->g))) in run_srp()
55 test_output_bignum("N", GN->N); in run_srp()
68 Bpub = SRP_Calc_B(b, GN->N, GN->g, v); in run_srp()
71 if (!TEST_true(SRP_Verify_B_mod_N(Bpub, GN->N))) in run_srp()
82 Apub = SRP_Calc_A(a, GN->N, GN->g); in run_srp()
85 if (!TEST_true(SRP_Verify_A_mod_N(Apub, 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()
97 Kserver = SRP_Calc_server_key(Apub, v, u, b, GN->N); in run_srp()
156 if (!TEST_true(SRP_create_verifier_BN("alice", "password123", &s, &v, GN->N, in run_srp_kat()
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()
194 Apub = SRP_Calc_A(a, GN->N, GN->g); in run_srp_kat()
195 if (!TEST_true(SRP_Verify_A_mod_N(Apub, GN->N))) 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()
229 Kserver = SRP_Calc_server_key(Apub, v, u, b, GN->N); in run_srp_kat()