Skip to content

This project used for the ECC type China National Algorithm SM2, SM3, SMx implementation

License

Notifications You must be signed in to change notification settings

dreamfly281/SMx_enc_dec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://groups.google.com/forum/#!forum/smx_crypto
This project used for the ECC type China National Algorithm SM2, SM3, ...) implementation For any question and bug report, please contact with Yanbo Li dreamfly281@gmail.com


The SM2 depend on opnessl library currently


Wlecome submit patch, for coding style, we follow Linux Kernel C coding style which can be found from here: http://lxr.linux.no/linux+v4.7.1/Documentation/CodingStyle

REFERENCE

The networh header file define the u8, u16 and u32 size type, also supply endian function as below: #include <arpa/inet.h> uint32_t htonl(uint32_t hostlong); // Host to network uint16_t htons(uint16_t hostshort); // Host to network uint32_t ntohl(uint32_t netlong); // Network to host uint16_t ntohs(uint16_t netshort); // Network to host

Network byte order is big-endian. So, these functions mean: hton*: Host endian to big endian ntoh*: Big endian to host endian

Community (Discussing and patch submit)

Subscribe to mailist smx_crypto@googlegroups.com by send email to smx_crypto+subscribe@googlegroups.com or access the google group directly via https://groups.google.com/forum/#!forum/smx_crypto

Join Slash for IRC https://smx-crypto.slack.com

About

This project used for the ECC type China National Algorithm SM2, SM3, SMx implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published