[PATCH v2 2/4] testsuite: add test for SM3 hash function