Altered SM2 instead of using SM7