u-boot/drivers/crypto/fsl
Aneesh Bansal 3a4800a596 drivers/crypto/fsl: fix endianness issue in RNG
For Setting and clearing the bits in SEC Block registers
sec_clrbits32() and sec_setbits32() are used which work as
per endianness of CAAM block.
So these must be used with SEC register address as argument.
If the value is read in a local variable, then the functions
will not behave correctly where endianness of CAAM and core is
different.

Signed-off-by: Aneesh Bansal <aneesh.bansal@freescale.com>
CC: Alex Porosanu <alexandru.porosanu@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
2015-12-15 08:57:35 +08:00
..
desc.h imx6: Added DEK blob generator command 2015-03-02 09:57:06 +01:00
desc_constr.h crypto/fsl: SEC driver cleanup for 64 bit and endianness 2015-10-29 10:33:57 -07:00
error.c fsl_sec: Add hardware accelerated SHA256 and SHA1 2014-10-16 14:17:07 -07:00
fsl_blob.c imx6: Added DEK blob generator command 2015-03-02 09:57:06 +01:00
fsl_hash.c crypto/fsl: SEC driver cleanup for 64 bit and endianness 2015-10-29 10:33:57 -07:00
fsl_hash.h crypto/fsl - Add progressive hashing support using hardware acceleration. 2015-02-25 13:20:02 -08:00
fsl_rsa.c DM: crypto/fsl - Add Freescale rsa DM driver 2015-01-29 17:09:58 -07:00
jobdesc.c imx6: Added DEK blob generator command 2015-03-02 09:57:06 +01:00
jobdesc.h imx6: Added DEK blob generator command 2015-03-02 09:57:06 +01:00
jr.c drivers/crypto/fsl: fix endianness issue in RNG 2015-12-15 08:57:35 +08:00
jr.h crypto/fsl: SEC driver cleanup for 64 bit and endianness 2015-10-29 10:33:57 -07:00
Kconfig DM: crypto/fsl - Add Freescale rsa DM driver 2015-01-29 17:09:58 -07:00
Makefile Correct License and Copyright information on few files 2015-08-12 20:47:46 -04:00
rsa_caam.h DM: crypto/fsl - Add Freescale rsa DM driver 2015-01-29 17:09:58 -07:00
sec.c drivers/crypto/fsl: clean-up - use fdt_setprop_u32 helper 2015-08-03 12:06:38 -07:00