1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 2 /* 3 * Cryptographic API. 3 * Cryptographic API. 4 * 4 * 5 * Copyright 2015 LG Electronics Inc. 5 * Copyright 2015 LG Electronics Inc. 6 * Copyright (c) 2016, Intel Corporation 6 * Copyright (c) 2016, Intel Corporation 7 * Copyright (c) 2023 Herbert Xu <herbert@gond 7 * Copyright (c) 2023 Herbert Xu <herbert@gondor.apana.org.au> 8 */ 8 */ 9 #ifndef _LOCAL_CRYPTO_COMPRESS_H 9 #ifndef _LOCAL_CRYPTO_COMPRESS_H 10 #define _LOCAL_CRYPTO_COMPRESS_H 10 #define _LOCAL_CRYPTO_COMPRESS_H 11 11 12 #include "internal.h" 12 #include "internal.h" 13 13 14 struct acomp_req; 14 struct acomp_req; 15 struct comp_alg_common; 15 struct comp_alg_common; >> 16 struct sk_buff; 16 17 17 int crypto_init_scomp_ops_async(struct crypto_ 18 int crypto_init_scomp_ops_async(struct crypto_tfm *tfm); 18 struct acomp_req *crypto_acomp_scomp_alloc_ctx 19 struct acomp_req *crypto_acomp_scomp_alloc_ctx(struct acomp_req *req); 19 void crypto_acomp_scomp_free_ctx(struct acomp_ 20 void crypto_acomp_scomp_free_ctx(struct acomp_req *req); >> 21 >> 22 int crypto_acomp_report_stat(struct sk_buff *skb, struct crypto_alg *alg); 20 23 21 void comp_prepare_alg(struct comp_alg_common * 24 void comp_prepare_alg(struct comp_alg_common *alg); 22 25 23 #endif /* _LOCAL_CRYPTO_COMPRESS_H */ 26 #endif /* _LOCAL_CRYPTO_COMPRESS_H */ 24 27
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.