11 Commits

Author SHA1 Message Date
Sun Yimin
ba6bd136f9
internal/sm2ec: add comment for mont. reduction and others 2023-07-26 10:26:32 +08:00
Sun Yimin
76131e6438
internal/sm2ec: not use ADX first 2023-07-21 18:06:22 +08:00
Sun Yimin
a173646017
internal/sm2ec: optiomization for ADX usage and supplement comments 2023-07-20 17:49:53 +08:00
Sun Yimin
3bd048c903
sm2ec: use asm to implement p256OrdReduce 2023-06-16 15:52:28 +08:00
Sun Yimin
50352995ae
sm2ec: fix comment 2023-06-15 21:50:25 +08:00
Sun Yimin
de14139590
sm2ec: p256ScalarMult change to use w=6 2023-06-14 17:30:58 +08:00
Sun Yimin
5e794738ca
sm2ec: amd64 reduce duplicated codes 2023-06-12 09:04:09 +08:00
Sun Yimin
a0c4a389b8
sm2ec: optimize amd64 with MULX & AVX2 2023-06-10 10:55:17 +08:00
Sun Yimin
200a785d29
change build tag generic to purego & import nat package 2022-11-22 11:02:37 +08:00
Sun Yimin
8948bdd931
sm2: refactoring to reduce duplicated code 2022-08-25 16:45:18 +08:00
Sun Yimin
93dca77af8
sync code from sm2fiat and branch 1.16 2022-08-17 15:23:59 +08:00