lantiq: ltq-deu: fix compatibility with Linux 5.3+
[openwrt/openwrt.git] / package / kernel / lantiq / ltq-deu / src / ifxmips_sha1_hmac.c
index 791b966755963224aef83ded294c3932b4c49c61..7776c51686a2bccfda871dcd760636d008bf7f88 100644 (file)
@@ -334,7 +334,7 @@ static struct shash_alg ifxdeu_sha1_hmac_alg = {
                 .cra_driver_name=       "ifxdeu-sha1_hmac",
                 .cra_priority   =       400,
                .cra_ctxsize    =       sizeof(struct sha1_hmac_ctx),
-                .cra_flags      =       CRYPTO_ALG_TYPE_DIGEST,
+                .cra_flags      =       CRYPTO_ALG_TYPE_HASH,
                 .cra_blocksize  =       SHA1_HMAC_BLOCK_SIZE,
                 .cra_module     =       THIS_MODULE,
         }