From: David Howells Subject: Re: [PATCH 08/21] KEYS: Add signature verification facility [ver #3] Date: Wed, 18 Jan 2012 19:59:38 +0000 Message-ID: <31888.1326916778@redhat.com> References: <20111202184229.21874.25782.stgit@warthog.procyon.org.uk> <20111202184406.21874.65285.stgit@warthog.procyon.org.uk> <26123.1326889583@redhat.com> <29789.1326899624@redhat.com> Cc: dhowells@redhat.com, keyrings@linux-nfs.org, linux-crypto@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, zohar@linux.vnet.ibm.com, arjan.van.de.ven@intel.com, alan.cox@intel.com To: "Kasatkin, Dmitry" Return-path: In-Reply-To: Sender: linux-security-module-owner@vger.kernel.org List-Id: linux-crypto.vger.kernel.org Kasatkin, Dmitry wrote: > I thought about export/import. > But I think export/Import is hash driver implementation specific... > Cannot use ahash state for shash... Yeah... I'll have to consult Herbert Xu about that. > As you said in repose to later patch, you could provide some function to > build a final metadata buffer out of signature to finalize the hash... That might be the only way to do it. David