summaryrefslogtreecommitdiffstats
path: root/crypto/shash.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/shash.c')
-rw-r--r--crypto/shash.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/shash.c b/crypto/shash.c
index ecb1e3d39bf0..88a27de79848 100644
--- a/crypto/shash.c
+++ b/crypto/shash.c
@@ -355,8 +355,10 @@ int crypto_init_shash_ops_async(struct crypto_tfm *tfm)
355 crt->finup = shash_async_finup; 355 crt->finup = shash_async_finup;
356 crt->digest = shash_async_digest; 356 crt->digest = shash_async_digest;
357 357
358 if (alg->setkey) 358 if (alg->setkey) {
359 crt->setkey = shash_async_setkey; 359 crt->setkey = shash_async_setkey;
360 crt->has_setkey = true;
361 }
360 if (alg->export) 362 if (alg->export)
361 crt->export = shash_async_export; 363 crt->export = shash_async_export;
362 if (alg->import) 364 if (alg->import)