linux-sg2042/drivers/crypto/amcc
Josh Boyer c5697462ae crypto: crypto4xx - Perform read/modify/write on device control register
The Security function on the AMCC SoCs has multiple engines within a
single MMIO range.  The crypto driver currently enables the 3DES
functionality by doing a blind write to the device control register.
This can unintentionally disable other functions like the PKA or TRNG
when the driver is loaded.

Perform a read/modify/write to enable the 3DES function instead.

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2011-06-30 07:44:05 +08:00
..
Makefile crypto: Makefile - replace the use of <module>-objs with <module>-y 2010-10-19 20:52:26 +08:00
crypto4xx_alg.c crypto: crypto4xx - Use crypto_ahash_set_reqsize 2009-07-14 12:58:13 +08:00
crypto4xx_core.c crypto: crypto4xx - Perform read/modify/write on device control register 2011-06-30 07:44:05 +08:00
crypto4xx_core.h of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
crypto4xx_reg_def.h fix typos concerning "initiali[zs]e" 2010-06-16 18:05:05 +02:00
crypto4xx_sa.c Fix common misspellings 2011-03-31 11:26:23 -03:00
crypto4xx_sa.h Fix common misspellings 2011-03-31 11:26:23 -03:00