Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1285038pxb; Fri, 13 Nov 2020 08:45:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJyvhGKCYL96n7w+h8oBSBSDJydJ0INOMNrNpd5uCCnR96F3lv3C3wxqdhEg4TguWdZJclvx X-Received: by 2002:a17:906:a052:: with SMTP id bg18mr2885022ejb.550.1605285923042; Fri, 13 Nov 2020 08:45:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605285923; cv=none; d=google.com; s=arc-20160816; b=tA1emvPuohn+IsSaDvOrf90yA5MgnQZ5HbELTNQQfU9T0NIkOnXQ2oIBkocBB+nJ2D 1L4DYt0tvoOmDhLvHYKwBjKytjfrSdiZ4fbkRl2RPPOokMZlS5xcA64ZlC5L6Hbbw9KP Fl6Xf075RQ065MIZlcg36MUFv6VR1s9YzKqWWSwZ/rcQacbl7OFLbotHc6qjdZ+OkRly JkLKHY/Qz6gA1sP5bRypuB0SIJEY5tEeulp5lsKSq5X4LcDq6GUEv22OV4P2x0XcP5ZU yIla2I7B4N3jUlRahfExrFW4x0qot46+8cT0psMX8jk9ZW8HFS5rUtFW6+yHJLfbClkP MggA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=I4VNT0V9iifPu4ZyB9t9rv27cWu+2UmfUstI1kHtrYk=; b=nYe6gW80C9oFNdlqljPhPCNhVCbfIq/21JcbCmkfdxOGBQikyWy5CnB6i36hFRSfrU Did2UAdml3HNZdpmnMIDdl2l199Y+EkXzxS7/kI0olxlM+RHTjZNdMghIQjYro3+r2NU 1HyzQbTcfzV27DuaxZOPjAxMZk1bmf9eZyxOoPg7XAC/hrwDkwYQUep48mI+A1psRDpg LHkK7affsW85uhzZGKVbAMd7PEvczYNbn/BU9EQaKhjdZpF549FJjC7SybDtKkH+UE9H gUaHhmnrSuRRezSzaWI8d1H33GzPYTiJox4eOj8+HYkzPUMo7mzyrB6wMqT/+OEoVCbO wWDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=avfzrA7W; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s17si5827175edt.578.2020.11.13.08.44.51; Fri, 13 Nov 2020 08:45:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=avfzrA7W; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726355AbgKMQon (ORCPT + 99 others); Fri, 13 Nov 2020 11:44:43 -0500 Received: from mail.kernel.org ([198.145.29.99]:43176 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726272AbgKMQon (ORCPT ); Fri, 13 Nov 2020 11:44:43 -0500 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 93128208D5; Fri, 13 Nov 2020 16:44:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605285882; bh=yE9m79It61Px7M5KdfeOK7s4vlAH/9PT2N6H9v+TsBc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=avfzrA7WlUokPPk0FHUWKh6dc0wRkkjyHZTIphID11n7Q9HAAnSY/e3sP4H4XjtfU nT4YaMpiCsaAnj/AkhXzwokDVJIlnxftWWOGBUioJMk7T1sPB/QaXxH5Okcz5EXFb6 VGhzuL4HDVY+PVkwLL3NlBZI+0HCrbJGNq7rMrmA= Date: Fri, 13 Nov 2020 08:44:40 -0800 From: Jakub Kicinski To: Herbert Xu Cc: Srujana Challa , davem@davemloft.net, netdev@vger.kernel.org, linux-crypto@vger.kernel.org, sgoutham@marvell.com, gakula@marvell.com, sbhatta@marvell.com, schandran@marvell.com, pathreya@marvell.com, Lukasz Bartosik Subject: Re: [PATCH v9,net-next,12/12] crypto: octeontx2: register with linux crypto framework Message-ID: <20201113084440.138a76fb@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20201113031601.GA27112@gondor.apana.org.au> References: <20201109120924.358-1-schalla@marvell.com> <20201109120924.358-13-schalla@marvell.com> <20201111161039.64830a68@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20201113031601.GA27112@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, 13 Nov 2020 14:16:01 +1100 Herbert Xu wrote: > On Wed, Nov 11, 2020 at 04:10:39PM -0800, Jakub Kicinski wrote: > > On Mon, 9 Nov 2020 17:39:24 +0530 Srujana Challa wrote: > > > CPT offload module utilises the linux crypto framework to offload > > > crypto processing. This patch registers supported algorithms by > > > calling registration functions provided by the kernel crypto API. > > > > > > The module currently supports: > > > - AES block cipher in CBC,ECB,XTS and CFB mode. > > > - 3DES block cipher in CBC and ECB mode. > > > - AEAD algorithms. > > > authenc(hmac(sha1),cbc(aes)), > > > authenc(hmac(sha256),cbc(aes)), > > > authenc(hmac(sha384),cbc(aes)), > > > authenc(hmac(sha512),cbc(aes)), > > > authenc(hmac(sha1),ecb(cipher_null)), > > > authenc(hmac(sha256),ecb(cipher_null)), > > > authenc(hmac(sha384),ecb(cipher_null)), > > > authenc(hmac(sha512),ecb(cipher_null)), > > > rfc4106(gcm(aes)). > > > > Herbert, could someone who knows about crypto take a look at this, > > if the intention is to merge this via net-next? > > This patch seems to be quite large but it is self-contained. How > about waiting a release cycle and then resubmitting it to linux-crypto > on its own? SGTM, actually everything starting from patch 4 is in drivers/crypto, so we can merge the first 3 into net-next and the rest via crypto?