Lines Matching full:connection
125 * struct tls_connection_params - Parameters for TLS connection
179 * TLS connection parameters to be configured with tls_connection_set_params()
261 * tls_connection_init - Initialize a new TLS connection
263 * Returns: Connection context data, conn for other function calls
268 * tls_connection_deinit - Free TLS connection data
270 * @conn: Connection context data from tls_connection_init()
272 * Release all resources allocated for TLS connection.
277 * tls_connection_established - Has the TLS connection been completed?
279 * @conn: Connection context data from tls_connection_init()
280 * Returns: 1 if TLS connection has been completed, 0 if not.
287 * @conn: Connection context data from tls_connection_init()
297 * tls_connection_shutdown - Shutdown TLS connection
299 * @conn: Connection context data from tls_connection_init()
302 * Shutdown current TLS connection without releasing all resources. New
303 * connection can be started by using the same conn without having to call
305 * connection should try to use session resumption.
316 * tls_connection_set_params - Set TLS connection parameters
318 * @conn: Connection context data from tls_connection_init()
319 * @params: Connection parameters
333 * tls_global_set_params - Set TLS parameters for all TLS connection
361 * @conn: Connection context data from tls_connection_init()
365 * @flags: Connection flags (TLS_CONN_*)
378 * tls_connection_get_random - Get random data from TLS connection
380 * @conn: Connection context data from tls_connection_init()
389 * tls_connection_export_key - Derive keying material from a TLS connection
391 * @conn: Connection context data from tls_connection_init()
413 * @conn: Connection context data from tls_connection_init()
429 * @conn: Connection context data from tls_connection_init()
467 * @conn: Connection context data from tls_connection_init()
482 * @conn: Connection context data from tls_connection_init()
497 * @conn: Connection context data from tls_connection_init()
517 * @conn: Connection context data from tls_connection_init()
535 * @conn: Connection context data from tls_connection_init()
547 * @conn: Connection context data from tls_connection_init()
560 * @conn: Connection context data from tls_connection_init()
573 * @conn: Connection context data from tls_connection_init()
576 * This function is used to enable connection-specific workaround options for
585 * @conn: Connection context data from tls_connection_init()
597 * tls_connection_get_failed - Get connection failure status
599 * @conn: Connection context data from tls_connection_init()
601 * Returns >0 if connection has failed, 0 if not.
606 * tls_connection_get_read_alerts - Get connection read alert status
608 * @conn: Connection context data from tls_connection_init()
610 * happened during this connection.
615 * tls_connection_get_write_alerts - Get connection write alert status
617 * @conn: Connection context data from tls_connection_init()
619 * during this connection.
661 * @conn: Connection context data from tls_connection_init()
668 * the TLS connection.
674 * @conn: Connection context data from tls_connection_init()
675 * Returns: TLS cipher suite of the current connection or 0 on error
681 * @conn: Connection context data from tls_connection_init()
688 * @conn: Connection context data from tls_connection_init()