On Wed, Apr 18, 2012 at 03:59:03PM +0200, Andreas WESTIN wrote: > > > On 2012-04-18 09:49, Herbert Xu wrote: > > > >Hmm, if this buffer is written to by the update function, then > >this doesn't work because the buffer resides in the tfm which > >can be used by multiple entities simultaneously. > > > >All writable data must reside in the request, not the tfm. > > I'm looking into it, I assume you mean "req->base.data" ? No, have a look at the helper ahash_request_ctx. You need to state how much memory you need via reqsize. Cheers, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html