Lines Matching refs:tls
50 int tls; member
181 struct tls { struct
237 struct tls *tls_new(void);
238 struct tls *tls_server_conn(struct tls *ctx);
240 int tls_check_name(struct tls *ctx, X509 *cert, const char *servername,
242 int tls_configure_server(struct tls *ctx);
244 int tls_configure_ssl(struct tls *ctx, SSL_CTX *ssl_ctx);
245 int tls_configure_ssl_keypair(struct tls *ctx, SSL_CTX *ssl_ctx,
247 int tls_configure_ssl_verify(struct tls *ctx, SSL_CTX *ssl_ctx, int verify);
249 int tls_handshake_client(struct tls *ctx);
250 int tls_handshake_server(struct tls *ctx);
257 int tls_set_cbs(struct tls *ctx,
273 int tls_set_error(struct tls *ctx, const char *fmt, ...)
276 int tls_set_errorx(struct tls *ctx, const char *fmt, ...)
279 int tls_set_ssl_errorx(struct tls *ctx, const char *fmt, ...)
283 int tls_ssl_error(struct tls *ctx, SSL *ssl_conn, int ssl_ret,
286 int tls_conninfo_populate(struct tls *ctx);
292 struct tls_ocsp *tls_ocsp_setup_from_peer(struct tls *ctx);