[PATCH openEuler-5.10 18/47] crypto: hisilicon/qm - get error type from hardware registers