diff options
| author | Herbert Xu <herbert@gondor.apana.org.au> | 2025-02-16 06:07:12 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-02-22 10:59:59 +0300 |
| commit | 075db21426b17609e2374274751b761e35d39664 (patch) | |
| tree | 2a72ef8230c84c8d99d928d2466f97efe7c6572a /include | |
| parent | 217460544a1b9741874dab826eb614e8c006f8a8 (diff) | |
| download | linux-075db21426b17609e2374274751b761e35d39664.tar.xz | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/crypto/hash.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/crypto/hash.h b/include/crypto/hash.h index 2d5ea9f9ff43..9c1f8ca59a77 100644 --- a/include/crypto/hash.h +++ b/include/crypto/hash.h @@ -55,9 +55,6 @@ struct ahash_request { struct scatterlist *src; u8 *result; - /* This field may only be used by the ahash API code. */ - void *priv; - void *__ctx[] CRYPTO_MINALIGN_ATTR; }; |
