Lines Matching refs:TLS_HW
246 if (ctx->tx_conf == TLS_HW) in tls_write_space()
290 } else if (ctx->tx_conf == TLS_HW) { in tls_sk_proto_cleanup()
296 else if (ctx->rx_conf == TLS_HW) in tls_sk_proto_cleanup()
311 free_ctx = ctx->tx_conf != TLS_HW && ctx->rx_conf != TLS_HW; in tls_sk_proto_close()
326 if (ctx->rx_conf == TLS_SW || ctx->rx_conf == TLS_HW) in tls_sk_proto_close()
537 conf = TLS_HW; in do_tls_setsockopt_conf()
546 conf = TLS_HW; in do_tls_setsockopt_conf()
755 prot[TLS_HW][TLS_BASE] = prot[TLS_BASE][TLS_BASE]; in build_protos()
756 prot[TLS_HW][TLS_BASE].sendmsg = tls_device_sendmsg; in build_protos()
757 prot[TLS_HW][TLS_BASE].sendpage = tls_device_sendpage; in build_protos()
759 prot[TLS_HW][TLS_SW] = prot[TLS_BASE][TLS_SW]; in build_protos()
760 prot[TLS_HW][TLS_SW].sendmsg = tls_device_sendmsg; in build_protos()
761 prot[TLS_HW][TLS_SW].sendpage = tls_device_sendpage; in build_protos()
763 prot[TLS_BASE][TLS_HW] = prot[TLS_BASE][TLS_SW]; in build_protos()
765 prot[TLS_SW][TLS_HW] = prot[TLS_SW][TLS_SW]; in build_protos()
767 prot[TLS_HW][TLS_HW] = prot[TLS_HW][TLS_SW]; in build_protos()