weidai11 / cryptopp

free C++ class library of cryptographic schemes
https://cryptopp.com
Other
4.67k stars 1.47k forks source link

Add SM2 public key and elliptic curve algorithms #542

Open noloader opened 6 years ago

noloader commented 6 years ago

SM2 is a 4-part Chinese national standard for public key algorithms, including digital signatures and elliptic curves. See SM2 Digital Signature Algorithm. We recently received some private emails asking for several Chinese algorithms. The email also pointed out US and some European algorithms have good coverage in the library.

cjl3230 commented 5 years ago

Can I help for sm2 something?

noloader commented 5 years ago

@cjl3230,

I'm weak on adding public key algorithms so I have been dragging my feet about it. I wrote some test code a while back and I have several open questions, like how to make some of parameters available to the signing algorithm. (As it stands the PK_Signer interface does not account for it).

cjl3230 commented 5 years ago

@noloader https://github.com/jntass/TASSL.git maybe help you