Skip to contentSkip to conversation

Crypto Hardware Drivers?

DISCUSSION Kent Borg 1 participant 1 message Dec 8, 2010 Crypto API

lore
Share & tools
lore

Kent Borg

author
#0 lore raw

Is this the right place to ask questions about writing a Linux device driver to make some crypto hardware on an ARM SoC work under the Linux crypto API?

I have some hardware documentation that I don't yet know whether I can talk about (I know, if I can't then the driver will have difficulty being be GPL, and if it isn't an open license, it won't work...).

I have some sample code for the hardware that is an incomplete and obsolete Linux module.
I can see source code examples for things like the Padlock, IXP4xx hardware, etc.
I have never touched any Linux kernel crypto code before this project. (I have done some stuff in userland, so the fact of crypto doesn't scare me.)

At the moment I am trying to understand things like the parameter to crypto_register_alg(), how that is different from crypto_register_ahash()...

And for a DMA case how data moves and who owns the memory.

Stuff like that...

Yes, the sources and Google are my friends, and Documentation/crypto/api-intro.txt has a very promising title but doesn't say terribly much inside.

Are there any obvious key resources I should know about? (Any general pointers would be appreciated, too.)

Thanks,

-kb