1 release (0 unstable)

3.1.0 Jun 25, 2023
3.1.0-alpha Sep 15, 2023
0.2.1 Jun 25, 2023
0.2.0 Jun 25, 2023
0.1.0 May 9, 2023

#13 in #sm2

Download history 11/week @ 2024-09-19 13/week @ 2024-09-26

56 downloads per month
Used in libgmssl

Apache-2.0

2MB
60K SLoC

C 59K SLoC // 0.1% comments Shell 477 SLoC // 0.1% comments GNU Style Assembly 373 SLoC // 0.2% comments Rust 79 SLoC // 0.1% comments

GMSSL rust 绑定

Features

  • ENABLE_SM2_ALGOR_ID_ENCODE_NULL Enable AlgorithmIdenifier with algorithm sm2sign_with_sm3 encode a NULL object as parameters
  • ENABLE_SM2_PRIVATE_KEY_EXPORT Enable export un-encrypted SM2 private key
  • ENABLE_TLS_DEBUG Enable TLS and TLCP print debug message
  • ENABLE_SM3_AVX_BMI2 Enable SM3 AVX+BMI2 assembly implementation
  • ENABLE_SM4_AESNI_AVX Enable SM4 AESNI+AVX assembly implementation
  • ENABLE_SM2_EXTS Enable SM2 Extensions
  • ENABLE_BROKEN_CRYPTO Enable broken crypto algorithms
  • ENABLE_RDRND Enable Intel RDRND instructions
  • ENABLE_GMT_0105_RNG Enable GM/T 0105 Software RNG
  • ENABLE_HTTP_TESTS Enable HTTP GET/POST related tests

No runtime deps

~0–2.1MB
~43K SLoC