summaryrefslogtreecommitdiff
path: root/drivers/crypto/qat/qat_common/qat_bl.h
blob: ed4c200ac619782fdaf8044e0708e5655307b544 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright(c) 2014 - 2022 Intel Corporation */
#ifndef QAT_BL_H
#define QAT_BL_H
#include <linux/scatterlist.h>
#include <linux/types.h>
#include "qat_crypto.h"

void qat_bl_free_bufl(struct qat_crypto_instance *inst,
		      struct qat_crypto_request *qat_req);
int qat_bl_sgl_to_bufl(struct qat_crypto_instance *inst,
		       struct scatterlist *sgl,
		       struct scatterlist *sglout,
		       struct qat_crypto_request *qat_req,
		       gfp_t flags);

#endif