Merge tag 'amd-drm-fixes-6.10-2024-05-30' of https://gitlab.freedesktop.org/agd5f...
[linux-block.git] / crypto / compress.h
CommitLineData
0a742389
HX
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Cryptographic API.
4 *
5 * Copyright 2015 LG Electronics Inc.
6 * Copyright (c) 2016, Intel Corporation
7 * Copyright (c) 2023 Herbert Xu <herbert@gondor.apana.org.au>
8 */
9#ifndef _LOCAL_CRYPTO_COMPRESS_H
10#define _LOCAL_CRYPTO_COMPRESS_H
11
12#include "internal.h"
13
14struct acomp_req;
15struct comp_alg_common;
0a742389
HX
16
17int crypto_init_scomp_ops_async(struct crypto_tfm *tfm);
18struct acomp_req *crypto_acomp_scomp_alloc_ctx(struct acomp_req *req);
19void crypto_acomp_scomp_free_ctx(struct acomp_req *req);
20
0a742389
HX
21void comp_prepare_alg(struct comp_alg_common *alg);
22
23#endif /* _LOCAL_CRYPTO_COMPRESS_H */