Skip to content

build(deps): bump github.com/emmansun/gmsm from 0.44.1 to 0.45.0 - #97

Merged
mergify[bot] merged 1 commit into
masterfrom
dependabot-go_modules-github.com-emmansun-gmsm-0.45.0
Oct 5, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
dependabot-go_modules-github.com-emmansun-gmsm-0.45.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 5, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/emmansun/gmsm from 0.44.1 to 0.45.0.

Release notes

Sourced from github.com/emmansun/gmsm's releases.

v0.45.0(2026-10-04)

Massive RISC-V 64 vector-extension support across the library, a Go 1.26 baseline upgrade, and several security and correctness fixes.

Highlights

  • RISC-V 64 (RVV 1.0 + Zvk) vector acceleration for ML-KEM, ML-DSA, SM4 (GCM/CTR/XTS), SM3, ZUC, GCM-SIV, SM2/SM9/BN256
  • Go 1.26 baseline (riscv64 vector crypto paths require Go 1.27+)
  • smx509 upgraded to the Go 1.26 stdlib baseline, with Go 1.27 PKIX name formatting support
  • Security and correctness fixes: pkcs7 out-of-bounds read on truncated BER, SM9 key-wrap ciphertext length checks, multiple XTS fixes

What's Changed

RISC-V 64 vector implementations

ML-KEM (mlkem)

  • Full RVV optimization: NTT / inverse NTT (incl. mulAcc / keygen paths), ring compress & encode (1/4/5/10/11-bit), decodeAndDecompress, samplePolyCBD, rejUniform, polynomial add/sub, with benchmarks (d0c786dd, ec56802c, 95134421, 51c4c2e7, baf78858, 12a28366, 6d644b2b, e288343b, e4be80cf, ...)
  • Keccak-x4 integration and VLEN>128 (M1 layout) support (2be6cccf, 979c2bb4)

ML-DSA (mldsa)

  • RVV optimization: NTT, nttMatRowVecMul, hint make/use & decompose, infinity norm, bit pack/unpack (encode/decode), with benchmarks (2eb3546f, b96c65b5, 320bfdca, 30d9971e, 8df409e6, 262b1f29, ...)

SM4 (internal/sm4)

  • GCM with Zvbc carry-less multiply and Zvkg GHASH paths, including gcm init/data/finish rework and tail optimizations (362eedf1, a2378679, dd1cc459, 27f39363, ...)
  • CTR mode via Zvksed (33934a6b, fba89f6b, ...)
  • XTS mode via Zvksed (ea482c59), incl. VLEN>128 fix (a179e573)

SM3 (internal/sm3)

  • Zvksh vector path using word instructions for go1.27 compatibility (fdaca36f, e7f02778, 63015b2a)

ZUC (internal/zuc)

  • riscv64 EEA / EIA-256 using Zvbb (d9da06a9, b652bbd6, 0cefb3f7, 12f0066b, ...)

GCM-SIV (internal/cipher/gcmsiv)

  • riscv64 Zvkg/Zvbc POLYVAL & mulX_GHASH (fe1ebc48, a9cd77a1, ...)

XTS (internal/cipher/xts)

  • riscv64 mul2Asm / doubleTweaksAsm incl. GB variant (41e6dcef, 22534839, f9ce8029, ...)

Other primitives

  • internal/sm2ec: RVV select primitives with scalar health-check fallback (9bf4fac3, ecb4b776, 96d172c5, 95fc884b)
  • internal/sm9, bn256: RVV select & memory copy, optimized MOVCOND64 (852890f8, e4834d3b)
  • internal/keccakx4: riscv64 support, M1 for VLEN>128 (4d555840, 979c2bb4)
  • internal/deps/cpu: detect RISC-V VLENB and Zvbb/Zvkb/Zvbc/Zvkg/Zvksed/Zvksh features (bc08516d, e97e7a68, 201a3fc4)

Other platforms

  • internal/sm3: LoongArch LASX/LSX optimizations — matrix transpose, VEXTRINSW in LSX schedule (0bc79ed9, ea9e7849, d9958439)
  • mldsa, mlkem: loong64 native XVPERMIQ/XVSHUFB instructions (fdc2e074)
  • smx509: upgrade to Go 1.26 baseline (#629), support Go 1.27 PKIX name formatting (24224d0d)

Performance

... (truncated)

Commits
  • 4328ff9 Merge pull request #634 from emmansun/develop
  • 977a0c4 Merge pull request #616 from emmansun/dependabot/go_modules/develop/golang.or...
  • 843b0d2 build(deps): bump golang.org/x/crypto from 0.55.0 to 0.57.0
  • e298a25 Merge pull request #633 from emmansun/main
  • fdc2e07 mldsa,mlkem: use native instructions for XVPERMIQ XVSHUFB
  • 5f99469 docs: add dixyes as a contributor for bug
  • 1db6186 doc: align contributors
  • 97a35ce Merge pull request #631 from emmansun/all-contributors/add-rajnisht7
  • 9ed0e94 Merge branch 'develop' into all-contributors/add-rajnisht7
  • 1c5f938 Merge pull request #630 from emmansun/all-contributors/add-ligefeiBouncycastle
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/emmansun/gmsm](https://github.com/emmansun/gmsm) from 0.44.1 to 0.45.0.
- [Release notes](https://github.com/emmansun/gmsm/releases)
- [Commits](emmansun/gmsm@v0.44.1...v0.45.0)

---
updated-dependencies:
- dependency-name: github.com/emmansun/gmsm
  dependency-version: 0.45.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Oct 5, 2026
@mergify
mergify Bot merged commit 1795f60 into master Oct 5, 2026
2 of 3 checks passed
@mergify

mergify Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again.

@dependabot
dependabot Bot deleted the dependabot-go_modules-github.com-emmansun-gmsm-0.45.0 branch October 5, 2026 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant