Commit 0b832fd9 authored by Yang Shen's avatar Yang Shen Committed by Zheng Zengkai
Browse files

crypto: hisilicon/zip - initialize operations about 'sqe' in 'acomp_alg.init'

mainline inclusion
from mainline-v5.13-rc1
commit 2bcf3634
category: feature
bugzilla: 173981
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2bcf36348ce50e650fe8e1db046029afc89ef098



----------------------------------------------------------------------

The operations about 'sqe' are different on some hardwares. Add a struct
'hisi_zip_sqe_ops' to describe the operations in a hardware. And choose the
'ops' in 'hisi_zip_acomp_init' according to the hardware.

Signed-off-by: default avatarYang Shen <shenyang39@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarMingqiang Ling <lingmingqiang@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 420acfac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment