From patchwork Fri Jan 18 07:13:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Atul Gupta X-Patchwork-Id: 10769485 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 ED59814E5 for ; Fri, 18 Jan 2019 07:13:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D3BFE2E686 for ; Fri, 18 Jan 2019 07:13:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C2F9F2E68A; Fri, 18 Jan 2019 07:13:35 +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 418FB2E686 for ; Fri, 18 Jan 2019 07:13:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727199AbfARHNe (ORCPT ); Fri, 18 Jan 2019 02:13:34 -0500 Received: from stargate.chelsio.com ([12.32.117.8]:2548 "EHLO stargate.chelsio.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727170AbfARHNe (ORCPT ); Fri, 18 Jan 2019 02:13:34 -0500 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 x0I7DFZ0006359; Thu, 17 Jan 2019 23:13:16 -0800 From: Atul Gupta To: davem@davemloft.net, herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org, netdev@vger.kernel.org, dt@chelsio.com Cc: atul.gupta@chelsio.com Subject: [RFC patch 0/4] Inline TLS client and v6 Date: Thu, 17 Jan 2019 23:13:13 -0800 Message-Id: <20190118071313.9484-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 offload. [0004] Adds IPv6 support to Inline TLS server and client. Atul Gupta (4): net/tls: connect routine for Inline TLS client crypto/chelsio/chtls: hardware connect API crypto/chelsio/chtls: CPL for TLS client crypto/chelsio/chtls: IPv6 for Inline TLS drivers/crypto/chelsio/chtls/chtls.h | 18 +- drivers/crypto/chelsio/chtls/chtls_cm.c | 1276 ++++++++++++++++++++++--- drivers/crypto/chelsio/chtls/chtls_cm.h | 12 +- drivers/crypto/chelsio/chtls/chtls_hw.c | 7 +- drivers/crypto/chelsio/chtls/chtls_io.c | 41 +- drivers/crypto/chelsio/chtls/chtls_main.c | 168 +++- drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 18 + drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h | 2 + include/net/tls.h | 5 + include/net/transp_v6.h | 8 + net/core/secure_seq.c | 1 + net/ipv6/tcp_ipv6.c | 26 +- net/tls/tls_main.c | 23 + 13 files changed, 1455 insertions(+), 150 deletions(-)