Implementation for Chinese National Standard Ciphers.
python setup.py install
If you want to custom python module you can change swig template file and then use make to generate new sm wrap files.
After that, you can build and install again.
I have not implement sm2 algorithm because of complexity. So I very glad that somebody may supply sm2 implementation. Thank you very much.