25 Commits

Author SHA1 Message Date
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
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
8e3dc1f490 MAGIC - move x509 related to smx509 package 2021-02-13 18:11:03 +08:00
Emman
4de671cd8b MAGIC - init amd64 optimization 2021-02-08 08:53:07 +08:00
Emman
462637a7fb MAGIC - use corrected ali csr for test 2021-02-03 15:29:53 +08:00
Emman
9b64ee99d3 MAGIC - csr support, but failed to check ali kms generated csr 2021-01-26 15:50:31 +08:00
Emman
086d9d206e MAGIC - sm2+sm3 ECDSA sign and verify 2021-01-25 16:18:37 +08:00
Emman
cf6789f2f9 MAGIC - add go.mod 2021-01-20 16:52:05 +08:00
Emman
8b0741fed9 MAGIC - sm2 encrypt/decrypt integration with ALI KMS 2021-01-20 13:44:24 +08:00
Emman
9072014572 MAGIC - sm2 elliptic basic implementation, no P256 tuning 2020-12-17 11:03:40 +08:00
Emman
be62e3a042 MAGIC - sm2, basic implementation 2020-12-16 16:27:36 +08:00