summaryrefslogtreecommitdiff
path: root/crypto/compress.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2024-03-13 09:49:37 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2024-03-13 09:49:37 +0800
commit02f50035275e6196772a2301fbce7fbda10812e0 (patch)
treed1440eb94030e01498231240595755811bcf2902 /crypto/compress.h
parentaa26e08ed1c636c7c4d682e3d7b9a7ebe911bfcc (diff)
downloadlinux-crypto-02f50035275e6196772a2301fbce7fbda10812e0.tar.gz
linux-crypto-02f50035275e6196772a2301fbce7fbda10812e0.zip
Revert "crypto: remove CONFIG_CRYPTO_STATS"
This reverts commit 687f35bd1fc7a325fe6f817af864426e66c288b5. 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 'crypto/compress.h')
-rw-r--r--crypto/compress.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/compress.h b/crypto/compress.h
index 23ea4381..19f65516 100644
--- a/crypto/compress.h
+++ b/crypto/compress.h
@@ -12,10 +12,15 @@
#include "internal.h"
struct acomp_req;
+struct comp_alg_common;
struct sk_buff;
int crypto_init_scomp_ops_async(struct crypto_tfm *tfm);
struct acomp_req *crypto_acomp_scomp_alloc_ctx(struct acomp_req *req);
void crypto_acomp_scomp_free_ctx(struct acomp_req *req);
+int crypto_acomp_report_stat(struct sk_buff *skb, struct crypto_alg *alg);
+
+void comp_prepare_alg(struct comp_alg_common *alg);
+
#endif /* _LOCAL_CRYPTO_COMPRESS_H */