lantiq: ltq-deu: fix compatibility with Linux 5.3+
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 29 Feb 2020 20:17:21 +0000 (21:17 +0100)
committerMathias Kresin <dev@kresin.me>
Tue, 3 Mar 2020 20:13:31 +0000 (21:13 +0100)
commit523856eccb89041cb2a40e42d1396b6d68716b8f
tree707dee9c78def5d641ff319a67b75718a7683366
parent310dc3a494041b07fa5bccbfd95b001a7022c2ee
lantiq: ltq-deu: fix compatibility with Linux 5.3+

Upstream commit 84ede58dfcd1d ("crypto: hash - remove
CRYPTO_ALG_TYPE_DIGEST") drops the CRYPTO_ALG_TYPE_DIGEST define because
it has the same value as CRYPTO_ALG_TYPE_HASH. This was the case for
earlier kernels as well. Switch to CRYPTO_ALG_TYPE_HASH to fix building
against Linux 5.4.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
(cherry picked from commit 17421372e895af3abebccc7cf050c92904899fcc)
package/kernel/lantiq/ltq-deu/src/ifxmips_md5.c
package/kernel/lantiq/ltq-deu/src/ifxmips_md5_hmac.c
package/kernel/lantiq/ltq-deu/src/ifxmips_sha1.c
package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c