diff options
| author | Herbert Xu <herbert@gondor.apana.org.au> | 2024-03-13 09:49:37 +0800 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-03-13 09:49:37 +0800 |
| commit | 6a8dbd71a70620c42d4fa82509204ba18231f28d (patch) | |
| tree | 4cf38267140e30c8bd1ae3ec9d02f29b28037020 /include/crypto/internal/acompress.h | |
| parent | 77292bb8ca69c808741aadbd29207605296e24af (diff) | |
| download | linux-6a8dbd71a70620c42d4fa82509204ba18231f28d.tar.gz linux-6a8dbd71a70620c42d4fa82509204ba18231f28d.tar.bz2 linux-6a8dbd71a70620c42d4fa82509204ba18231f28d.zip | |
Revert "crypto: remove CONFIG_CRYPTO_STATS"
This reverts commit 2beb81fbf0c01a62515a1bcef326168494ee2bd0.
While removing CONFIG_CRYPTO_STATS is a worthy goal, this also
removed unrelated infrastructure such as crypto_comp_alg_common.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/internal/acompress.h')
| -rw-r--r-- | include/crypto/internal/acompress.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/crypto/internal/acompress.h b/include/crypto/internal/acompress.h index 475e60a9f9ea..4ac46bafba9d 100644 --- a/include/crypto/internal/acompress.h +++ b/include/crypto/internal/acompress.h @@ -31,7 +31,9 @@ * @init. * * @reqsize: Context size for (de)compression requests + * @stat: Statistics for compress algorithm * @base: Common crypto API algorithm data structure + * @calg: Cmonn algorithm data structure shared with scomp */ struct acomp_alg { int (*compress)(struct acomp_req *req); @@ -42,7 +44,10 @@ struct acomp_alg { unsigned int reqsize; - struct crypto_alg base; + union { + struct COMP_ALG_COMMON; + struct comp_alg_common calg; + }; }; /* |
