180 Commits

Author SHA1 Message Date
Sun Yimin
d1eb7b386b
rename functions 2024-10-05 11:53:44 +08:00
Sun Yimin
0ef82b1be5
sm9/bn256: gfp ppc64x add/sub 2024-10-05 11:51:31 +08:00
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
2c688bb9d3
subtle: align byte equal alg 2024-05-28 17:33:48 +08:00
Sun Yimin
c99ad27ce1
kdf: share Z hash state #220 2024-05-15 08:28:47 +08:00
Sun Yimin
5adc912824
refine build tags 2024-03-05 09:47:49 +08:00
Sun Yimin
18cc283af2
internal/sm2ec: add comments 2024-02-26 08:25:37 +08:00
emmansun
35466446d4 internal/sm2ec: order sqr/mul WWMM sub first 2024-02-24 13:36:46 +08:00
Sun Yimin
0f3d76705b
sm2: fix enveloped key issue #188 2023-12-13 13:43:05 +08:00
Sun Yimin
1b200746af
fix bug #74 2023-11-09 08:50:13 +08:00
Sun Yimin
83cf55a137
sm2p256_asm.go中切片直接转数组指针 #74 2023-11-09 08:44:50 +08:00
Sun Yimin
17a3dd8d4b
change interface{} to any, and remove "+build" build tag #77 2023-11-09 08:34:50 +08:00
Sun Yimin
ef55df3657
sm9/bn256: use neon inst. for conditional move 2023-11-07 15:33:52 +08:00
Sun Yimin
55e8c795e5
sm9/bn256: fix arm64 non-avx2 issue 2023-10-24 14:50:51 +08:00
Sun Yimin
429c2db8aa
plugin: sm2 sm9 use BP carefully 2023-09-11 08:47:02 +08:00
Sun Yimin
3bb540d45f
sm9/bn256: amd64 asm support plugin, eliminate usage of R15 #154 2023-09-08 16:36:43 +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
ca474a67ba
sm9/bn256: remove useless tmp value storage 2023-07-28 11:19:58 +08:00
Sun Yimin
9035a35b64
sm9/bn256: fix arm64 grammatical errors 2023-07-27 16:12:56 +08:00
Sun Yimin
0ee8177079
sm9/bn256: gfp2MulU1 2023-07-27 15:59:52 +08:00
Sun Yimin
e3d14fb41a
sm9/bn256: reduce register move 2023-07-27 13:03:25 +08:00
Sun Yimin
a10e64f6f5
sm9/bn256: add test cases 2023-07-26 16:37:44 +08:00
Sun Yimin
49513c7420
sm9/bn256: gt use cyclo6 squaring 2023-07-25 16:49:44 +08:00
Sun Yimin
4b09d140af
sm9/bn256: arm64 fix add complete issue 2023-07-25 15:11:41 +08:00
Sun Yimin
0a559b5202
sm9/bn256: arm64 complete add 2023-07-25 15:02:41 +08:00
Sun Yimin
db92a6f60e
sm9/bn256: fix arm64 complete double issue 2023-07-25 13:12:45 +08:00
Sun Yimin
1ecdb1a563
sm9/bn256: arm64 curvePointDoubleComplete fix issue 2023-07-25 13:02:19 +08:00
Sun Yimin
628054399a
sm9/bn256: adjust test case order 2023-07-25 11:54:29 +08:00
Sun Yimin
dd5fcd13d6
sm9/bn256: arm64 curvePointDoubleComplete 2023-07-25 11:47:50 +08:00
Sun Yimin
04e6a1c9b3
sm9/bn256: arm64 gfp2Square & gfp2SquareU 2023-07-25 08:35:00 +08:00
Sun Yimin
c62d6daf74
sm9/bn256: arm64 gfp2MulU 2023-07-25 08:21:44 +08:00
Sun Yimin
ecf14648e9
sm9/bn256: arm64 gfp2Mul 2023-07-25 08:14:56 +08:00
Sun Yimin
087b3ae596
sm9/bn256: arm64 test mul, found issue, try again 2023-07-25 08:09:46 +08:00
Sun Yimin
abf506d8ee
sm9/bn256: arm64 test mul 2023-07-25 08:06:07 +08:00
Sun Yimin
a1335db683
sm9/bn256: arm64 test mul 2023-07-25 07:59:23 +08:00
Sun Yimin
f6ad6f3719
sm9/bn256: arm64 fix mul issue 2023-07-24 16:26:16 +08:00
Sun Yimin
4985c6da53
sm9/bn256: arm64, use register R27 2023-07-24 15:59:39 +08:00
Sun Yimin
73cc8d737c
sm9/bn256: fix copy paste error 2023-07-24 15:31:11 +08:00
Sun Yimin
b7ff7ecd8a
sm9/bn256: fix compile error 2023-07-24 14:46:10 +08:00
Sun Yimin
7989a62e23
sm9/bn256: arm64, forgot one by one 2023-07-24 14:36:00 +08:00
Sun Yimin
248c2de1ef
sm9/bn256: fix arm64 issue 2023-07-24 14:28:23 +08:00
Sun Yimin
b4bd731996
sm9/bn256: fix arm64 issue 2023-07-24 13:18:08 +08:00
Sun Yimin
2394eea76d
sm9/bn256: fix arm64 issue 2023-07-24 13:13:07 +08:00
Sun Yimin
968dfaafa0
sm9/bn256: gfp2 g1 arm64 method one by one 2023-07-24 13:11:38 +08:00
Sun Yimin
de62767f53
sm9/bn256: addcomplete amd64 2023-07-24 13:02:00 +08:00
emmansun
b21a234037 sm9/bn256: curvePointDoubleComplete asm 2023-07-22 17:29:19 +08:00
emmansun
a8b10483e1 sm9/bn256: fix gfpTriple generic implementation issue 2023-07-21 21:07:50 +08:00
Sun Yimin
5b5b26c095
sm9/bn256: fix twist Frobenius bug due to #144, will further review those functions usage 2023-07-21 17:51:25 +08:00
Sun Yimin
16b2a43dc3
sm9/bn256: complete addition fomulas and gfp2 amd64 asm #144 2023-07-21 17:39:06 +08:00