Home
last modified time | relevance | path

Searched refs:max_early_data (Results 1 – 25 of 26) sorted by relevance

12

/third_party/openssl/ssl/
Dssl_asn1.c42 uint32_t max_early_data; member
74 ASN1_EXP_OPT_EMBED(SSL_SESSION_ASN1, max_early_data, ZUINT32, 15),
191 as.max_early_data = in->ext.max_early_data; in i2d_SSL_SESSION()
364 ret->ext.max_early_data = as->max_early_data; in d2i_SSL_SESSION()
Dtls13_enc.c496 && s->max_early_data > 0 in tls13_change_cipher_state()
497 && s->session->ext.max_early_data == 0) { in tls13_change_cipher_state()
504 && s->max_early_data == in tls13_change_cipher_state()
505 s->psksession->ext.max_early_data)) { in tls13_change_cipher_state()
882 if (!s->server && s->max_early_data > 0 in tls13_export_keying_material_early()
883 && s->session->ext.max_early_data == 0) in tls13_export_keying_material_early()
Dssl_sess.c1008 return s->ext.max_early_data; in SSL_SESSION_get_max_early_data()
1011 int SSL_SESSION_set_max_early_data(SSL_SESSION *s, uint32_t max_early_data) in SSL_SESSION_set_max_early_data() argument
1013 s->ext.max_early_data = max_early_data; in SSL_SESSION_set_max_early_data()
Dssl_txt.c154 x->ext.max_early_data) <= 0) in SSL_SESSION_print()
Dssl_lib.c705 s->max_early_data = ctx->max_early_data; in SSL_new()
2170 || ((s->session == NULL || s->session->ext.max_early_data == 0) in SSL_write_early_data()
3387 ret->max_early_data = 0; in SSL_CTX_new_ex()
3755 || (s->max_early_data > 0 in ssl_update_cache()
5743 int SSL_CTX_set_max_early_data(SSL_CTX *ctx, uint32_t max_early_data) in SSL_CTX_set_max_early_data() argument
5745 ctx->max_early_data = max_early_data; in SSL_CTX_set_max_early_data()
5752 return ctx->max_early_data; in SSL_CTX_get_max_early_data()
5755 int SSL_set_max_early_data(SSL *s, uint32_t max_early_data) in SSL_set_max_early_data() argument
5757 s->max_early_data = max_early_data; in SSL_set_max_early_data()
5764 return s->max_early_data; in SSL_get_max_early_data()
Dt1_trce.c712 uint32_t max_early_data; in ssl_print_extension() local
881 max_early_data = ((unsigned int)ext[0] << 24) in ssl_print_extension()
886 BIO_printf(bio, "max_early_data=%u\n", max_early_data); in ssl_print_extension()
Dssl_local.h621 uint32_t max_early_data; member
1157 uint32_t max_early_data; member
1760 uint32_t max_early_data; member
/third_party/openssl/ssl/record/
Dssl3_record.c107 uint32_t max_early_data; in early_data_count_ok() local
115 if (!s->server && sess->ext.max_early_data == 0) { in early_data_count_ok()
117 && s->psksession->ext.max_early_data > 0)) { in early_data_count_ok()
125 max_early_data = sess->ext.max_early_data; in early_data_count_ok()
127 max_early_data = s->recv_max_early_data; in early_data_count_ok()
129 max_early_data = s->recv_max_early_data < sess->ext.max_early_data in early_data_count_ok()
130 ? s->recv_max_early_data : sess->ext.max_early_data; in early_data_count_ok()
132 if (max_early_data == 0) { in early_data_count_ok()
139 max_early_data += overhead; in early_data_count_ok()
141 if (s->early_data_count + length > max_early_data) { in early_data_count_ok()
Dssl3_record_tls13.c73 if (s->session != NULL && s->session->ext.max_early_data > 0) { in tls13_enc()
77 && s->psksession->ext.max_early_data > 0)) { in tls13_enc()
/third_party/openssl/ssl/statem/
Dextensions_clnt.c825 || (s->session->ext.max_early_data == 0 in tls_construct_ctos_early_data()
826 && (psksess == NULL || psksess->ext.max_early_data == 0))) { in tls_construct_ctos_early_data()
827 s->max_early_data = 0; in tls_construct_ctos_early_data()
830 edsess = s->session->ext.max_early_data != 0 ? s->session : psksess; in tls_construct_ctos_early_data()
831 s->max_early_data = edsess->ext.max_early_data; in tls_construct_ctos_early_data()
1894 unsigned long max_early_data; in tls_parse_stoc_early_data() local
1896 if (!PACKET_get_net_4(pkt, &max_early_data) in tls_parse_stoc_early_data()
1902 s->session->ext.max_early_data = max_early_data; in tls_parse_stoc_early_data()
1969 || s->session->ext.max_early_data > 0 in tls_parse_stoc_psk()
1970 || s->psksession->ext.max_early_data == 0) in tls_parse_stoc_psk()
Dextensions_srvr.c1106 || (s->max_early_data > 0 in tls_parse_ctos_psk()
1128 if (s->max_early_data > 0 in tls_parse_ctos_psk()
1874 if (s->max_early_data == 0) in tls_construct_stoc_early_data()
1879 || !WPACKET_put_bytes_u32(pkt, s->max_early_data) in tls_construct_stoc_early_data()
Dextensions.c1490 && s->session->ext.max_early_data == 0 in tls_psk_do_binder()
1491 && sess->ext.max_early_data > 0) in tls_psk_do_binder()
1659 if (s->max_early_data == 0 in final_early_data()
Dstatem_srvr.c3982 s->session->ext.max_early_data = s->max_early_data; in tls_construct_new_session_ticket()
3997 || (s->max_early_data > 0 in tls_construct_new_session_ticket()
Dstatem_clnt.c741 && s->max_early_data > 0) { in ossl_statem_client_post_work()
785 && s->max_early_data > 0) { in ossl_statem_client_post_work()
/third_party/openssl/doc/man3/
DSSL_read_early_data.pod27 int SSL_CTX_set_max_early_data(SSL_CTX *ctx, uint32_t max_early_data);
29 int SSL_set_max_early_data(SSL *s, uint32_t max_early_data);
38 int SSL_SESSION_set_max_early_data(SSL_SESSION *s, uint32_t max_early_data);
198 object respectively. The B<max_early_data> parameter specifies the maximum
220 max_early_data for the session and the recv_max_early_data setting for the
223 The configured value for max_early_data on a server may change over time as
225 max_early_data value. The recv_max_early_data should always be equal to or
226 higher than any recently configured max_early_data value in order to avoid
228 the current configured max_early_data value.
DSSL_CTX_set_options.pod208 By default, when a server is configured for early data (i.e., max_early_data > 0),
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dssl.rs417 pub fn SSL_CTX_set_max_early_data(ctx: *mut SSL_CTX, max_early_data: u32) -> c_int; in SSL_CTX_set_max_early_data()
421 pub fn SSL_set_max_early_data(ctx: *mut SSL, max_early_data: u32) -> c_int; in SSL_set_max_early_data()
540 pub fn SSL_SESSION_set_max_early_data(ctx: *mut SSL_SESSION, max_early_data: u32) -> c_int; in SSL_SESSION_set_max_early_data()
/third_party/openssl/apps/
Ds_server.c1049 int max_early_data = -1, recv_max_early_data = -1; in s_server_main() local
1613 max_early_data = atoi(opt_arg()); in s_server_main()
1614 if (max_early_data < 0) { in s_server_main()
1628 if (max_early_data == -1) in s_server_main()
1629 max_early_data = SSL3_RT_MAX_PLAIN_LENGTH; in s_server_main()
2212 if (max_early_data >= 0) in s_server_main()
2213 SSL_CTX_set_max_early_data(ctx, max_early_data); in s_server_main()
/third_party/openssl/ohos_lite/include/openssl/
Dssl.h931 int SSL_CTX_set_max_early_data(SSL_CTX *ctx, uint32_t max_early_data);
933 int SSL_set_max_early_data(SSL *s, uint32_t max_early_data);
1641 uint32_t max_early_data);
/third_party/rust/crates/rust-openssl/openssl/src/ssl/
Dmod.rs1846 pub fn max_early_data(&self) -> u32 { in max_early_data() method
2120 pub fn max_early_data(&self) -> u32 { in max_early_data() method
2957 pub fn max_early_data(&self) -> u32 { in max_early_data() method
/third_party/nghttp2/src/
Dshrpx_config.h777 uint32_t max_early_data; member
Dshrpx.cc1869 tlsconf.max_early_data = 16_k; in fill_default_config()
2927 << util::utos_unit(config->tls.max_early_data) << R"( in print_help()
Dshrpx_tls.cc1211 if (SSL_CTX_set_max_early_data(ssl_ctx, tlsconf.max_early_data) != 1) { in create_ssl_context()
/third_party/openssl/doc/man1/
Dopenssl-s_server.pod.in133 [B<-max_early_data> I<int>]
775 =item B<-max_early_data> I<int>
/third_party/openssl/include/openssl/
Dssl.h.in927 int SSL_CTX_set_max_early_data(SSL_CTX *ctx, uint32_t max_early_data);
929 int SSL_set_max_early_data(SSL *s, uint32_t max_early_data);
1679 uint32_t max_early_data);

12