It is also a good idea to change "sm3-256" to "sm3" in hash_info, I will submit a new patch to fix this problem.