Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp418218ybg; Fri, 12 Jun 2020 05:10:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAiCrMPV8hB1mmVQtVPDozqiOj45JN1XP2R1GgDEd72Ie8xiHxh8NZZc/kcw9NWhHZBK46 X-Received: by 2002:a50:dac8:: with SMTP id s8mr11296469edj.244.1591963800778; Fri, 12 Jun 2020 05:10:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591963800; cv=none; d=google.com; s=arc-20160816; b=cwsBxWNzv8UnqOP0E2/weY4AuOTUspMyuaTFAi0kMHpA9drMib7hWeEpQV+UOGXlmD wrssK9VtDmBB/Hd+nJfWWCjNza5WgxZPdhBdeYBtXhVfDPe5/P+5xBfoJylQSe8lIjZ4 k+E4oHB3v3jWaCpO5m+j2+aj2E9soLnwE84ok50YSKnr0IJiJrVbgqcyxnxbeCKik/f5 NV60i+wZyrwML7+oR2qHhcKpJh1zHstUi28ffaqeyIoceufdcz9ZQ/h7z5iq99BJlavk +N8XIh8JyXUtOwU0edUoDnNuIKxwCHxmEog26GumPgjSu5pTAxG3L486ZPwwo4es6Nsd hlcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=XF7iGohW0xj+H2RvK+ZxuwHE8RWYh0iuJg9Trpe62j0=; b=LxmvFqdJazK5kyXdznZuFPT8/2pyKqI5k8rqeJVaHcJHI4C7rF2hrTKF9yb3O/5k8u 1CvcIAyg5EE48oJdipaYox4/67Hkd5JKcBAXwe/hNmXOaxde5WsHpmJmcTU4y0/wI2sG 23o4CRvGmnx+IalTjozrZuDzxw75oc07Lx7qlPyLm0j5ioqCNe5IPm1BQr+AUQsg1581 oYeY0djaeB7NPtfTzoFS3xLNRyVzb70jJNPktj16aI2nGtPb0gnzBv+9MhAy40+CGSDo dlGAhXWXfEx6htV6MJU2pAgPipfrwaxyaY8fdxH1PzGCwOarnqSk8whvTN1ZgIkSd6Ag A3/A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a9si3214492edt.344.2020.06.12.05.09.36; Fri, 12 Jun 2020 05:10:00 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726089AbgFLMGu (ORCPT + 99 others); Fri, 12 Jun 2020 08:06:50 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:39478 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725791AbgFLMGu (ORCPT ); Fri, 12 Jun 2020 08:06:50 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1jjiSJ-00059o-Fc; Fri, 12 Jun 2020 22:06:44 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 12 Jun 2020 22:06:43 +1000 Date: Fri, 12 Jun 2020 22:06:43 +1000 From: Herbert Xu To: Ard Biesheuvel Cc: Linux Crypto Mailing List , Eric Biggers , Stephan Mueller Subject: [PATCH 0/3] crypto: skcipher - Add support for no chaining and partial chaining Message-ID: <20200612120643.GA15724@gondor.apana.org.au> References: <20200529080508.GA2880@gondor.apana.org.au> <20200529115126.GA3573@gondor.apana.org.au> <20200529120216.GA3752@gondor.apana.org.au> <20200529131953.GA9187@gondor.apana.org.au> <20200529134215.GA9458@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200529134215.GA9458@gondor.apana.org.au> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This patch-set adds support to the Crypto API and algif_skcipher for algorithms that cannot be chained, as well as ones that can be chained if you withhold a certain number of blocks at the end. It only modifies one algorithm to utilise this, namely cts-generic. Changing others should be fairly straightforward. In particular, we should mark all the ones that don't support chaining (e.g., most stream ciphers). Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt