Commit 79b8fb1
authored
add ASN.1 support (#40)
* add ASN.1 support
* add bytes mode for SM2 digital signature: crypto/internal/sm2/sm2.go
add the corresponding test: crypto/internal/sm2/sm2_test.go
add SingMode option: crypto/keypair/sm2.go
add the corresponding test: crypto/keypair/sm2_test.go
support bytes mode: crypto/sm2/sign.go
support bytes mode: crypto/sm2/verify.go1 parent 56b6b15 commit 79b8fb1
File tree
6 files changed
+398
-136
lines changed- crypto
- internal/sm2
- keypair
- sm2
6 files changed
+398
-136
lines changed
0 commit comments