diff --git a/README.md b/README.md index 980e7b1..8fbfa63 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,10 @@ This is also a **SM3** implementation whose performance is similar like golang n For **SM4** implementation, SIMD & AES-NI are used under **amd64** and **arm64**, for detail please refer [SM4性能优化](https://github.com/emmansun/gmsm/wiki/SM4%E6%80%A7%E8%83%BD%E4%BC%98%E5%8C%96), support CBC/CFB/OFB/CTR/GCM/CCM/XTS modes. +For **SM9** implementation, please reference [sm9/bn256 README.md](https://github.com/emmansun/gmsm/tree/main/sm9/bn256). + +For **ZUC** implementation, SIMD, AES-NI and CLMUL are used under **amd64** and **arm64**, for detail please refer [Efficient Software Implementations of ZUC](https://github.com/emmansun/gmsm/wiki/Efficient-Software-Implementations-of-ZUC) + **SM2 encryption Benchmark** CPU: i5-9500 diff --git a/sm9/bn256/README.md b/sm9/bn256/README.md index b7a27cf..138a6d0 100644 --- a/sm9/bn256/README.md +++ b/sm9/bn256/README.md @@ -1,4 +1,6 @@ This part codes mainly refer two projects: -1. [bn256](https://github.com/cloudflare/bn256), 主要是基域运算 -2. [gmssl sm9](https://github.com/guanzhi/GmSSL/blob/develop/src/sm9_alg.c),主要是2-4-12塔式扩域,以及r-ate等 +1. [bn256](https://github.com/cloudflare/bn256), 主要是基域运算。这个项目的主要问题在于测试太少。 +2. [gmssl sm9](https://github.com/guanzhi/GmSSL/blob/develop/src/sm9_alg.c),主要是2-4-12塔式扩域,以及r-ate等。这个项目的主要问题在于性能没有怎么优化。基于性能考虑,后续r-rate还是参考了bn256的op-ate,并结合sm9的特殊性做了适应性改造。 +3. [SM9 precompute pairing per master public key level](https://github.com/emmansun/gmsm/discussions/60)。 +4. G1, G2曲线倍点运算预计算。