Skip to content
/ sm2-EVP Public

SM2 simple tool class(C++)/function(C) written using openssl EVP (Based on OpenSSL 1.1.1).

License

Notifications You must be signed in to change notification settings

Sovea/sm2-EVP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sm2-EVP

This project is a simple sm2 tool class(C++)/function(C) written using openssl EVP.

Capable Function Brief CPP C
GenEcPairKey Generate SM2 Key Pair (pem) ✔️ ✔️
PriKey2PubKey Get pubKey by priKey ✔️ ✔️
CreateEVP_PKEY Get EVP_PKEY by pubKey or priKey ✔️ ✔️
Encrypt Encrypt data with SM2 pubkey ✔️ ✔️
Decrypt Decrypt data with SM2 prikey ✔️ ✔️
Sign Sign data with SM2 priKey ✔️ ✔️
Verify Verify signed data with SM2 pubkey ✔️ ✔️

About

SM2 simple tool class(C++)/function(C) written using openssl EVP (Based on OpenSSL 1.1.1).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published