diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-05-19 11:04:04 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-05-24 12:12:33 +0200 |
commit | b7be31b0d5088507b745bfa014798e52fad6dc7a (patch) | |
tree | df257538a796e23a06638e8bed8b57ef8d5534f4 /mm/page_io.c | |
parent | crypto: cmac - Add support for cloning (diff) | |
download | linux-b7be31b0d5088507b745bfa014798e52fad6dc7a.tar.xz linux-b7be31b0d5088507b745bfa014798e52fad6dc7a.zip |
crypto: shash - Allow cloning on algorithms with no init_tfm
Some shash algorithms are so simple that they don't have an init_tfm
function. These can be cloned trivially. Check this before failing
in crypto_clone_shash.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'mm/page_io.c')
0 files changed, 0 insertions, 0 deletions