Lines Matching refs:N
27 static int srp_Verify_N_and_g(const BIGNUM *N, const BIGNUM *g) in srp_Verify_N_and_g() argument
33 g != NULL && N != NULL && bn_ctx != NULL && BN_is_odd(N) && in srp_Verify_N_and_g()
34 BN_check_prime(N, bn_ctx, NULL) == 1 && in srp_Verify_N_and_g()
35 p != NULL && BN_rshift1(p, N) && in srp_Verify_N_and_g()
40 BN_mod_exp(r, g, p, N, bn_ctx) && in srp_Verify_N_and_g()
41 BN_add_word(r, 1) && BN_cmp(r, N) == 0; in srp_Verify_N_and_g()
68 BIGNUM *N = NULL, *g = NULL; in ssl_srp_verify_param_cb() local
70 if (((N = SSL_get_srp_N(s)) == NULL) || ((g = SSL_get_srp_g(s)) == NULL)) in ssl_srp_verify_param_cb()
75 BN_print(bio_err, N); in ssl_srp_verify_param_cb()
81 if (SRP_check_known_gN_param(g, N)) in ssl_srp_verify_param_cb()
94 if (BN_num_bits(g) <= BN_BITS && srp_Verify_N_and_g(N, g)) in ssl_srp_verify_param_cb()
175 (s, p->user->N, p->user->g, p->user->s, p->user->v, in ssl_srp_server_param_cb()