aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/acompress.c
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait.oss@gmail.com>2025-04-07 15:36:03 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2025-04-17 10:41:47 +0800
commit2f5f3cd003fa303574da1a8fcdec9f602b7fc221 (patch)
tree355508744bdf5ecd8179acdc94f8bd6a4df38814 /crypto/acompress.c
parent5f7325fbb3d416ba66f163a9272e17d70f1d9bf4 (diff)
downloadnet-2f5f3cd003fa303574da1a8fcdec9f602b7fc221.tar.gz
crypto: sun8i-ss - use API helpers to setup fallback request
Rather than setting up the fallback request by hand, use ahash_request_set_callback() and ahash_request_set_crypt() API helpers to properly setup the new request. This also ensures that the completion callback is properly passed down to the fallback algorithm, which avoids a crash with async fallbacks. Signed-off-by: Ovidiu Panait <ovidiu.panait.oss@gmail.com> Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com> Acked-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/acompress.c')
0 files changed, 0 insertions, 0 deletions