Lines Matching refs:TLS_HW
238 if (ctx->tx_conf == TLS_HW) in tls_write_space()
283 } else if (ctx->tx_conf == TLS_HW) { in tls_sk_proto_cleanup()
291 } else if (ctx->rx_conf == TLS_HW) { in tls_sk_proto_cleanup()
308 free_ctx = ctx->tx_conf != TLS_HW && ctx->rx_conf != TLS_HW; in tls_sk_proto_close()
323 if (ctx->rx_conf == TLS_SW || ctx->rx_conf == TLS_HW) in tls_sk_proto_close()
547 conf = TLS_HW; in do_tls_setsockopt_conf()
561 conf = TLS_HW; in do_tls_setsockopt_conf()
693 prot[TLS_HW][TLS_BASE] = prot[TLS_BASE][TLS_BASE]; in build_protos()
694 prot[TLS_HW][TLS_BASE].sendmsg = tls_device_sendmsg; in build_protos()
695 prot[TLS_HW][TLS_BASE].sendpage = tls_device_sendpage; in build_protos()
697 prot[TLS_HW][TLS_SW] = prot[TLS_BASE][TLS_SW]; in build_protos()
698 prot[TLS_HW][TLS_SW].sendmsg = tls_device_sendmsg; in build_protos()
699 prot[TLS_HW][TLS_SW].sendpage = tls_device_sendpage; in build_protos()
701 prot[TLS_BASE][TLS_HW] = prot[TLS_BASE][TLS_SW]; in build_protos()
703 prot[TLS_SW][TLS_HW] = prot[TLS_SW][TLS_SW]; in build_protos()
705 prot[TLS_HW][TLS_HW] = prot[TLS_HW][TLS_SW]; in build_protos()