]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: caam - add support for SEC v5.x RNG4
authorKim Phillips <kim.phillips@freescale.com>
Sat, 23 Jun 2012 00:48:52 +0000 (19:48 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 27 Jun 2012 06:42:06 +0000 (14:42 +0800)
commit08093dc31af01eda9d44a385571ef977f37c6ee5
tree7ad9560f4431b7b8d440b008f7d75af53d914b37
parent4b465e55d625873358af751c327e79cc22c2f0c2
crypto: caam - add support for SEC v5.x RNG4

The SEC v4.x' RNGB h/w block self-initialized.  RNG4, available
on SEC versions 5 and beyond, is based on a different standard
that requires manual initialization.

Also update any new errors From the SEC v5.2 reference manual:
The SEC v5.2's RNG4 unit reuses some error IDs, thus the addition
of rng_err_id_list over the CHA-independent err_id_list.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/ctrl.c
drivers/crypto/caam/desc.h
drivers/crypto/caam/error.c
drivers/crypto/caam/regs.h