diff options
| author | Ovidiu Panait <ovidiu.panait.oss@gmail.com> | 2025-04-07 15:36:03 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-04-17 10:41:47 +0800 |
| commit | 2f5f3cd003fa303574da1a8fcdec9f602b7fc221 (patch) | |
| tree | 355508744bdf5ecd8179acdc94f8bd6a4df38814 /crypto/acompress.c | |
| parent | 5f7325fbb3d416ba66f163a9272e17d70f1d9bf4 (diff) | |
| download | net-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
