Home
last modified time | relevance | path

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

/third_party/openssl/ssl/
Dtls_srp.c36 OPENSSL_free(ctx->srp_ctx.login); in ssl_ctx_srp_ctx_free_intern()
37 OPENSSL_free(ctx->srp_ctx.info); in ssl_ctx_srp_ctx_free_intern()
38 BN_free(ctx->srp_ctx.N); in ssl_ctx_srp_ctx_free_intern()
39 BN_free(ctx->srp_ctx.g); in ssl_ctx_srp_ctx_free_intern()
40 BN_free(ctx->srp_ctx.s); in ssl_ctx_srp_ctx_free_intern()
41 BN_free(ctx->srp_ctx.B); in ssl_ctx_srp_ctx_free_intern()
42 BN_free(ctx->srp_ctx.A); in ssl_ctx_srp_ctx_free_intern()
43 BN_free(ctx->srp_ctx.a); in ssl_ctx_srp_ctx_free_intern()
44 BN_free(ctx->srp_ctx.b); in ssl_ctx_srp_ctx_free_intern()
45 BN_free(ctx->srp_ctx.v); in ssl_ctx_srp_ctx_free_intern()
[all …]
Ds3_lib.c3412 return OPENSSL_strdup(s->srp_ctx.info); in srp_password_from_info_cb()
3872 ctx->srp_ctx.srp_Mask |= SSL_kSRP; in ssl3_ctx_ctrl()
3873 OPENSSL_free(ctx->srp_ctx.login); in ssl3_ctx_ctrl()
3874 ctx->srp_ctx.login = NULL; in ssl3_ctx_ctrl()
3881 if ((ctx->srp_ctx.login = OPENSSL_strdup((char *)parg)) == NULL) { in ssl3_ctx_ctrl()
3887 ctx->srp_ctx.SRP_give_srp_client_pwd_callback = in ssl3_ctx_ctrl()
3889 if (ctx->srp_ctx.info != NULL) in ssl3_ctx_ctrl()
3890 OPENSSL_free(ctx->srp_ctx.info); in ssl3_ctx_ctrl()
3891 if ((ctx->srp_ctx.info = OPENSSL_strdup((char *)parg)) == NULL) { in ssl3_ctx_ctrl()
3897 ctx->srp_ctx.srp_Mask |= SSL_kSRP; in ssl3_ctx_ctrl()
[all …]
Dssl_local.h1129 SRP_CTX srp_ctx; /* ctx for SRP authentication */ member
1739 SRP_CTX srp_ctx; member
Dt1_lib.c1622 if (!(s->srp_ctx.srp_Mask & SSL_kSRP)) { in ssl_set_client_disabled()
/third_party/openssl/ssl/statem/
Dstatem_srvr.c1251 (s->srp_ctx.TLS_ext_srp_username_callback != NULL)) { in ssl_check_srp_ext_ClientHello()
1252 if (s->srp_ctx.login == NULL) { in ssl_check_srp_ext_ClientHello()
2554 if ((s->srp_ctx.N == NULL) || in tls_construct_server_key_exchange()
2555 (s->srp_ctx.g == NULL) || in tls_construct_server_key_exchange()
2556 (s->srp_ctx.s == NULL) || (s->srp_ctx.B == NULL)) { in tls_construct_server_key_exchange()
2560 r[0] = s->srp_ctx.N; in tls_construct_server_key_exchange()
2561 r[1] = s->srp_ctx.g; in tls_construct_server_key_exchange()
2562 r[2] = s->srp_ctx.s; in tls_construct_server_key_exchange()
2563 r[3] = s->srp_ctx.B; in tls_construct_server_key_exchange()
3073 if ((s->srp_ctx.A = BN_bin2bn(data, i, NULL)) == NULL) { in tls_process_cke_srp()
[all …]
Dstatem_clnt.c1993 if ((s->srp_ctx.N = in tls_process_ske_srp()
1996 || (s->srp_ctx.g = in tls_process_ske_srp()
1999 || (s->srp_ctx.s = in tls_process_ske_srp()
2002 || (s->srp_ctx.B = in tls_process_ske_srp()
3259 if (s->srp_ctx.A == NULL in tls_construct_cke_srp()
3260 || !WPACKET_sub_allocate_bytes_u16(pkt, BN_num_bytes(s->srp_ctx.A), in tls_construct_cke_srp()
3265 BN_bn2bin(s->srp_ctx.A, abytes); in tls_construct_cke_srp()
3268 s->session->srp_username = OPENSSL_strdup(s->srp_ctx.login); in tls_construct_cke_srp()
Dextensions_clnt.c90 if (s->srp_ctx.login == NULL) in tls_construct_ctos_srp()
99 || !WPACKET_memcpy(pkt, s->srp_ctx.login, in tls_construct_ctos_srp()
100 strlen(s->srp_ctx.login)) in tls_construct_ctos_srp()
Dextensions.c1163 OPENSSL_free(s->srp_ctx.login); in init_srp()
1164 s->srp_ctx.login = NULL; in init_srp()
Dextensions_srvr.c214 if (!PACKET_strndup(&srp_I, &s->srp_ctx.login)) { in tls_parse_ctos_srp()
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dtypes.rs750 srp_ctx: SRP_CTX,
936 srp_ctx: SRP_CTX,