61 Commits

Author SHA1 Message Date
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
Emman
86e68c4b7c Remove useless var 2021-11-04 10:30:05 +08:00
Emman
e1fa144e15 store SM2 precomputed basepoint table in source 2021-11-04 10:00:50 +08:00
Emman
4a7e41b380 crypto: avoid escaping Hash.Sum on generic architectures 2021-10-08 13:57:14 +08:00
Sun Yimin
9a011f124a
Update sm2.go
trigger build
2021-06-28 12:20:37 +08:00
Emman
bdc049b882 MAGIC - refactoring 2021-06-28 11:20:47 +08:00
Emman
39492b01bf MAGIC - remove useless code 2021-06-08 12:58:01 +08:00
Emman
6ef7234916 MAGIC - upgrade 2021-06-08 11:45:40 +08:00
Emman
c3f59f3e7b MAGIC - avoid nil message passed in 2021-03-24 16:20:01 +08:00
Emman
798dbe465e MAGIC - consider performance, just base zero check 2021-02-25 13:55:40 +08:00
Emman
586ab84f33 MAGIC - move public key check out of loop 2021-02-25 13:37:14 +08:00
Emman
2dd11a9e9a MAGIC - avoid endless loop, validate public key 2021-02-25 10:53:53 +08:00
emmansun
d8dc283187 MAGIC - use interface to avoid implementation dependency 2021-02-16 10:17:46 +08:00
emmansun
1183f9d3c2 MAGIC - bad idea to port whole x509 2021-02-15 20:09:49 +08:00
emmansun
a1cb0a2616 MAGIC - refactor 2021-02-15 10:36:28 +08:00
emmansun
e3b5c05ec0 add comments 2021-02-13 20:32:22 +08:00
emmansun
8e3dc1f490 MAGIC - move x509 related to smx509 package 2021-02-13 18:11:03 +08:00
emmansun
371ea2f4b3 MAGIC - optimize p256Mul p256FromMont 2021-02-12 14:54:21 +08:00
emmansun
aa6b436714 MAGIC - optimize sm2P256SqrInternal 2021-02-12 12:59:25 +08:00
emmansun
b97c484b85 MAGIC - optimize p256Sqr, avoid mul 2021-02-12 11:55:23 +08:00
Emman
de1c178aed MAGIC - fix Inverse method 2021-02-10 15:26:20 +08:00
Emman
86ccc78778 MAGIC - Inverse is still incorrect 2021-02-10 15:07:00 +08:00
Emman
dc9dba9fd6 MAGIC - passed encryption/decryption test 2021-02-10 11:24:20 +08:00
Emman
917a351f3d MAGIC - step 2, p256PointAddAsm/ScalarMult are incorrect yet 2021-02-09 17:42:54 +08:00
Emman
1a46185db8 MAGIC - step 2, completed part of asm 2021-02-08 19:39:39 +08:00