Skip to contentSkip to conversation

Regarding mechanism to store/retrive the private data structure in any SHA/AEAD/ablkcipher algos

DISCUSSION Herbert Xu 1 participant 1 message May 3, 2016 1 message not in the archive Crypto API

lore
Share & tools
lore

Herbert Xu

author maintainer
#1 lore raw
In reply to a message not in the archive
Quoted 9 lines · Pramod Kumar

Hi Herbert Xu/ James Morris/ David

I was writing driver for one of my secure processing unit(SPU) which offloads all SHA/AEAD/ablkciphers.

Quoted 5 lines

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,

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt