xref: /linux/drivers/crypto/intel/qat/qat_common/qat_comp_zstd_utils.h (revision aec2f682d47c54ef434b2d440992626d80b1ebdc)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Copyright(c) 2026 Intel Corporation */
3 #ifndef QAT_COMP_ZSTD_UTILS_H_
4 #define QAT_COMP_ZSTD_UTILS_H_
5 #include <linux/zstd_lib.h>
6 
7 #define QAT_ZSTD_LIT_COPY_LEN	8
8 
9 int qat_alg_dec_lz4s(ZSTD_Sequence *out_seqs, size_t out_seqs_capacity,
10 		     unsigned char *lz4s_buff, unsigned int lz4s_buff_size,
11 		     unsigned char *literals, unsigned int *lit_len);
12 
13 #endif
14