hwrng: stm32 - Fix dependencies for !HAS_IOMEM archs
[deliverable/linux.git] / crypto / shash.c
index ecb1e3d39bf0776a0d8805a9f8fadd3ec288bcb0..88a27de798480cc01eb0220cdf1f0002ddd897e4 100644 (file)
@@ -355,8 +355,10 @@ int crypto_init_shash_ops_async(struct crypto_tfm *tfm)
        crt->finup = shash_async_finup;
        crt->digest = shash_async_digest;
 
-       if (alg->setkey)
+       if (alg->setkey) {
                crt->setkey = shash_async_setkey;
+               crt->has_setkey = true;
+       }
        if (alg->export)
                crt->export = shash_async_export;
        if (alg->import)
This page took 0.024539 seconds and 5 git commands to generate.