Message ID | 20231107023717.820093-1-dima@arista.com |
---|---|
State | New |
Headers | show |
Series | crypto: ahash - Set using_shash for cloned ahash wrapper over shash | expand |
diff --git a/crypto/ahash.c b/crypto/ahash.c index deee55f939dc..80c3e5354711 100644 --- a/crypto/ahash.c +++ b/crypto/ahash.c @@ -651,6 +651,7 @@ struct crypto_ahash *crypto_clone_ahash(struct crypto_ahash *hash) err = PTR_ERR(shash); goto out_free_nhash; } + nhash->using_shash = true; *nctx = shash; return nhash; }