[lkml]   [2015]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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.

Email: Herbert Xu <>
Home Page:
PGP Key:

 \ /
  Last update: 2015-07-11 10:41    [W:0.167 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site