Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756066AbcK2Hq4 (ORCPT ); Tue, 29 Nov 2016 02:46:56 -0500 Received: from mail-ua0-f169.google.com ([209.85.217.169]:35630 "EHLO mail-ua0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754410AbcK2Hqr (ORCPT ); Tue, 29 Nov 2016 02:46:47 -0500 MIME-Version: 1.0 In-Reply-To: <20161129072824.GA5240@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> From: Binoy Jayan Date: Tue, 29 Nov 2016 13:16:46 +0530 Message-ID: Subject: Re: [RFC PATCH] crypto: Add IV generation algorithms To: Herbert Xu 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 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 423 Lines: 12 Hi Herbert, On 29 November 2016 at 12:58, Herbert Xu wrote: > But that begs the question, who is supposed to use crypto_geniv_set_ctx? > I thought it was dm-crypt but your patch doesn't contain any uses > of it at all. 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. -Binoy