162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Cryptographic API. 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Copyright 2015 LG Electronics Inc. 662306a36Sopenharmony_ci * Copyright (c) 2016, Intel Corporation 762306a36Sopenharmony_ci * Copyright (c) 2023 Herbert Xu <herbert@gondor.apana.org.au> 862306a36Sopenharmony_ci */ 962306a36Sopenharmony_ci#ifndef _LOCAL_CRYPTO_COMPRESS_H 1062306a36Sopenharmony_ci#define _LOCAL_CRYPTO_COMPRESS_H 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ci#include "internal.h" 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_cistruct acomp_req; 1562306a36Sopenharmony_cistruct comp_alg_common; 1662306a36Sopenharmony_cistruct sk_buff; 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ciint crypto_init_scomp_ops_async(struct crypto_tfm *tfm); 1962306a36Sopenharmony_cistruct acomp_req *crypto_acomp_scomp_alloc_ctx(struct acomp_req *req); 2062306a36Sopenharmony_civoid crypto_acomp_scomp_free_ctx(struct acomp_req *req); 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ciint crypto_acomp_report_stat(struct sk_buff *skb, struct crypto_alg *alg); 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_civoid comp_prepare_alg(struct comp_alg_common *alg); 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci#endif /* _LOCAL_CRYPTO_COMPRESS_H */ 27