diff options
author | 2025-03-21 16:43:28 +0800 | |
---|---|---|
committer | 2025-03-22 07:25:19 +0800 | |
commit | 108ce629cf73a3df32fa04b17aedc97c1431b2ac (patch) | |
tree | 38c9b37bc5bffccf38c778fbf6bcf5419bbcff8b /net/lapb/lapb_timer.c | |
parent | crypto: arm/ghash-ce - Remove SIMD fallback code path (diff) | |
download | wireguard-linux-108ce629cf73a3df32fa04b17aedc97c1431b2ac.tar.xz wireguard-linux-108ce629cf73a3df32fa04b17aedc97c1431b2ac.zip |
crypto: hash - Fix synchronous ahash chaining fallback
The synchronous ahash fallback code paths are broken because the
ahash_restore_req assumes there is always a state object. Fix this
by removing the state from ahash_restore_req and localising it to
the asynchronous completion callback.
Also add a missing synchronous finish call in ahash_def_digest_finish.
Fixes: f2ffe5a9183d ("crypto: hash - Add request chaining API")
Fixes: 439963cdc3aa ("crypto: ahash - Add virtual address support")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions