Home
last modified time | relevance | path

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

/openssl/ssl/record/
H A Drec_layer_s3.c119 uint32_t max_early_data; in ossl_get_max_early_data() local
137 max_early_data = sess->ext.max_early_data; in ossl_get_max_early_data()
139 max_early_data = s->recv_max_early_data; in ossl_get_max_early_data()
141 max_early_data = s->recv_max_early_data < sess->ext.max_early_data in ossl_get_max_early_data()
144 return max_early_data; in ossl_get_max_early_data()
150 uint32_t max_early_data; in ossl_early_data_count_ok() local
152 max_early_data = ossl_get_max_early_data(s); in ossl_early_data_count_ok()
154 if (max_early_data == 0) { in ossl_early_data_count_ok()
161 max_early_data += overhead; in ossl_early_data_count_ok()
1257 uint32_t max_early_data; in ssl_set_new_record_layer() local
[all …]
/openssl/ssl/
H A Dssl_asn1.c43 uint32_t max_early_data; member
76 ASN1_EXP_OPT_EMBED(SSL_SESSION_ASN1, max_early_data, ZUINT32, 15),
204 as.max_early_data = in->ext.max_early_data; in i2d_SSL_SESSION()
397 ret->ext.max_early_data = as->max_early_data; in d2i_SSL_SESSION_ex()
H A Dtls13_enc.c509 && s->max_early_data > 0 in tls13_change_cipher_state()
510 && s->session->ext.max_early_data == 0) { in tls13_change_cipher_state()
517 && s->max_early_data == in tls13_change_cipher_state()
518 s->psksession->ext.max_early_data)) { in tls13_change_cipher_state()
889 if (!s->server && s->max_early_data > 0 in tls13_export_keying_material_early()
890 && s->session->ext.max_early_data == 0) in tls13_export_keying_material_early()
H A Dssl_txt.c158 (unsigned int)x->ext.max_early_data) <= 0) in SSL_SESSION_print()
H A Dssl_sess.c1050 return s->ext.max_early_data; in SSL_SESSION_get_max_early_data()
1053 int SSL_SESSION_set_max_early_data(SSL_SESSION *s, uint32_t max_early_data) in SSL_SESSION_set_max_early_data() argument
1055 s->ext.max_early_data = max_early_data; in SSL_SESSION_set_max_early_data()
H A Dt1_trce.c748 uint32_t max_early_data; in ssl_print_extension() local
925 max_early_data = ((unsigned int)ext[0] << 24) in ssl_print_extension()
930 BIO_printf(bio, "max_early_data=%u\n", (unsigned int)max_early_data); in ssl_print_extension()
H A Dssl_lib.c763 s->max_early_data = ctx->max_early_data; in ossl_ssl_connection_new_int()
2673 || ((sc->session == NULL || sc->session->ext.max_early_data == 0) in SSL_write_early_data()
4181 ret->max_early_data = 0; in SSL_CTX_new_ex()
4667 || (s->max_early_data > 0 in ssl_update_cache()
7126 int SSL_CTX_set_max_early_data(SSL_CTX *ctx, uint32_t max_early_data) in SSL_CTX_set_max_early_data() argument
7128 ctx->max_early_data = max_early_data; in SSL_CTX_set_max_early_data()
7135 return ctx->max_early_data; in SSL_CTX_get_max_early_data()
7138 int SSL_set_max_early_data(SSL *s, uint32_t max_early_data) in SSL_set_max_early_data() argument
7145 sc->max_early_data = max_early_data; in SSL_set_max_early_data()
7157 return sc->max_early_data; in SSL_get_max_early_data()
H A Dssl_local.h541 uint32_t max_early_data; member
1113 uint32_t max_early_data; member
1763 uint32_t max_early_data; member
/openssl/ssl/statem/
H A Dextensions_clnt.c864 || (s->session->ext.max_early_data == 0 in tls_construct_ctos_early_data()
866 s->max_early_data = 0; in tls_construct_ctos_early_data()
869 edsess = s->session->ext.max_early_data != 0 ? s->session : psksess; in tls_construct_ctos_early_data()
870 s->max_early_data = edsess->ext.max_early_data; in tls_construct_ctos_early_data()
1990 unsigned long max_early_data; in tls_parse_stoc_early_data() local
1992 if (!PACKET_get_net_4(pkt, &max_early_data) in tls_parse_stoc_early_data()
1998 s->session->ext.max_early_data = max_early_data; in tls_parse_stoc_early_data()
2000 if (SSL_IS_QUIC_HANDSHAKE(s) && max_early_data != 0xffffffff) { in tls_parse_stoc_early_data()
2011 s->session->ext.max_early_data = 1; in tls_parse_stoc_early_data()
2082 || s->session->ext.max_early_data > 0 in tls_parse_stoc_psk()
[all …]
H A Dextensions_srvr.c1150 || (s->max_early_data > 0 in tls_parse_ctos_psk()
1172 if (s->max_early_data > 0 in tls_parse_ctos_psk()
1936 if (s->max_early_data == 0) in tls_construct_stoc_early_data()
1941 || !WPACKET_put_bytes_u32(pkt, s->max_early_data) in tls_construct_stoc_early_data()
H A Dextensions.c1568 && s->session->ext.max_early_data == 0 in tls_psk_do_binder()
1569 && sess->ext.max_early_data > 0) in tls_psk_do_binder()
1737 if (s->max_early_data == 0 in final_early_data()
H A Dstatem_srvr.c4249 s->session->ext.max_early_data = s->max_early_data; in tls_construct_new_session_ticket()
4265 || (s->max_early_data > 0 in tls_construct_new_session_ticket()
H A Dstatem_clnt.c808 && s->max_early_data > 0) { in ossl_statem_client_post_work()
844 && s->max_early_data > 0) { in ossl_statem_client_post_work()
/openssl/doc/man3/
H A 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.
H A DSSL_CTX_set_options.pod233 By default, when a server is configured for early data (i.e., max_early_data > 0),
/openssl/ssl/quic/
H A Dquic_tls.c871 uint32_t max_early_data = SSL_get0_session(qtls->args.s)->ext.max_early_data; in ossl_quic_tls_has_bad_max_early_data() local
878 return max_early_data != 0xffffffff && max_early_data != 0; in ossl_quic_tls_has_bad_max_early_data()
H A Dquic_tserver.c574 uint32_t max_early_data) in ossl_quic_tserver_set_max_early_data() argument
576 return SSL_set_max_early_data(srv->tls, max_early_data); in ossl_quic_tserver_set_max_early_data()
/openssl/include/internal/
H A Dquic_tserver.h212 uint32_t max_early_data);
/openssl/ssl/record/methods/
H A Dtls_common.c500 uint32_t max_early_data = rl->max_early_data; in rlayer_early_data_count_ok() local
502 if (max_early_data == 0) { in rlayer_early_data_count_ok()
509 max_early_data += overhead; in rlayer_early_data_count_ok()
511 if (rl->early_data_count + length > max_early_data) { in rlayer_early_data_count_ok()
1290 if (!OSSL_PARAM_get_uint32(p, &rl->max_early_data)) { in tls_int_new_record_layer()
H A Drecmethod_local.h318 uint32_t max_early_data; member
/openssl/apps/
H A Ds_server.c1085 int max_early_data = -1, recv_max_early_data = -1; in s_server_main() local
1656 max_early_data = atoi(opt_arg()); in s_server_main()
1657 if (max_early_data < 0) { in s_server_main()
1671 if (max_early_data == -1) in s_server_main()
1672 max_early_data = SSL3_RT_MAX_PLAIN_LENGTH; in s_server_main()
2302 if (max_early_data >= 0) in s_server_main()
2303 SSL_CTX_set_max_early_data(ctx, max_early_data); in s_server_main()
/openssl/doc/man1/
H A Dopenssl-s_server.pod.in139 [B<-max_early_data> I<int>]
823 =item B<-max_early_data> I<int>
/openssl/include/openssl/
H A Dssl.h.in947 int SSL_CTX_set_max_early_data(SSL_CTX *ctx, uint32_t max_early_data);
949 int SSL_set_max_early_data(SSL *s, uint32_t max_early_data);
1719 uint32_t max_early_data);

Completed in 132 milliseconds