Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp696143pxu; Fri, 4 Dec 2020 13:11:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJyBLBRsX4Ek8CTQJ59DvuIR0WAYHBJir/sHHWmT6bh64WKA1V6yibKH2ahRDIIXDN72JNgg X-Received: by 2002:a17:906:1ca:: with SMTP id 10mr8728478ejj.246.1607116281625; Fri, 04 Dec 2020 13:11:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607116281; cv=none; d=google.com; s=arc-20160816; b=odyY21ZmnogKORKUuQ3JqKD8XbwUl+2bw15CPNCUn1OGNLsk/qNqS5zGGYMx7pXts0 YZ3Lu09dlwhlAEz5FuZ79fV3YAKMzK9Wj+W7Acpt4uqvsqfJXHC3aAcgbie5vi77Cxgh WFduaZYyc9Y4vRbWEDfs9SPcD5Gg4QqTllFS06tC3lQhUyroCgiK1b3jJn1eqG8JiwDG aV4qEcfayuZdpSVMgE3mckdcosAYnJcYu26WZxyXp6/IsXZbDanVos9Vv9IjT5TOifFY 06H3PpUlLWe1os6P0kcyaTP39BIpEknbSUMfZk5voaQAevYNLjrg99wHnevrBHrp/Esn H6YQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=pjJ0rqC2O8pzc/ScAxxA1oLsvRlO3jxYfPZIUusXips=; b=PymfV/VOCVWSAHDGOwkMCL7qG4Es23VuGKospczTqyaBloZtNn6yDwUKSWPcr60kb8 u5C0KjLb0BJNCHl3yiVqpgE2e0V44u8YumODWwjshkhG2USqW+SfqwNJxtVEyQ9BGIEm R4ebEW7/zUCINYz6rEfESaRQRmDQc7Kpyd5bIoE6Rbj5dOSs8Soed8mBx0KJ6tIY4bVg lBxfyPajS3bFR7zv8Tl5OcXUrkEpwRg7OojINFwdC45TUA9Chh+1/7SN3MuHFHLUOK5E cqxDbY4mIpxJ3Jf0iHnYoDYk6dtbZ9NR1ur8VVNvK0gMqveqaIbbQ4KKkDKiPZwUTj2R Ulpg== 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 z5si2246930ejj.640.2020.12.04.13.10.50; Fri, 04 Dec 2020 13:11:21 -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; 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 S1728147AbgLDVJ5 (ORCPT + 99 others); Fri, 4 Dec 2020 16:09:57 -0500 Received: from helcar.hmeau.com ([216.24.177.18]:33832 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726021AbgLDVJ4 (ORCPT ); Fri, 4 Dec 2020 16:09:56 -0500 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1klIJz-0006K8-Lg; Sat, 05 Dec 2020 08:08:56 +1100 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Sat, 05 Dec 2020 08:08:55 +1100 Date: Sat, 5 Dec 2020 08:08:55 +1100 From: Herbert Xu To: Ard Biesheuvel Cc: David Howells , Bruce Fields , Chuck Lever , CIFS , Linux NFS Mailing List , "open list:BPF JIT for MIPS (32-BIT AND 64-BIT)" , Linux Kernel Mailing List , Trond Myklebust , Linux Crypto Mailing List , linux-fsdevel@vger.kernel.org, linux-afs@lists.infradead.org Subject: Re: Why the auxiliary cipher in gss_krb5_crypto.c? Message-ID: <20201204210855.GA3412@gondor.apana.org.au> References: <20201204154626.GA26255@fieldses.org> <2F96670A-58DC-43A6-A20E-696803F0BFBA@oracle.com> <160518586534.2277919.14475638653680231924.stgit@warthog.procyon.org.uk> <118876.1607093975@warthog.procyon.org.uk> <122997.1607097713@warthog.procyon.org.uk> <20201204160347.GA26933@fieldses.org> <125709.1607100601@warthog.procyon.org.uk> <127458.1607102368@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, Dec 04, 2020 at 06:35:48PM +0100, Ard Biesheuvel wrote: > > Herbert recently made some changes for MSG_MORE support in the AF_ALG > code, which permits a skcipher encryption to be split into several > invocations of the skcipher layer without the need for this complexity > on the side of the caller. Maybe there is a way to reuse that here. > Herbert? Yes this was one of the reasons I was persuing the continuation work. It should allow us to kill the special case for CTS in the krb5 code. Hopefully I can get some time to restart work on this soon. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt