125 Commits

Author SHA1 Message Date
github-actions[bot]
d57142dda1
Release v0.34.0
* build(deps): bump github/codeql-action from 3.29.11 to 3.30.0 (#361)

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.29.11 to 3.30.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](3c3833e0f8...2d92b76c45)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.30.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump codecov/codecov-action from 5.5.0 to 5.5.1 (#362)

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.5.0 to 5.5.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](fdcc847654...5a1091511a)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: 5.5.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump actions/setup-go from 5.5.0 to 6.0.0 (#363)

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.5.0 to 6.0.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](d35c59abb0...4469467582)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump github/codeql-action from 3.30.0 to 3.30.1 (#364)

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.30.0 to 3.30.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2d92b76c45...f1f6e5f6af)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.30.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump step-security/harden-runner from 2.13.0 to 2.13.1 (#367)

Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.13.0 to 2.13.1.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](ec9f2d5744...f4a75cfd61)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-version: 2.13.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump github/codeql-action from 3.30.1 to 3.30.2 (#368)

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.30.1 to 3.30.2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](f1f6e5f6af...d3678e237b)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.30.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(mlkem): initialize mlkem from golang standard library

* chore(mlkem): refactoring, reduce alloc times

* build(deps): bump github/codeql-action from 3.30.2 to 3.30.3 (#369)

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.30.2 to 3.30.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](d3678e237b...192325c861)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.30.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* doc(README): include MLKEM

* mldsa: refactor the implementation of key and sign/verify

* mldsa,slhdsa: crypto.Signer assertion

* fix(slhdsa): GenerateKey slice issue #72

* fix(slhdsa): copy/paste issue

* slhdsa: supplements package level document

* internal/zuc: eea supports encoding.BinaryMarshaler & encoding.BinaryUnmarshaler interfaces

* mlkem: use clear built-in

* build(deps): bump github/codeql-action from 3.30.3 to 3.30.4 (#376)

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.30.3 to 3.30.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](192325c861...303c0aef88)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.30.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* cipher: initial support gxm & mur modes

* cipher: update comments

* build(deps): bump github/codeql-action from 3.30.4 to 3.30.5 (#377)

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.30.4 to 3.30.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](303c0aef88...3599b3baa1)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.30.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* 增加了DRBG销毁内部状态的方法 (#378)

* 增加了DRBG销毁内部状态的方法

* 统一前缀

* 修改随机数长度

* 分组和注释

* 错误函数描述

* zuc: expose methods to support encoding.BinaryMarshaler and encoding.BinaryUnmarshaler

* drbg: align comments style

* internal/zuc: support fast forward

* internal/zuc: supplement comments

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sun Yimin <emmansun@users.noreply.github.com>
Co-authored-by: Guanyu Quan <quanguanyu@qq.com>
2025-09-30 17:57:25 +08:00
Sun Yimin
359b46453b
internal/zuc,zuc: eea seakable stream support zuc states cache per bucket #321 2025-03-28 16:53:29 +08:00
Sun Yimin
e9692d23ab
zuc: remove useless constants 2025-03-11 16:26:41 +08:00
Sun Yimin
a49eecd572
zuc: move implementation detail to internal 2025-03-11 16:11:18 +08:00
Sun Yimin
d7a6169fbf
internal/cpu: import codes from golang.org/x/sys/cpu #310 2025-03-05 14:54:51 +08:00
Sun Yimin
90fa2233a8
zuc: eea seek benchmark test and refactor 2024-12-06 16:36:24 +08:00
Sun Yimin
0d56114869
zuc: eea XORKeyStreamAt avoid useless calculation 2024-12-05 18:13:23 +08:00
Sun Yimin
9bfea6d73d
zuc: eea XORKeyStreamAt fix issue 2024-12-05 17:59:02 +08:00
Sun Yimin
379396b688
zuc: eea XORKeyStreamAt fix issue 2024-12-05 17:32:24 +08:00
Sun Yimin
14087e2665
zuc: refactor the eea test case issue #284 2024-12-05 08:14:21 +08:00
Sun Yimin
ddb5b69b53
fix #284 2024-12-04 18:54:19 +08:00
Sun Yimin
e6a8b84935
cbcmac: supplement test cases #281 2024-12-03 08:20:59 +08:00
Sun Yimin
d90f8d62e1
zuc: seekable stream, refactor the test case #277 2024-11-29 16:07:31 +08:00
Sun Yimin
895c0db489
zuc: seekable stream refactoring and fix bug #277 2024-11-29 15:19:19 +08:00
Sun Yimin
da9f9c1748
zuc: seakable stream #277 2024-11-29 11:44:59 +08:00
Sun Yimin
e2c430a0ff
zuc: add comments 2024-11-22 08:33:24 +08:00
Sun Yimin
bf14e70c4b
internal/byteorder: new package #275 2024-11-21 14:32:32 +08:00
Sun Yimin
1d6886f069
zuc: fix typo 2024-11-11 18:03:41 +08:00
Sun Yimin
58ad15fde8
zuc: refactoring 2024-11-11 17:53:57 +08:00
Sun Yimin
aa82b5836b
sm4: use package level instead of local for shared variables 2024-11-11 17:40:41 +08:00
Sun Yimin
b721bed0cc
zuc: minor optimization 2024-11-08 11:03:43 +08:00
Sun Yimin
a33c2ae118
zuc: eia256 ppc64x use VPERXOR for bit reverse #262 2024-11-08 09:25:02 +08:00
Sun Yimin
9057b79253
zuc: eia VPERMXOR for bit reverse 2024-11-08 09:00:08 +08:00
Sun Yimin
7c50a612cc
zuc: ppc64x uses XPERMXOR for zuc sbox 2024-11-08 08:48:57 +08:00
Sun Yimin
965f0d1119
ppc64x: rollback first 2024-11-07 17:57:26 +08:00
Sun Yimin
756ec1e6df
ppc64x: try VPERMXOR 2 2024-11-07 17:54:30 +08:00
Sun Yimin
189b2d990e
ppc64x: try VPERMXOR 2024-11-07 17:39:31 +08:00
Sun Yimin
16219eef8a
ppc64x: sm4/zuc reduce VAND 2024-11-07 17:19:53 +08:00
Sun Yimin
1924799006
arm64: sm4/zuc reduce VAND 2024-11-07 17:03:56 +08:00
Sun Yimin
3ea98a3281
zuc: arm64 fix package level variable definition 2024-10-22 08:34:19 +08:00
Sun Yimin
60c8f4550d
zuc: arm64 fix copy paste issue 2024-10-22 08:20:43 +08:00
Sun Yimin
9ef8077107
zuc: eia arm64 redefine constants 2024-10-22 08:14:56 +08:00
Sun Yimin
94372eac9d
zuc: eea ppc4x fix fast return issue #255 2024-10-03 17:11:15 +08:00
Sun Yimin
b7d66dbbc7
zuc: eea ppc64x fix compile issue #255 2024-10-03 16:47:45 +08:00
Sun Yimin
f11b2781e7
zuc: ppc64x, fix compile issue #255 2024-10-03 16:38:39 +08:00
Sun Yimin
0760bce984
zuc: eea ppc64x, fix 1 #255 2024-10-03 16:26:28 +08:00
Sun Yimin
12dcfbac1c
zuc: eea ppc64x, fix compile issue #255 2024-10-03 15:52:24 +08:00
Sun Yimin
9dc7633a48
zuc: ppc64x core/eea #255 2024-10-03 15:45:17 +08:00
Sun Yimin
d9e452d386
zuc: ppc64x, R1/R2 2024-10-03 14:44:27 +08:00
Sun Yimin
c55ca96151
zuc: ppc64x, use correct M1 M2 2024-10-03 14:40:50 +08:00
Sun Yimin
bfaa1f899d
zuc: ppc64x, check f32 2024-10-03 14:10:43 +08:00
Sun Yimin
b291c58f1f
zuc: ppc64x, check S1 2024-10-03 13:57:26 +08:00
Sun Yimin
a193c5dec0
zuc: ppc64x, check r1 r2 2024-10-03 13:45:17 +08:00
Sun Yimin
c8a9036abf
zuc: ppc64x core fix 3 2024-10-03 13:37:20 +08:00
Sun Yimin
3196df5637
zuc: ppc64x, fix f32 2 2024-10-03 13:15:19 +08:00
Sun Yimin
d7e7df7d1b
zuc: ppc64x fix f32 1 2024-10-03 13:03:46 +08:00
Sun Yimin
d8dbbf4a58
zuc: ppc64x, fix constants error 2024-10-03 12:46:02 +08:00
Sun Yimin
652f4d0393
zuc: ppc64x fix compile error 2 2024-10-03 12:37:39 +08:00
Sun Yimin
42d60f042d
zuc: ppc64x, fix compile error 2024-10-03 12:26:58 +08:00
Sun Yimin
0904554637
zuc: ppc64x genKeywordAsm 1 2024-10-03 12:22:20 +08:00