Lines Matching refs:tls_connection
12 struct tls_connection;
261 struct tls_connection * tls_connection_init(void *tls_ctx);
270 void tls_connection_deinit(void *tls_ctx, struct tls_connection *conn);
278 int tls_connection_established(void *tls_ctx, struct tls_connection *conn);
290 struct tls_connection *conn);
303 int tls_connection_shutdown(void *tls_ctx, struct tls_connection *conn);
325 tls_connection_set_params(void *tls_ctx, struct tls_connection *conn,
365 struct tls_connection *conn,
379 struct tls_connection *conn,
398 struct tls_connection *conn,
417 struct tls_connection *conn,
448 struct tls_connection *conn,
453 struct tls_connection *conn,
469 struct tls_connection *conn,
485 struct tls_connection *conn,
500 struct tls_connection *conn,
504 struct tls_connection *conn,
514 int tls_connection_resumed(void *tls_ctx, struct tls_connection *conn);
535 struct tls_connection *conn,
548 int __must_check tls_get_version(void *tls_ctx, struct tls_connection *conn,
561 int __must_check tls_get_cipher(void *tls_ctx, struct tls_connection *conn,
574 struct tls_connection *conn);
586 struct tls_connection *conn,
597 int tls_connection_get_failed(void *tls_ctx, struct tls_connection *conn);
606 int tls_connection_get_read_alerts(void *tls_ctx, struct tls_connection *conn);
616 struct tls_connection *conn);
623 void *tls_ctx, struct tls_connection *conn,
626 void tls_connection_set_log_cb(struct tls_connection *conn,
639 void tls_connection_set_test_flags(struct tls_connection *conn, u32 flags);
643 void tls_connection_set_success_data(struct tls_connection *conn,
646 void tls_connection_set_success_data_resumed(struct tls_connection *conn);
649 tls_connection_get_success_data(struct tls_connection *conn);
651 void tls_connection_remove_session(struct tls_connection *conn);
664 int tls_get_tls_unique(struct tls_connection *conn, u8 *buf, size_t max_len);
671 u16 tls_connection_get_cipher_suite(struct tls_connection *conn);
678 const char * tls_connection_get_peer_subject(struct tls_connection *conn);
685 bool tls_connection_get_own_cert_used(struct tls_connection *conn);