diff options
author | Steffen Trumtrar <s.trumtrar@pengutronix.de> | 2014-12-01 13:26:34 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-12-03 22:30:19 +0800 |
commit | 5a2bb93f599247e049f5ae06a573f1152987c572 (patch) | |
tree | b03e388da1155d432fcf6398ed0994464e25a93b /crypto/af_alg.c | |
parent | c0c3c89ae34764890c2294dc4ddf055940b64c36 (diff) |
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 <s.trumtrar@pengutronix.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/af_alg.c')
0 files changed, 0 insertions, 0 deletions