Lines Matching defs:tls
51 int tls;
183 struct tls {
239 struct tls *tls_new(void);
240 struct tls *tls_server_conn(struct tls *ctx);
242 int tls_get_common_name(struct tls *_ctx, X509 *_cert, const char *_in_name,
244 int tls_check_name(struct tls *ctx, X509 *cert, const char *servername,
246 int tls_configure_server(struct tls *ctx);
248 int tls_configure_ssl(struct tls *ctx, SSL_CTX *ssl_ctx);
249 int tls_configure_ssl_keypair(struct tls *ctx, SSL_CTX *ssl_ctx,
251 int tls_configure_ssl_verify(struct tls *ctx, SSL_CTX *ssl_ctx, int verify);
253 int tls_handshake_client(struct tls *ctx);
254 int tls_handshake_server(struct tls *ctx);
261 int tls_set_cbs(struct tls *ctx,
277 int tls_set_error(struct tls *ctx, int code, const char *fmt, ...)
280 int tls_set_errorx(struct tls *ctx, int code, const char *fmt, ...)
283 int tls_set_ssl_errorx(struct tls *ctx, int code, const char *fmt, ...)
287 int tls_ssl_error(struct tls *ctx, SSL *ssl_conn, int ssl_ret,
290 int tls_conninfo_populate(struct tls *ctx);
296 struct tls_ocsp *tls_ocsp_setup_from_peer(struct tls *ctx);