add VSFSM_CFG_HSM_EN to configure if HSM is supported, will save more than 150 bytes code if disabled