Skip to content
SoveaPublic

About

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

Topics

Resources

Stars

13 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

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

Stars

13 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages