Sun Yimin
|
17a3dd8d4b
|
change interface{} to any, and remove "+build" build tag #77
|
2023-11-09 08:34:50 +08:00 |
|
Sun Yimin
|
af434c5425
|
try again
|
2023-11-08 14:48:01 +08:00 |
|
Sun Yimin
|
7618dbe006
|
rollback
|
2023-11-08 14:21:39 +08:00 |
|
Sun Yimin
|
d8c22330e3
|
change address mode
|
2023-11-08 14:14:26 +08:00 |
|
Sun Yimin
|
d411f13a58
|
internal/sm2ec: try to fix compile error
|
2023-11-08 14:05:58 +08:00 |
|
Sun Yimin
|
795152631d
|
internal/sm2ec: arm64, uses new method to load y2
|
2023-11-08 14:00:07 +08:00 |
|
Sun Yimin
|
c256f1d257
|
test load global data method
|
2023-11-08 13:06:34 +08:00 |
|
Sun Yimin
|
230fea3435
|
internal/sm2ec: reduce memory access
|
2023-11-08 10:26:19 +08:00 |
|
Sun Yimin
|
720630b65d
|
internal/sm2ec: fix compile error
|
2023-11-08 09:46:26 +08:00 |
|
Sun Yimin
|
f68cfb7759
|
intenal/sm2ec: fix typo
|
2023-11-08 09:42:18 +08:00 |
|
Sun Yimin
|
14c9c94894
|
internal/sm2ec: fix typo
|
2023-11-08 09:38:28 +08:00 |
|
Sun Yimin
|
93a5d6abd1
|
internal/sm2ec: uses neon inst. for p256PointAddAffineAsm
|
2023-11-08 09:32:31 +08:00 |
|
Sun Yimin
|
2f60f0062b
|
internal/sm2ec: use neon inst. for p256Select
|
2023-11-07 16:34:58 +08:00 |
|
Sun Yimin
|
b5c593005d
|
internal/sm2ec: uses neon inst. for p256SelectAffine
|
2023-11-07 16:11:05 +08:00 |
|
Sun Yimin
|
06a310dd4d
|
internal/sm2ec: use neon inst. for p256MovCond
|
2023-11-07 15:05:49 +08:00 |
|
Sun Yimin
|
39751be045
|
internal/sm2ec: fix bug
|
2023-11-07 08:59:50 +08:00 |
|
Sun Yimin
|
224c41c0d0
|
internal/sm2ec: use neon for p256BigToLittle
|
2023-11-07 08:54:30 +08:00 |
|
Sun Yimin
|
429c2db8aa
|
plugin: sm2 sm9 use BP carefully
|
2023-09-11 08:47:02 +08:00 |
|
Sun Yimin
|
0d577d3f42
|
internal/sm2ec: fix error
|
2023-09-08 14:09:48 +08:00 |
|
Sun Yimin
|
7152f4d1ac
|
internal/sm2ec: amd64 support plugin(eliminate usage of R15) #154
|
2023-09-08 14:09:16 +08:00 |
|
Sun Yimin
|
58121ac8cc
|
build: support plugin flag for amd64 #154
|
2023-09-07 08:50:10 +08:00 |
|
Sun Yimin
|
c813a1fb65
|
internal/sm2ec: add boundary test
|
2023-07-28 15:26:42 +08:00 |
|
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
|
84f203d4ad
|
sm2ec: arm64 ww-mm test again
|
2023-06-26 16:47:57 +08:00 |
|
Sun Yimin
|
1ff7cb7b7f
|
sm2ec: arm64 trigger test
|
2023-06-26 16:41:12 +08:00 |
|
Sun Yimin
|
b19dfa6d58
|
sm2ec: arm64 test
|
2023-06-26 16:01:36 +08:00 |
|
Sun Yimin
|
9bcbf9bae9
|
sm2/sm9: eliminate bounds checks in the loop of Select
|
2023-06-21 11:52:32 +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
|
66eae26312
|
sm2ec: arm64 register reuse issue
|
2023-06-14 17:53:13 +08:00 |
|
Sun Yimin
|
a8791437f8
|
sm2ec: fix arm64 func name issue
|
2023-06-14 17:43:27 +08:00 |
|
Sun Yimin
|
de14139590
|
sm2ec: p256ScalarMult change to use w=6
|
2023-06-14 17:30:58 +08:00 |
|
Sun Yimin
|
7f54c1e1a5
|
sm2ec: fix ScalarMult issue when scalar = N - 6
|
2023-06-13 13:24:43 +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
|
b70f6bb374
|
internal/sm2ec: fix test assert bug
|
2023-03-09 14:52:55 +08:00 |
|
Sun Yimin
|
71657b8d34
|
fix possible test failure
|
2023-03-07 08:55:09 +08:00 |
|
Sun Yimin
|
617d2591d6
|
pkcs8: fix gcm parameters asn1 issue
|
2023-02-28 13:43:00 +08:00 |
|
Sun Yimin
|
200a785d29
|
change build tag generic to purego & import nat package
|
2022-11-22 11:02:37 +08:00 |
|
Sun Yimin
|
6253b828c7
|
upgrade dependencies and remove useless code
|
2022-10-11 13:27:56 +08:00 |
|
Sun Yimin
|
8f7a7626ba
|
sm2: support ecdh mqv
|
2022-09-02 14:03:51 +08:00 |
|
Sun Yimin
|
8948bdd931
|
sm2: refactoring to reduce duplicated code
|
2022-08-25 16:45:18 +08:00 |
|
Sun Yimin
|
45d6a74b6a
|
update comment
|
2022-08-19 10:30:19 +08:00 |
|
Sun Yimin
|
b96e51e3ff
|
sm2: supplement test cases
|
2022-08-18 10:54:25 +08:00 |
|
Sun Yimin
|
93dca77af8
|
sync code from sm2fiat and branch 1.16
|
2022-08-17 15:23:59 +08:00 |
|
Sun Yimin
|
bed0b64629
|
sm2ec: error message
|
2022-08-15 15:21:42 +08:00 |
|
Sun Yimin
|
f254673618
|
sm2ec: sync with sdk
|
2022-08-15 15:16:07 +08:00 |
|
Emman
|
eb94980db3
|
run "gofmt -s -w"
|
2022-07-15 16:42:39 +08:00 |
|