Home
last modified time | relevance | path

Searched refs:srp_ctx (Results 1 – 9 of 9) sorted by relevance

/openssl/ssl/
H A Dtls_srp.c46 memset(&ctx->srp_ctx, 0, sizeof(ctx->srp_ctx)); in ssl_ctx_srp_ctx_free_intern()
74 memset(&s->srp_ctx, 0, sizeof(s->srp_ctx)); in ssl_srp_ctx_free_intern()
98 memset(&s->srp_ctx, 0, sizeof(s->srp_ctx)); in ssl_srp_ctx_init_intern()
111 s->srp_ctx.strength = ctx->srp_ctx.strength; in ssl_srp_ctx_init_intern()
156 memset(&s->srp_ctx, 0, sizeof(s->srp_ctx)); in ssl_srp_ctx_init_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()
320 !(sc->srp_ctx.g) || !(sc->srp_ctx.s) || !(sc->srp_ctx.v)) in SSL_set_srp_server_param()
335 if ((u = SRP_Calc_u_ex(s->srp_ctx.A, s->srp_ctx.B, s->srp_ctx.N, in srp_generate_server_master_secret()
338 if ((K = SRP_Calc_server_key(s->srp_ctx.A, s->srp_ctx.v, u, s->srp_ctx.b, in srp_generate_server_master_secret()
369 || (u = SRP_Calc_u_ex(s->srp_ctx.A, s->srp_ctx.B, s->srp_ctx.N, in srp_generate_client_master_secret()
[all …]
H A Ds3_lib.c3496 return OPENSSL_strdup(sc->srp_ctx.info); in srp_password_from_info_cb()
3980 ctx->srp_ctx.srp_Mask |= SSL_kSRP; in ssl3_ctx_ctrl()
3981 OPENSSL_free(ctx->srp_ctx.login); in ssl3_ctx_ctrl()
3982 ctx->srp_ctx.login = NULL; in ssl3_ctx_ctrl()
3997 if (ctx->srp_ctx.info != NULL) in ssl3_ctx_ctrl()
4005 ctx->srp_ctx.srp_Mask |= SSL_kSRP; in ssl3_ctx_ctrl()
4006 ctx->srp_ctx.SRP_cb_arg = parg; in ssl3_ctx_ctrl()
4010 ctx->srp_ctx.strength = larg; in ssl3_ctx_ctrl()
4137 ctx->srp_ctx.srp_Mask |= SSL_kSRP; in ssl3_ctx_callback_ctrl()
4141 ctx->srp_ctx.srp_Mask |= SSL_kSRP; in ssl3_ctx_callback_ctrl()
[all …]
H A Dssl_local.h1078 SRP_CTX srp_ctx; /* ctx for SRP authentication */ member
1739 SRP_CTX srp_ctx; member
H A Dt1_lib.c2191 if (!(s->srp_ctx.srp_Mask & SSL_kSRP)) { in ssl_set_client_disabled()
/openssl/ssl/statem/
H A Dstatem_srvr.c1342 (s->srp_ctx.TLS_ext_srp_username_callback != NULL)) { in ssl_check_srp_ext_ClientHello()
1343 if (s->srp_ctx.login == NULL) { in ssl_check_srp_ext_ClientHello()
2653 if ((s->srp_ctx.N == NULL) || in tls_construct_server_key_exchange()
2654 (s->srp_ctx.g == NULL) || in tls_construct_server_key_exchange()
2655 (s->srp_ctx.s == NULL) || (s->srp_ctx.B == NULL)) { in tls_construct_server_key_exchange()
2659 r[0] = s->srp_ctx.N; in tls_construct_server_key_exchange()
2660 r[1] = s->srp_ctx.g; in tls_construct_server_key_exchange()
2661 r[2] = s->srp_ctx.s; in tls_construct_server_key_exchange()
2662 r[3] = s->srp_ctx.B; in tls_construct_server_key_exchange()
3174 if ((s->srp_ctx.A = BN_bin2bn(data, i, NULL)) == NULL) { in tls_process_cke_srp()
[all …]
H A Dstatem_clnt.c2216 if ((s->srp_ctx.N = in tls_process_ske_srp()
2219 || (s->srp_ctx.g = in tls_process_ske_srp()
2222 || (s->srp_ctx.s = in tls_process_ske_srp()
2225 || (s->srp_ctx.B = in tls_process_ske_srp()
3505 if (s->srp_ctx.A == NULL in tls_construct_cke_srp()
3506 || !WPACKET_sub_allocate_bytes_u16(pkt, BN_num_bytes(s->srp_ctx.A), in tls_construct_cke_srp()
3511 BN_bn2bin(s->srp_ctx.A, abytes); in tls_construct_cke_srp()
3514 s->session->srp_username = OPENSSL_strdup(s->srp_ctx.login); in tls_construct_cke_srp()
H A Dextensions_clnt.c118 if (s->srp_ctx.login == NULL) in tls_construct_ctos_srp()
127 || !WPACKET_memcpy(pkt, s->srp_ctx.login, in tls_construct_ctos_srp()
128 strlen(s->srp_ctx.login)) in tls_construct_ctos_srp()
H A Dextensions.c1222 OPENSSL_free(s->srp_ctx.login); in init_srp()
1223 s->srp_ctx.login = NULL; in init_srp()
H A Dextensions_srvr.c230 if (!PACKET_strndup(&srp_I, &s->srp_ctx.login)) { in tls_parse_ctos_srp()

Completed in 83 milliseconds