- basic SM4 implementation
- common interface for SM2 and SM4