commit | 0c4c78de0417ced1da92351a3013e631860ea576 | [log] [tgz] |
---|---|---|
author | LABBE Corentin <clabbe.montjoie@gmail.com> | Thu Dec 17 13:45:39 2015 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Tue Dec 22 20:43:35 2015 +0800 |
tree | 1901728828a5891d3a8e1f5db23226682a9bb41d | |
parent | 51d77dddfff4a554744bfa0e67cf571319635645 [diff] |
crypto: hash - add zero length message hash for shax and md5 Some crypto drivers cannot process empty data message and return a precalculated hash for md5/sha1/sha224/sha256. This patch add thoses precalculated hash in include/crypto. Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>