Comments (2)
- We need a
sm2.PrivateKey
, if your private key is a pkcs8 format, please usesmx509.ParsePKCS8PrivateKey
; If your private key is an ASN.1 Elliptic Curve Private Key Structure, please usesmx509.ParseSM2PrivateKey
. - For SM9 in TLCP, the description is not clear, for SM9 key exchange, you can reference the implementation, SM9 is NOT an Elliptic Curve implementation, so it's totally different with SM2.
from gmsm.
Thank You!
from gmsm.
Related Issues (20)
- sm2: provide NewPrivateKey & NewPublicKey avoid misapply HOT 1
- SM9 加密验证部分好像有问题 HOT 4
- skf usb 签名数据 gmsm验签 小疑问 HOT 6
- 希望能做更多的封装,让使用更方便一些。减少手工padding、创建cipher对象等重复工作。 HOT 1
- OpenSSL generated SM2 key throws error on parsing HOT 10
- internal/bignat: sync crypto/internal/bigmod: improve verify/encrypt performance
- result of ECB decryption is incomplete HOT 5
- [plugin] Failed to compile as go plugin at buildmode=plugin HOT 3
- [sync sdk] crypto/x509: implement AddCertWithConstraint HOT 2
- [go1.22] crypto/x509: add new OID type and use it in Certificate
- [go1.20] crypto/x509: add support for PKCS8/PKIX X25519 key encodings
- crypto/x509: implement SetFallbackRoots HOT 1
- [go1.21] crypto/x509: surface ReasonCode in RevocationList API
- 0.26 版本 再mac arm上编译不通过 HOT 1
- SM9测试用例数据来源 HOT 2
- sm3: 优化KDF性能-共享哈希Z的中间结果 HOT 1
- sm3: 优化KDF性能-基于SIMD的多路并行(四路) HOT 2
- sm3: 优化KDF性能-AMD64基于AVX2的8路并行 HOT 1
- sync x509 update HOT 2
- Something wrong about Key Gen or/and Curve check HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gmsm.