Lines Matching refs:TLS_HW

310 	if (ctx->tx_conf == TLS_HW)  in tls_write_space()
355 } else if (ctx->tx_conf == TLS_HW) { in tls_sk_proto_cleanup()
363 } else if (ctx->rx_conf == TLS_HW) { in tls_sk_proto_cleanup()
380 free_ctx = ctx->tx_conf != TLS_HW && ctx->rx_conf != TLS_HW; in tls_sk_proto_close()
395 if (ctx->rx_conf == TLS_SW || ctx->rx_conf == TLS_HW) in tls_sk_proto_close()
534 if (ctx->rx_conf == TLS_SW || ctx->rx_conf == TLS_HW) in do_tls_getsockopt_no_pad()
666 conf = TLS_HW; in do_tls_setsockopt_conf()
680 conf = TLS_HW; in do_tls_setsockopt_conf()
757 if (ctx->rx_conf == TLS_SW || ctx->rx_conf == TLS_HW) { in do_tls_setsockopt_no_pad()
842 ops[TLS_HW ][TLS_BASE] = ops[TLS_BASE][TLS_BASE]; in build_proto_ops()
844 ops[TLS_HW ][TLS_SW ] = ops[TLS_BASE][TLS_SW ]; in build_proto_ops()
846 ops[TLS_BASE][TLS_HW ] = ops[TLS_BASE][TLS_SW ]; in build_proto_ops()
848 ops[TLS_SW ][TLS_HW ] = ops[TLS_SW ][TLS_SW ]; in build_proto_ops()
850 ops[TLS_HW ][TLS_HW ] = ops[TLS_HW ][TLS_SW ]; in build_proto_ops()
911 prot[TLS_HW][TLS_BASE] = prot[TLS_BASE][TLS_BASE]; in build_protos()
912 prot[TLS_HW][TLS_BASE].sendmsg = tls_device_sendmsg; in build_protos()
913 prot[TLS_HW][TLS_BASE].splice_eof = tls_device_splice_eof; in build_protos()
915 prot[TLS_HW][TLS_SW] = prot[TLS_BASE][TLS_SW]; in build_protos()
916 prot[TLS_HW][TLS_SW].sendmsg = tls_device_sendmsg; in build_protos()
917 prot[TLS_HW][TLS_SW].splice_eof = tls_device_splice_eof; in build_protos()
919 prot[TLS_BASE][TLS_HW] = prot[TLS_BASE][TLS_SW]; in build_protos()
921 prot[TLS_SW][TLS_HW] = prot[TLS_SW][TLS_SW]; in build_protos()
923 prot[TLS_HW][TLS_HW] = prot[TLS_HW][TLS_SW]; in build_protos()
996 case TLS_HW: in tls_user_config()
1041 if (ctx->tx_conf == TLS_HW && ctx->zerocopy_sendfile) { in tls_get_info()