Lines Matching refs:sc
75 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(ssl); in SSL_get_state() local
77 if (sc == NULL) in SSL_get_state()
80 return sc->statem.hand_state; in SSL_get_state()
85 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s); in SSL_in_init() local
87 if (sc == NULL) in SSL_in_init()
90 return sc->statem.in_init; in SSL_in_init()
95 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s); in SSL_is_init_finished() local
97 if (sc == NULL) in SSL_is_init_finished()
100 return !(sc->statem.in_init) && (sc->statem.hand_state == TLS_ST_OK); in SSL_is_init_finished()
105 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s); in SSL_in_before() local
107 if (sc == NULL) in SSL_in_before()
117 return (sc->statem.hand_state == TLS_ST_BEFORE) in SSL_in_before()
118 && (sc->statem.state == MSG_FLOW_UNINITED); in SSL_in_before()
294 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in ossl_statem_connect() local
296 if (sc == NULL) in ossl_statem_connect()
299 return state_machine(sc, 0); in ossl_statem_connect()
304 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in ossl_statem_accept() local
306 if (sc == NULL) in ossl_statem_accept()
309 return state_machine(sc, 1); in ossl_statem_accept()