From patchwork Tue Apr 9 15:22:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Atul Gupta X-Patchwork-Id: 10891417 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B8C0F922 for ; Tue, 9 Apr 2019 15:23:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A38AE28932 for ; Tue, 9 Apr 2019 15:23:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9EF2628941; Tue, 9 Apr 2019 15:23:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BC87A2892D for ; Tue, 9 Apr 2019 15:23:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726456AbfDIPXZ (ORCPT ); Tue, 9 Apr 2019 11:23:25 -0400 Received: from stargate.chelsio.com ([12.32.117.8]:48108 "EHLO stargate.chelsio.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726372AbfDIPXY (ORCPT ); Tue, 9 Apr 2019 11:23:24 -0400 Received: from beagle7.asicdesigners.com (beagle7.asicdesigners.com [10.192.192.157]) by stargate.chelsio.com (8.13.8/8.13.8) with ESMTP id x39FMxNq003408; Tue, 9 Apr 2019 08:22:59 -0700 From: Atul Gupta To: herbert@gondor.apana.org.au, davem@davemloft.net, linux-crypto@vger.kernel.org, netdev@vger.kernel.org, dt@chelsio.com, atul.gupta@chelsio.com Subject: [crypto 0/4] Inline TLS client and v6 support Date: Tue, 9 Apr 2019 08:22:34 -0700 Message-Id: <20190409152234.11100-1-atul.gupta@chelsio.com> X-Mailer: git-send-email 2.20.0.rc2.7.g965798d MIME-Version: 1.0 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Extends Inline TLS record processing to TLS client. connect API is added to tls_context to setup hardware for TLS connection and handshake. Functionality wise, this makes the solution end-to-end Inline TLS capable. TLS server and client can operate in Inline mode and leverage hardware for complete TLS record offload. [0004] Adds the IPv6 support for Inline TLS server/client. RFC series for this patch was created against net-next and submitted on 18 Jan'2019. This series is created against Herbert branch. Atul Gupta (4): net/tls: connect routine for Inine TLS Client crypto/chelsio/chtls: hardware connect API crypto/chelsio/chtls: CPL for TLS client IPv6 changes for Inline TLS drivers/crypto/chelsio/chtls/chtls.h | 18 +- drivers/crypto/chelsio/chtls/chtls_cm.c | 1263 ++++++++++++++++++++++--- drivers/crypto/chelsio/chtls/chtls_cm.h | 12 +- drivers/crypto/chelsio/chtls/chtls_hw.c | 7 +- drivers/crypto/chelsio/chtls/chtls_io.c | 51 +- drivers/crypto/chelsio/chtls/chtls_main.c | 164 +++- drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 18 + drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h | 2 + include/net/tls.h | 6 + include/net/transp_v6.h | 7 + net/core/secure_seq.c | 1 + net/ipv6/tcp_ipv6.c | 26 +- net/tls/tls_main.c | 23 + 13 files changed, 1442 insertions(+), 156 deletions(-)