crypto: hisilicon - fix driver compatibility issue with different versions of devices

In order to be compatible with devices of different versions, V1 in the
accelerator driver is now isolated, and other versions are the previous
V2 processing flow.

Signed-off-by: Weili Qian <>
Signed-off-by: Shukun Tan <>
Reviewed-by: Zhou Wang <>
Signed-off-by: Herbert Xu <>
5 files changed