[Acc] [PATCH 3/6] drv/hisi_sec: add long hash parameter check