crypto: caam - hwrng support
authorYuan Kang <Yuan.Kang@freescale.com>
Sat, 23 Jun 2012 00:48:50 +0000 (19:48 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 27 Jun 2012 06:42:06 +0000 (14:42 +0800)
commite24f7c9e87d46fad06bf1097d48f9923acd8e61c
tree15a2f57fd7e43acd51c95779e00f75038ffd8d88
parent643b39b031f546c7c3c60ef360b8260aa2b32762
crypto: caam - hwrng support

caam_read copies random bytes from two buffers into output.

caam rng can fill empty buffer 0xffff bytes at a time,
but the buffer sizes are rounded down to multiple of cacheline size.

Signed-off-by: Yuan Kang <Yuan.Kang@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/Kconfig
drivers/crypto/caam/Makefile
drivers/crypto/caam/caamrng.c [new file with mode: 0644]