Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp426303ybg; Fri, 12 Jun 2020 05:21:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzcNvEbSnjluNWTtOIW5yI1QkvfqhgVO31xGbwelv3K+2RurLr9gK7Xd9lAKHgle2fF5GD2 X-Received: by 2002:a05:6402:b8a:: with SMTP id cf10mr11777277edb.138.1591964519675; Fri, 12 Jun 2020 05:21:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591964519; cv=none; d=google.com; s=arc-20160816; b=F+uWhjt0mphW3dCR1eongbENG2g1JnM5+0PFIKTUY3T5XlvrfHnwAmcbcpqCzugzuj kw33DBiTlrpekhlEs7vXwlgCLe10zyCdc0dgf8JQMu+AJM9trh9J1oOw7+wLg68SZt3E Op0mUHx17cClvUYYO243ewnT5FfEklyNX6isPMDtccrI690iPounR2xg0RJDgbKwCO9N 5gGAdnvjfONX3hUyiz1KHwb3hUkLGea8IdJV1yJe97T4Hr49rappSZHNhPJlqI/6z4zk rOpkkI7hCAALI4KbddEhr/Hc12MdJqJqihl3d5erAQaumbYD4DQ0E0i7eLtlXKGwZMBI 5d5w== 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=In5+htvRzqtOtJWCOoMnH83ee8ZTAqAKOtDqucGAEKs=; b=EGLyANXafeGUrNWbraE1Hzdztz6I639LD1KQwVkCIrhQZYgEQ3Xty9mfxDPgJP+Kxi K39ZlnCOzjmBjKVIxxjNux9+vUwrQfdIYfcVwGPJw5wGezCV2ULhs0nAnMFPGqiFbgug MCiwuYRPNw2Mew3sbaBtUk1UsiopOV6DfMHvAdrT7D6yUXFAjFkH0+JJvv+KEsfdAbfz TUn6YBbF6rsvSuq4+iuwlH7BA0MAORQWyea9LyjB5mLur6j+Twqs7FZ/oNNluN+3wkmA j7tNoHhPc9GT4woF+NSu82b/FsGfha1tLrf19Wfsk1RUnEjxLKiUX3UV9sGIWKJJJ/TR fEdQ== 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 du12si4585997ejc.441.2020.06.12.05.21.34; Fri, 12 Jun 2020 05:21:59 -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 S1725886AbgFLMVJ (ORCPT + 99 others); Fri, 12 Jun 2020 08:21:09 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:39522 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725872AbgFLMVJ (ORCPT ); Fri, 12 Jun 2020 08:21:09 -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 1jjigE-0005P8-3M; Fri, 12 Jun 2020 22:21:07 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 12 Jun 2020 22:21:06 +1000 Date: Fri, 12 Jun 2020 22:21:06 +1000 From: Herbert Xu To: Stephan Mueller Cc: Ard Biesheuvel , Linux Crypto Mailing List , Eric Biggers Subject: [v2 PATCH 0/3] crypto: skcipher - Add support for no chaining and partial chaining Message-ID: <20200612122105.GA18892@gondor.apana.org.au> References: <20200612120643.GA15724@gondor.apana.org.au> <1688262.LSb4nGpegl@tauon.chronox.de> <20200612121651.GA15849@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200612121651.GA15849@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 v2 Fixed return type of crypto_skcipher_fcsize. -- 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