Lines Matching refs:early_data_state

2299     if (sc->early_data_state == SSL_EARLY_DATA_CONNECT_RETRY  in ssl_read_internal()
2300 || sc->early_data_state == SSL_EARLY_DATA_ACCEPT_RETRY) { in ssl_read_internal()
2370 switch (sc->early_data_state) { in SSL_read_early_data()
2379 sc->early_data_state = SSL_EARLY_DATA_ACCEPTING; in SSL_read_early_data()
2383 sc->early_data_state = SSL_EARLY_DATA_ACCEPT_RETRY; in SSL_read_early_data()
2390 sc->early_data_state = SSL_EARLY_DATA_READING; in SSL_read_early_data()
2397 if (ret > 0 || (ret <= 0 && sc->early_data_state in SSL_read_early_data()
2399 sc->early_data_state = SSL_EARLY_DATA_READ_RETRY; in SSL_read_early_data()
2404 sc->early_data_state = SSL_EARLY_DATA_FINISHED_READING; in SSL_read_early_data()
2525 if (sc->early_data_state == SSL_EARLY_DATA_CONNECT_RETRY in ssl_write_internal()
2526 || sc->early_data_state == SSL_EARLY_DATA_ACCEPT_RETRY in ssl_write_internal()
2527 || sc->early_data_state == SSL_EARLY_DATA_READ_RETRY) { in ssl_write_internal()
2660 int ret, early_data_state; in SSL_write_early_data() local
2669 switch (sc->early_data_state) { in SSL_write_early_data()
2681 sc->early_data_state = SSL_EARLY_DATA_CONNECTING; in SSL_write_early_data()
2685 sc->early_data_state = SSL_EARLY_DATA_CONNECT_RETRY; in SSL_write_early_data()
2691 sc->early_data_state = SSL_EARLY_DATA_WRITING; in SSL_write_early_data()
2702 sc->early_data_state = SSL_EARLY_DATA_WRITE_RETRY; in SSL_write_early_data()
2705 sc->early_data_state = SSL_EARLY_DATA_WRITE_FLUSH; in SSL_write_early_data()
2713 sc->early_data_state = SSL_EARLY_DATA_WRITE_RETRY; in SSL_write_early_data()
2718 early_data_state = sc->early_data_state; in SSL_write_early_data()
2720 sc->early_data_state = SSL_EARLY_DATA_UNAUTH_WRITING; in SSL_write_early_data()
2725 sc->early_data_state = early_data_state; in SSL_write_early_data()