* Getting started with crypto drivers
@ 2013-09-29 18:10 ` Emilio López
0 siblings, 0 replies; 2+ messages in thread
From: Emilio López @ 2013-09-29 18:10 UTC (permalink / raw)
To: herbert, David Miller, linux-crypto, linux-kernel@vger.kernel.org
Hello everyone,
I would like to write a driver to support the "Security System" hardware
block on some Allwinner ARM SoCs. The hardware supports AES, DES, 3DES,
SHA-1, MD5 and has a PRNG. Data passing is done via two FIFOs. You can
find some ugly userspace code to calculate a SHA1 hash here, so you can
get an idea of how it works:
http://git.elopez.com.ar/ss-poc/raw/31c57d893ce8913aa0d87c982f5350433fbe89c7/md5-tool.c
My main issue at the moment is that I do not have any experience working
with the crypto API, and that I found the documentation on
Documentation/ lacking for my purposes. I'd be very grateful if you
could suggest me reading material to understand the "hardware-oriented"
API better, and if you could point me to good drivers I could use as an
example when developing my own.
Thanks!
Emilio
^ permalink raw reply [flat|nested] 2+ messages in thread
* Getting started with crypto drivers
@ 2013-09-29 18:10 ` Emilio López
0 siblings, 0 replies; 2+ messages in thread
From: Emilio López @ 2013-09-29 18:10 UTC (permalink / raw)
To: herbert, David Miller, linux-crypto, linux-kernel@vger.kernel.org
Hello everyone,
I would like to write a driver to support the "Security System" hardware
block on some Allwinner ARM SoCs. The hardware supports AES, DES, 3DES,
SHA-1, MD5 and has a PRNG. Data passing is done via two FIFOs. You can
find some ugly userspace code to calculate a SHA1 hash here, so you can
get an idea of how it works:
http://git.elopez.com.ar/ss-poc/raw/31c57d893ce8913aa0d87c982f5350433fbe89c7/md5-tool.c
My main issue at the moment is that I do not have any experience working
with the crypto API, and that I found the documentation on
Documentation/ lacking for my purposes. I'd be very grateful if you
could suggest me reading material to understand the "hardware-oriented"
API better, and if you could point me to good drivers I could use as an
example when developing my own.
Thanks!
Emilio
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-29 18:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-29 18:10 Getting started with crypto drivers Emilio López
2013-09-29 18:10 ` Emilio López
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.