/third_party/openssl/ssl/ |
D | ssl_asn1.c | 42 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()
|
D | tls13_enc.c | 496 && 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()
|
D | ssl_sess.c | 1008 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()
|
D | ssl_txt.c | 154 x->ext.max_early_data) <= 0) in SSL_SESSION_print()
|
D | ssl_lib.c | 705 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()
|
D | t1_trce.c | 712 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()
|
D | ssl_local.h | 621 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/ |
D | ssl3_record.c | 107 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()
|
D | ssl3_record_tls13.c | 73 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/ |
D | extensions_clnt.c | 825 || (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()
|
D | extensions_srvr.c | 1106 || (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()
|
D | extensions.c | 1490 && 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()
|
D | statem_srvr.c | 3982 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()
|
D | statem_clnt.c | 741 && 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/ |
D | SSL_read_early_data.pod | 27 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.
|
D | SSL_CTX_set_options.pod | 208 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/ |
D | ssl.rs | 417 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/ |
D | s_server.c | 1049 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/ |
D | ssl.h | 931 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/ |
D | mod.rs | 1846 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/ |
D | shrpx_config.h | 777 uint32_t max_early_data; member
|
D | shrpx.cc | 1869 tlsconf.max_early_data = 16_k; in fill_default_config() 2927 << util::utos_unit(config->tls.max_early_data) << R"( in print_help()
|
D | shrpx_tls.cc | 1211 if (SSL_CTX_set_max_early_data(ssl_ctx, tlsconf.max_early_data) != 1) { in create_ssl_context()
|
/third_party/openssl/doc/man1/ |
D | openssl-s_server.pod.in | 133 [B<-max_early_data> I<int>] 775 =item B<-max_early_data> I<int>
|
/third_party/openssl/include/openssl/ |
D | ssl.h.in | 927 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);
|