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