mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
crypto: hisilicon/zip - support zip capability
Add function 'hisi_zip_alg_support' to get device configuration information from capability registers, instead of determining whether to register an algorithm based on hardware platform's version. Signed-off-by: Weili Qian <qianweili@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
@@ -84,4 +84,5 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user