Lines Matching refs:g

39     BN_free(ctx->srp_ctx.g);  in ssl_ctx_srp_ctx_free_intern()
67 BN_free(s->srp_ctx.g); in ssl_srp_ctx_free_intern()
115 ((ctx->srp_ctx.g != NULL) && in ssl_srp_ctx_init_intern()
116 ((s->srp_ctx.g = BN_dup(ctx->srp_ctx.g)) == NULL)) || in ssl_srp_ctx_init_intern()
149 BN_free(s->srp_ctx.g); in ssl_srp_ctx_init_intern()
210 (s->srp_ctx.g == NULL) || in ssl_srp_server_param_with_username_intern()
223 SRP_Calc_B_ex(s->srp_ctx.b, s->srp_ctx.N, s->srp_ctx.g, in ssl_srp_server_param_with_username_intern()
255 sc->srp_ctx.g = BN_dup(GN->g); in SSL_set_srp_server_param_pw()
261 sc->srp_ctx.N, sc->srp_ctx.g, s->ctx->libctx, in SSL_set_srp_server_param_pw()
268 int SSL_set_srp_server_param(SSL *s, const BIGNUM *N, const BIGNUM *g, in SSL_set_srp_server_param() argument
285 if (g != NULL) { in SSL_set_srp_server_param()
286 if (sc->srp_ctx.g != NULL) { in SSL_set_srp_server_param()
287 if (!BN_copy(sc->srp_ctx.g, g)) { in SSL_set_srp_server_param()
288 BN_free(sc->srp_ctx.g); in SSL_set_srp_server_param()
289 sc->srp_ctx.g = NULL; in SSL_set_srp_server_param()
292 sc->srp_ctx.g = BN_dup(g); in SSL_set_srp_server_param()
320 !(sc->srp_ctx.g) || !(sc->srp_ctx.s) || !(sc->srp_ctx.v)) in SSL_set_srp_server_param()
385 s->srp_ctx.g, x, in srp_generate_client_master_secret()
417 if (BN_ucmp(srp->g, srp->N) >= 0 || BN_ucmp(srp->B, srp->N) >= 0 in srp_verify_server_param()
434 } else if (!SRP_check_known_gN_param(srp->g, srp->N)) { in srp_verify_server_param()
457 if (!(s->srp_ctx.A = SRP_Calc_A(s->srp_ctx.a, s->srp_ctx.N, s->srp_ctx.g))) in ssl_srp_calc_a_param_intern()
480 if (sc->srp_ctx.g != NULL) in SSL_get_srp_g()
481 return sc->srp_ctx.g; in SSL_get_srp_g()
482 return s->ctx->srp_ctx.g; in SSL_get_srp_g()