Skip to content

v0.17.4

Compare
Choose a tag to compare
@emmansun emmansun released this 16 Jun 09:38
· 920 commits to main since this release
3cbabc3

Notable Changes:

  • internal/sm2ec: use MULX(Unsigned Multiply Without Affecting Flags) and AVX2 to improve performance. 使用无符号乘法指令以及AVX2提升性能。
  • internal/sm2ec: replace ScalarMult window size from 5 to 6, and reduce the scalar to [0, N-1]. Please refer #127 for detail. 解决ScalarMult实现中最后一个加法的两个点有可能相等的问题。
  • Improve sm3 sm4 pure go implementation performance. 提升sm3/4 纯go语言实现的性能。
  • sm9: get around assignment copies lock value to issue. 私钥中的主公钥改为引用,避免主公钥赋值时"assignment copies lock value"问题。
  • upgrade dependencies (golang.org/x/sys from v0.8.0 to v0.9.0). 升级依赖包。