On Thu, Apr 28, 2016 at 10:38:39AM +0530, Pramod Kumar wrote: > Hi Herbert Xu/ James Morris/ David > > > > I was writing driver for one of my secure processing unit(SPU) which > offloads all SHA/AEAD/ablkciphers. > > > > While registering algos for crypto subsystem I could not find any way where > I could store my SPU private data structure and retrieve it in any alog > callback to maintain things related to SPU like we have in platform or > other drivers where we could store our private structure and retrieve it in > its callback? Other drivers don't seem to have any issues with storing device data, e.g., talitos.c. 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