Releases: emmansun/gmsm
Releases · emmansun/gmsm
v0.34.1: Merge develop into main (#386)
Release v0.34.0
Release v0.33.0
Notable Changes:
- mldsa: implements
crypto.Signer
interface. - slhdsa: implements
crypto.Signer
interface. - slhdsa: fix
GenerateKey
bug.
v0.32.0: Merge develop into main (#370)
Notable Changes:
- supports PQC: ML‐KEM (ML-KEM-512, ML-KEM-768, ML-KEM-1024), requires go 1.24+.
v0.31.0
Notable Changes:
- supports PQC: ML‐DSA, , requires go 1.24+
- supports PQC: SLH‐DSA, , requires go 1.24+
- sm2: provide low-level encoding functions for keys (alias for NewXXX)
- sm2: provide SignMessage method to comply with the [crypto.MessageSigner] interface
- sm9: add back SetMasterPublic methods
- smx509: disallow negative path length #329
- smx509: use truncated SHA-256 for SubjectKeyId #328
- smx509: add new OID type and use it in Certificate #209
- smx509: switch default policy field to Policies
v0.30.1
What's Changed
- build(deps): bump golang.org/x/crypto from 0.36.0 to 0.37.0 by @dependabot in #323
- sm9: Prevent PublicKey() returning nil after unmarshaling master priavate key by @hrimfaxi in #324
New Contributors
Full Changelog: v0.30.0...v0.30.1
v0.30.0
Notable Changes:
- all: upgrade go directive to at least 1.23.0
- all: change to use go's own XORBytes function #315
- cbcmac: enable provided padding method #319
- cfca: support RSA keys for CSR creation #322
- cipher: move xts detail implementation to internal #320
- internal/bigmod: explicitly clear expanded limbs on reset #313
- internal/deps/cpu: import golang.org/x/sys/cpu #310
- internal/sm2ec: make SetBytes constant time #309
- internal/sm9/bn256: make gfP.Unmarshal constant time and reduce big.Int usage
- padding: implement ISO IEC9797-1 padding method 3 #319
- sm3: move implementation detail to internal/sm3
- sm4: move implementation detail to internal/sm4
- sm9: refactoring, do not expose bn256 types to caller #314
- smx509: add new CRL parser, deprecate old one #40
- smx509: add support for PKCS8/PKIX X25519 key encodings #210
- smx509: avoid crypto/rand.Int to generate serial number #308
- smx509: better handling of weird encodings #316
- smx509: surface ReasonCode in RevocationList API #212
- zuc: move implementation detail to internal/zuc
- zuc: support to keep/cache states per bucket for seekable stream #321
Notes:
sm9 have some incompatible changes.
v0.29.8
v0.29.7
v0.29.6
Notable Changes:
- cfca: add pkcs7 signed data facade
- cfca: support cfca certificate request #286
- cfca: parse returned encryption key #286
- cfca: extract encrypt/decrypt functions with SM4CBC and SM3 KDF
- build(deps): bump golang.org/x/crypto from 0.29.0 to 0.30.0
- build(deps): bump golang.org/x/sys from 0.27.0 to 0.28.0