mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
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> (cherry picked from commit 0c4c78de0417ced1da92351a3013e631860ea576) Change-Id: Ie15d9e6119f415c7c5af875fec160299e9053770 Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>