[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150711024043.GC24197@gondor.apana.org.au>
Date: Sat, 11 Jul 2015 10:40:43 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Lokesh Vutla <lokeshvutla@...com>
Cc: linux-crypto@...r.kernel.org, davem@...emloft.net,
linux-omap@...r.kernel.org, linux-kernel@...r.kernel.org,
t-kristo@...com, nsekhar@...com
Subject: Re: [PATCH v2 6/7] crypto: omap-aes: Add support for GCM mode
On Fri, Jul 10, 2015 at 07:39:35PM +0530, Lokesh Vutla wrote:
>
> If you don't mind can you elaborate more on the usage of rctx and ctx
> in the driver?
The ctx is a property of the tfm and it's shared by all users
of that tfm. So it must not be written to unless you use locking.
The reqeust context on the other hand is specific to a request
so it can be used to store information.
Cheers,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists