sfackler / rust-openssl

OpenSSL bindings for Rust
1.39k stars 742 forks source link

Status of supporting SM2/SM3/SM4 in this library? #1889

Open TommyLike opened 1 year ago

TommyLike commented 1 year ago

I think SM2/SM3/SM4 has already been supported in openssl library, my question is can we use these algorithm in this libaray now?

  1. SM2: https://www.openssl.org/docs/manmaster/man7/SM2.html
  2. SM3: https://www.openssl.org/docs/man1.1.1/man3/EVP_sm3.html
  3. SM4: https://www.openssl.org/docs/man3.0/man7/EVP_CIPHER-SM4.html
jiangshibiao commented 1 year ago

It seems that sm3 & sm4 have already been supported by rust-openssl, but sm2 hasn't yet.

TommyLike commented 6 months ago

@alex do we have any plan to support this? As an endpoint user, we would expect this feature supported in rust-openssl.