Lines Matching refs:TLS_SW
286 if (ctx->tx_conf == TLS_SW) { in tls_sk_proto_cleanup()
294 if (ctx->rx_conf == TLS_SW) in tls_sk_proto_cleanup()
307 if (ctx->tx_conf == TLS_SW) in tls_sk_proto_close()
324 if (ctx->tx_conf == TLS_SW) in tls_sk_proto_close()
326 if (ctx->rx_conf == TLS_SW || ctx->rx_conf == TLS_HW) in tls_sk_proto_close()
328 if (ctx->rx_conf == TLS_SW) in tls_sk_proto_close()
542 conf = TLS_SW; in do_tls_setsockopt_conf()
551 conf = TLS_SW; in do_tls_setsockopt_conf()
740 prot[TLS_SW][TLS_BASE] = prot[TLS_BASE][TLS_BASE]; in build_protos()
741 prot[TLS_SW][TLS_BASE].sendmsg = tls_sw_sendmsg; in build_protos()
742 prot[TLS_SW][TLS_BASE].sendpage = tls_sw_sendpage; in build_protos()
744 prot[TLS_BASE][TLS_SW] = prot[TLS_BASE][TLS_BASE]; in build_protos()
745 prot[TLS_BASE][TLS_SW].recvmsg = tls_sw_recvmsg; in build_protos()
746 prot[TLS_BASE][TLS_SW].stream_memory_read = tls_sw_stream_read; in build_protos()
747 prot[TLS_BASE][TLS_SW].close = tls_sk_proto_close; in build_protos()
749 prot[TLS_SW][TLS_SW] = prot[TLS_SW][TLS_BASE]; in build_protos()
750 prot[TLS_SW][TLS_SW].recvmsg = tls_sw_recvmsg; in build_protos()
751 prot[TLS_SW][TLS_SW].stream_memory_read = tls_sw_stream_read; in build_protos()
752 prot[TLS_SW][TLS_SW].close = tls_sk_proto_close; 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()