20 Commits

Author SHA1 Message Date
Sun Yimin
1b512e5772
internal/cryptotest: add tests for the hash.Hash cipher.BlockMode cipher.Block interfaces 2024-08-02 13:02:25 +08:00
Sun Yimin
81b0c7f5ae
internal/bigmod: make CmpGeq public 2024-05-31 18:13:14 +08:00
Sun Yimin
5c85d63724
internal/bigmod: unroll loop in addMulVVW for ppc64x 2024-03-06 17:47:29 +08:00
Sun Yimin
f7beee3dae
internal/bigmod: riscv64, try old version 2024-03-04 11:15:47 +08:00
Sun Yimin
5ca8006d1e
internal/bigmod: port riscv64 implementation from Golang 2024-03-04 08:53:33 +08:00
Sun Yimin
5cf5e347bc
internal/bigmod: sync sdk #200 2024-01-12 17:43:51 +08:00
Sun Yimin
17a3dd8d4b
change interface{} to any, and remove "+build" build tag #77 2023-11-09 08:34:50 +08:00
emmansun
71ab69ef9b internal/bigmod: avoid duplicated name with golang sdk 2023-08-16 14:34:31 +08:00
Sun Yimin
78542032f2
bigmod: fix non adx version amd64 256 bits bug #133 2023-06-29 09:52:41 +08:00
Sun Yimin
a0c4a389b8
sm2ec: optimize amd64 with MULX & AVX2 2023-06-10 10:55:17 +08:00
Sun Yimin
df8cb4d95d
bigmod: optimization for 256 bits 2023-06-07 09:43:20 +08:00
Sun Yimin
36a92eff46
fix array len issue 2023-06-01 11:40:28 +08:00
Sun Yimin
88a158f61c
fix golang sdk version issue 2023-06-01 11:22:43 +08:00
Sun Yimin
0bf96ecea2
fix compile issue 2023-06-01 11:12:23 +08:00
Sun Yimin
f32b7e1afc
[sync sdk] crypto/internal/bigmod: switch to saturated limbs 2023-06-01 10:39:12 +08:00
Sun Yimin
33c6d26f07
fix nilness finding 2023-04-20 15:47:08 +08:00
Sun Yimin
35a2ebe48f
internal/bigmod: flag amd64 assembly as noescape 2023-02-16 09:00:38 +08:00
Sun Yimin
c477816aa7
sm9: use bigmod instead of math/big, part 2 2022-11-25 17:45:11 +08:00
Sun Yimin
a45e13d148
sm2: use bigmod and sm2ec instead of math/big and crypto/elliptic 2022-11-23 10:20:13 +08:00
Sun Yimin
200a785d29
change build tag generic to purego & import nat package 2022-11-22 11:02:37 +08:00