aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c
diff options
context:
space:
mode:
authorDaniel Kestrel <kestrel1974@t-online.de>2021-05-31 14:32:27 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-01-06 00:22:35 +0100
commite84c4b54f34591b51a2503cadabe37218173036c (patch)
treed525f9a2dc54caf403197c5dddff03f2b13d6700 /package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c
parent737bd4f2969dd65a6348cb6ddac935543531e568 (diff)
downloadupstream-e84c4b54f34591b51a2503cadabe37218173036c.tar.gz
upstream-e84c4b54f34591b51a2503cadabe37218173036c.tar.bz2
upstream-e84c4b54f34591b51a2503cadabe37218173036c.zip
ltq-deu: convert SHA1 after library impl of SHA1 was removed
The <linux/cryptohash.h> was removed with Linux 5.8, because it only contained the library implementation of SHA1, which was folded into <crypto/sha.h>. So switch this driver away from using <linux/cryptohash.h>. Signed-off-by: Daniel Kestrel <kestrel1974@t-online.de>
Diffstat (limited to 'package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c')
-rw-r--r--package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c b/package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c
index 465c58f105..09496c509b 100644
--- a/package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c
+++ b/package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c
@@ -44,8 +44,8 @@
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/crypto.h>
-#include <linux/cryptohash.h>
#include <crypto/internal/hash.h>
+#include <crypto/sha.h>
#include <linux/types.h>
#include <linux/scatterlist.h>
#include <asm/byteorder.h>