From: Steffen Trumtrar Date: Mon, 1 Dec 2014 12:26:34 +0000 (+0100) Subject: crypto: sahara - add support for SHA1/256 X-Git-Tag: omap-for-v3.20/drop-legacy-3517~96^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a2bb93f599247e049f5ae06a573f1152987c572;p=pandora-kernel.git crypto: sahara - add support for SHA1/256 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 and a userspace testprogram using AF_ALG with+without upto 128 pthreads on each AES and SHA256 on i.MX53. Signed-off-by: Steffen Trumtrar Signed-off-by: Herbert Xu --- Reading git-diff-tree failed