crypto: hisilicon/qm - merges the work initialization process into a single function