[PATCH 1/2] crypto: sahara - add support for i.MX53

2014-08-18 Thread Steffen Trumtrar
The Sahara on the i.MX53 is of version 4. Add support for probing the device. Signed-off-by: Steffen Trumtrar --- .../devicetree/bindings/crypto/fsl-imx-sahara.txt | 2 +- drivers/crypto/sahara.c | 17 ++--- 2 files changed, 15 insertions(+), 4

[PATCH 2/2] crypto: sahara - add support for SHA1/256

2014-08-18 Thread Steffen Trumtrar
Add support for the MDHA unit in the SAHARA core. The MDHA can generate hash digests for MD5 and SHA1 in version 3 and additionally SHA224 and SHA256 in version 4. Add the SHA1 and SHA256 algorithms to the driver. The implementation was tested with the in-kernel testmgr on i.MX27 and i.MX53. Sig