From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756334AbcK2Huw (ORCPT ); Tue, 29 Nov 2016 02:50:52 -0500 Received: from helcar.hengli.com.au ([209.40.204.226]:47812 "EHLO helcar.apana.org.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755412AbcK2Hum (ORCPT ); Tue, 29 Nov 2016 02:50:42 -0500 Date: Tue, 29 Nov 2016 15:50:12 +0800 From: Herbert Xu To: Binoy Jayan Cc: Oded , Ofir , "David S. Miller" , linux-crypto@vger.kernel.org, Mark Brown , Arnd Bergmann , Linux kernel mailing list , Alasdair Kergon , Mike Snitzer , dm-devel@redhat.com, Shaohua Li , linux-raid@vger.kernel.org Subject: Re: [RFC PATCH] crypto: Add IV generation algorithms Message-ID: <20161129075011.GA5331@gondor.apana.org.au> References: <1479723009-11113-1-git-send-email-binoy.jayan@linaro.org> <1479723009-11113-2-git-send-email-binoy.jayan@linaro.org> <20161128124722.GB2257@gondor.apana.org.au> <20161129072824.GA5240@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 29, 2016 at 01:16:46PM +0530, Binoy Jayan wrote: > > No one is using it as of now. It was just a thought to pass context > information, instead of making it part of the context which is shared > among dm-crypt and geniv. OK in that case we should just get rid of it until it's actually needed. In any case, if there was a need for such information we should try to embed it into either the key (per-tfm) or the IV (per-request) as appropriate. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt