crypto: ahash - Only save callback and data in ahash_save_req
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 16 Feb 2025 03:07:12 +0000 (11:07 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 22 Feb 2025 07:59:59 +0000 (15:59 +0800)
commit075db21426b17609e2374274751b761e35d39664
tree2a72ef8230c84c8d99d928d2466f97efe7c6572a
parent217460544a1b9741874dab826eb614e8c006f8a8
crypto: ahash - Only save callback and data in ahash_save_req

As unaligned operations are supported by the underlying algorithm,
ahash_save_req and ahash_restore_req can be greatly simplified to
only preserve the callback and data.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ahash.c
include/crypto/hash.h