85 Commits

Author SHA1 Message Date
Emman
cfe9842cc0 Merge branch 'main' of https://github.com/emmansun/gmsm 2022-02-15 13:34:57 +08:00
Emman
2d4f19dc27 add comments 2022-02-15 13:28:52 +08:00
emmansun
39f36ddb60 fix #30 2022-02-13 16:05:44 +08:00
Emman
69aa220c2f add comments 2022-02-10 14:34:39 +08:00
Emman
2fa225552f sync upstream #25 2022-02-09 13:03:32 +08:00
Emman
9f1134cd87 Change comments 2022-02-09 10:24:38 +08:00
Emman
535b9ab928 Add SM GM/T references 2022-02-09 10:11:45 +08:00
Emman
ce8cffa33a Comments change and remove sign/verify non-sm2 branch 2022-02-09 09:57:03 +08:00
Emman
93b04f706d [SM2] bug fix private key equal issue 2022-01-28 10:27:29 +08:00
Emman
3af061f194 [SM2] add benchmark test for sign/verify/genkey 2022-01-28 09:45:26 +08:00
Emman
81e9a06398 [SM2] optimize inverse 2022-01-27 14:18:23 +08:00
Emman
7dec383b16 align format 2022-01-21 11:24:10 +08:00
Emman
4156eb1c07 align / change format 2022-01-21 08:33:01 +08:00
徐胖
457acdee32 export sm2.CalculateZA() 2022-01-11 22:55:37 +08:00
Emman
4991042efd sm2 p256 arm64 reduce multiplication 2021-12-28 15:28:22 +08:00
Emman
381476a913 optimize sm2 p256 amd64 implementation, reduce multiplication 2021-12-27 08:54:56 +08:00
Emman
4ff0c4547f optimize sm2 p256 amd64 implementation 2021-12-24 13:13:11 +08:00
Emman
3a701fe2d8 Revert "test"
This reverts commit 0739be69661b0afd512de2c1d694adaeb8efd0b6.
2021-12-23 17:10:01 +08:00
Emman
0739be6966 test 2021-12-23 17:03:35 +08:00
Emman
3914a43b10 fix bug introduced by https://go-review.googlesource.com/c/go/+/233939 2021-12-23 13:34:59 +08:00
Emman
dc5c7205f0 change to use t1 2021-12-23 11:27:51 +08:00
Emman
a0a32b3330 fix error 2021-12-23 11:22:56 +08:00
Emman
b8dc2f97c6 remove duplicated arch 2021-12-23 09:52:27 +08:00
Emman
c73064c24a add test cases 2021-12-23 09:48:09 +08:00
Emman
a59e3e2e87 add ordk0 generation test 2021-12-22 16:59:43 +08:00
Emman
1198d37b38 can't use t2,t3 2021-12-21 12:41:44 +08:00
Emman
e5b44c930a can't use t2,t3 2021-12-21 12:33:45 +08:00
Emman
b3541b9717 missing one 2021-12-21 12:25:27 +08:00
Emman
8f19b10363 can't use t2 t3, conflict with const2 const3 2021-12-21 12:14:19 +08:00
Emman
aa8fc34224 fix error 2021-12-21 11:15:35 +08:00
Emman
6acdd87711 try arm64-graviton2 2021-12-21 08:50:16 +08:00
Emman
cc06c021f8 fix error 2021-12-20 16:37:36 +08:00
Emman
799a1d3ce4 fix error 2021-12-20 16:22:05 +08:00
Emman
485d6317a3 fix build arch issue 2021-12-20 15:21:12 +08:00
Emman
4f1cbebc81 fix error 2021-12-20 15:09:27 +08:00
Emman
2aaa620728 unexpected EOF 2021-12-20 13:19:00 +08:00
Emman
659facc2c4 sm2 arm64 2021-12-20 12:52:51 +08:00
Emman
49e0071a8a Rollback reduction process with multiple and addition 2021-12-17 16:50:47 +08:00
Emman
b2ec672125 add comments 2021-12-15 14:00:48 +08:00
Emman
bb70b71906 supplement test 2021-12-15 13:57:03 +08:00
Emman
b45441f0ed reduce parameter 2021-12-15 10:33:57 +08:00
Emman
0cd7f73183 add comments 2021-12-15 10:32:14 +08:00
Emman
b2713b5e0d crypto/ecdsa: draw a fixed amount of entropy while signing 2021-12-15 08:47:04 +08:00
Emman
64a9f8792e refactoring 2021-12-03 09:04:02 +08:00
Emman
c7f3aa3b6e support ASN.1 format 2021-12-02 17:33:39 +08:00
Emman
db223b3c7f typo 2021-12-02 13:13:43 +08:00
Emman
a7921d9513 typo 2021-12-02 12:57:01 +08:00
Emman
78e22c4df2 Reduce function parameter 2021-12-02 10:48:23 +08:00
Emman
6e3f8e5d1c SM2: add both C1C2C3 & C1C3C2 cipher text splicing order 2021-12-02 10:19:49 +08:00
Emman
97770052bc missing one blank line 2021-11-04 13:07:00 +08:00