linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Crypto Hardware Drivers?
@ 2010-12-08 21:13 Kent Borg
  0 siblings, 0 replies; 3+ messages in thread
From: Kent Borg @ 2010-12-08 21:13 UTC (permalink / raw)
  To: linux-crypto

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Crypto Hardware Drivers?
@ 2010-12-13 17:43 Tobias Karnat
  2010-12-13 17:53 ` Kent Borg
  0 siblings, 1 reply; 3+ messages in thread
From: Tobias Karnat @ 2010-12-13 17:43 UTC (permalink / raw)
  To: Kent Borg; +Cc: linux-crypto

Hi,

In case it is based on TI OMAP, there are already drivers available:

OMAP SHA1/MD5 driver:
http://marc.info/?l=linux-crypto-vger&m=127246431212905&w=2
http://marc.info/?l=linux-crypto-vger&m=129017544602970&w=2

OMAP2/3 AES HW accelerator driver:
http://marc.info/?l=linux-crypto-vger&m=128231192601283&w=2
http://marc.info/?l=linux-crypto-vger&m=129110479321959&w=2

However the OMAP's are supposed to also support DES/3DES acceleration,
in case my guess was right, do you can think of writing a driver for it?

-Tobias

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Crypto Hardware Drivers?
  2010-12-13 17:43 Crypto Hardware Drivers? Tobias Karnat
@ 2010-12-13 17:53 ` Kent Borg
  0 siblings, 0 replies; 3+ messages in thread
From: Kent Borg @ 2010-12-13 17:53 UTC (permalink / raw)
  To: Tobias Karnat; +Cc: linux-crypto

Tobias Karnat wrote:
> In case it is based on TI OMAP, there are already drivers available:
>   

No, unfortunately, it isn't. 


-kb, the Kent who has looked through the existing crypto drivers to 
learn how they work, and who would have loved to have found one that 
matched his hardware.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-13 17:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-13 17:43 Crypto Hardware Drivers? Tobias Karnat
2010-12-13 17:53 ` Kent Borg
  -- strict thread matches above, loose matches on Subject: below --
2010-12-08 21:13 Kent Borg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).