mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 00:21:59 +00:00
6a8dbd71a7
This reverts commit 2beb81fbf0
.
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>
27 lines
724 B
C
27 lines
724 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Cryptographic API.
|
|
*
|
|
* Copyright 2015 LG Electronics Inc.
|
|
* Copyright (c) 2016, Intel Corporation
|
|
* Copyright (c) 2023 Herbert Xu <herbert@gondor.apana.org.au>
|
|
*/
|
|
#ifndef _LOCAL_CRYPTO_COMPRESS_H
|
|
#define _LOCAL_CRYPTO_COMPRESS_H
|
|
|
|
#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 */
|