Lines Matching refs:TLS_SW

278 	if (ctx->tx_conf == TLS_SW) {  in tls_sk_proto_cleanup()
288 if (ctx->rx_conf == TLS_SW) { in tls_sk_proto_cleanup()
304 if (ctx->tx_conf == TLS_SW) in tls_sk_proto_close()
321 if (ctx->tx_conf == TLS_SW) in tls_sk_proto_close()
323 if (ctx->rx_conf == TLS_SW || ctx->rx_conf == TLS_HW) in tls_sk_proto_close()
325 if (ctx->rx_conf == TLS_SW) in tls_sk_proto_close()
554 conf = TLS_SW; in do_tls_setsockopt_conf()
568 conf = TLS_SW; in do_tls_setsockopt_conf()
674 prot[TLS_SW][TLS_BASE] = prot[TLS_BASE][TLS_BASE]; in build_protos()
675 prot[TLS_SW][TLS_BASE].sendmsg = tls_sw_sendmsg; in build_protos()
676 prot[TLS_SW][TLS_BASE].sendpage = tls_sw_sendpage; in build_protos()
678 prot[TLS_BASE][TLS_SW] = prot[TLS_BASE][TLS_BASE]; in build_protos()
679 prot[TLS_BASE][TLS_SW].recvmsg = tls_sw_recvmsg; in build_protos()
680 prot[TLS_BASE][TLS_SW].stream_memory_read = tls_sw_stream_read; in build_protos()
681 prot[TLS_BASE][TLS_SW].close = tls_sk_proto_close; in build_protos()
683 prot[TLS_SW][TLS_SW] = prot[TLS_SW][TLS_BASE]; in build_protos()
684 prot[TLS_SW][TLS_SW].recvmsg = tls_sw_recvmsg; in build_protos()
685 prot[TLS_SW][TLS_SW].stream_memory_read = tls_sw_stream_read; in build_protos()
686 prot[TLS_SW][TLS_SW].close = tls_sk_proto_close; in build_protos()
693 prot[TLS_HW][TLS_SW] = prot[TLS_BASE][TLS_SW]; in build_protos()
694 prot[TLS_HW][TLS_SW].sendmsg = tls_device_sendmsg; in build_protos()
695 prot[TLS_HW][TLS_SW].sendpage = tls_device_sendpage; in build_protos()
697 prot[TLS_BASE][TLS_HW] = prot[TLS_BASE][TLS_SW]; in build_protos()
699 prot[TLS_SW][TLS_HW] = prot[TLS_SW][TLS_SW]; in build_protos()
701 prot[TLS_HW][TLS_HW] = prot[TLS_HW][TLS_SW]; in build_protos()