add swig for sm3 and sm4