linux/drivers/crypto/hisilicon/zip/zip.h

/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright (c) 2019 HiSilicon Limited. */
#ifndef HISI_ZIP_H
#define HISI_ZIP_H

#undef pr_fmt
#define pr_fmt(fmt)

#include <linux/list.h>
#include <linux/hisi_acc_qm.h>

enum hisi_zip_error_type {};

struct hisi_zip_dfx {};

struct hisi_zip_ctrl;

struct hisi_zip {};

struct hisi_zip_sqe {};

int zip_create_qps(struct hisi_qp **qps, int qp_num, int node);
int hisi_zip_register_to_crypto(struct hisi_qm *qm);
void hisi_zip_unregister_from_crypto(struct hisi_qm *qm);
bool hisi_zip_alg_support(struct hisi_qm *qm, u32 alg);
#endif