Sun Yimin
5f56a469ec
Create SECURITY.md
2025-06-23 11:44:43 +08:00
Sun Yimin
87cfc1480d
Merge pull request #333 from step-security-bot/chore/GHA-230313-stepsecurity-remediation
...
[StepSecurity] Apply security best practices
2025-06-23 11:19:50 +08:00
StepSecurity Bot
32564db705
[StepSecurity] Apply security best practices
...
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
2025-06-23 03:13:12 +00:00
Sun Yimin
8125a409f3
Create scorecard.yml
2025-06-23 10:40:02 +08:00
Sun Yimin
967d93a09a
Update codeql-analysis.yml
...
rename
2025-06-23 10:35:22 +08:00
Sun Yimin
8cfcf01ec3
padding: fix codeql reported security issue
2025-06-23 10:27:45 +08:00
Sun Yimin
59f85b654e
cbcmac: test file uses cbcmac_test package
2025-06-23 08:59:46 +08:00
Sun Yimin
bb64af1a24
all: golint
2025-06-20 10:24:08 +08:00
Sun Yimin
fca59d1a92
all: golint
2025-06-19 16:37:53 +08:00
Sun Yimin
4593cdb30b
all: golint
2025-06-19 13:31:43 +08:00
Sun Yimin
1e53c5f16d
all: lint
2025-06-19 10:38:23 +08:00
Sun Yimin
1a005fa41b
Create licenses.yml
2025-06-18 08:49:51 +08:00
Sun Yimin
b138828e9d
Merge pull request #331 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.39.0
...
build(deps): bump golang.org/x/crypto from 0.38.0 to 0.39.0
2025-06-10 08:22:30 +08:00
dependabot[bot]
bf6b8b6864
build(deps): bump golang.org/x/crypto from 0.38.0 to 0.39.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.38.0 to 0.39.0.
- [Commits](https://github.com/golang/crypto/compare/v0.38.0...v0.39.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.39.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-06-10 00:03:36 +00:00
Sun Yimin
6a12b6eda9
smx509: switch default policy field to Policies
2025-06-09 13:26:37 +08:00
Sun Yimin
f14097864c
smx509: add new OID type and use it in Certificate #209
2025-06-09 11:19:17 +08:00
Sun Yimin
4abeaf929a
Update doc
2025-06-06 17:24:04 +08:00
Sun Yimin
0606f223cd
Create CITATION.cff
2025-06-04 17:15:54 +08:00
Sun Yimin
0ec4ddf58f
mldsa: bounds check elimination
2025-06-04 11:01:59 +08:00
Sun Yimin
5084ea06e3
mldsa: improve sign/verify performance
2025-06-03 10:38:48 +08:00
Sun Yimin
b218e76328
mldsa: add benchmark for Verify
2025-05-30 15:25:37 +08:00
Sun Yimin
8fc001fb45
mldsa: supplement test cases and comments
2025-05-30 10:06:23 +08:00
Sun Yimin
8f0bd765ca
mldsa: add benchmark test
2025-05-29 08:31:25 +08:00
Sun Yimin
67ac5da71e
mldsa: optimize to read a block once
2025-05-28 16:13:40 +08:00
Sun Yimin
3c24ac0690
slhdsa: go1.24 build
2025-05-27 10:14:54 +08:00
Sun Yimin
6f6631236f
slhdsa: provide handy methods
2025-05-27 10:12:08 +08:00
Sun Yimin
da0d651197
sm2: provide SignMessage method to comply with the [crypto.MessageSigner] interface
2025-05-26 15:10:48 +08:00
Sun Yimin
fe1d170bdc
smx509: use truncated SHA-256 for SubjectKeyId #328
2025-05-26 13:34:12 +08:00
Sun Yimin
7e203652ef
smx509: disallow negative path length #329
2025-05-26 13:18:51 +08:00
Sun Yimin
b2b1a9b56b
sm2: provide low-level encoding functions for keys (alias for NewXXX)
2025-05-26 10:49:25 +08:00
Sun Yimin
08bf93c1b1
slhdsa: align function parameter name
2025-05-22 15:47:56 +08:00
Sun Yimin
c467b22fb9
slhdsa: reduce slice make times and supplement comments
2025-05-22 14:21:24 +08:00
Sun Yimin
44b9419aa7
ci: test coverage for golang 1.24
2025-05-21 13:49:11 +08:00
Sun Yimin
64dbdf27c8
slhdsa: supplement more test cases
2025-05-21 11:41:00 +08:00
Sun Yimin
dd24189d7d
slhdsa: SLH-DSA-SHAKE-128f test cases
2025-05-21 11:20:05 +08:00
Sun Yimin
9f0d175f2c
slhdsa: SLH-DSA initialize
2025-05-21 11:10:44 +08:00
Sun Yimin
b634efb6ad
mldsa: generate mldsa65 mldsa87 based on mldsa44
2025-05-09 10:24:21 +08:00
Sun Yimin
0345946203
mldsa: supplement comments
2025-05-08 10:22:30 +08:00
Sun Yimin
fc7dc9a54a
doc: update README
2025-05-07 15:37:09 +08:00
Sun Yimin
8430ebd36c
mldsa: supports prehash dsa
2025-05-07 15:09:31 +08:00
Sun Yimin
834873f0e8
mldsa: supports prehash dsa
2025-05-07 15:08:36 +08:00
Sun Yimin
dfd4143c65
mldsa: requires golang 1.24+
2025-05-07 10:09:48 +08:00
Sun Yimin
90522392f1
mldsa: initial implementation NIST FIPS 204
2025-05-07 10:05:13 +08:00
Sun Yimin
07bf6835b7
Merge pull request #325 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.38.0
...
build(deps): bump golang.org/x/crypto from 0.37.0 to 0.38.0
2025-05-06 08:17:00 +08:00
dependabot[bot]
32d5c4c0c5
build(deps): bump golang.org/x/crypto from 0.37.0 to 0.38.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.37.0 to 0.38.0.
- [Commits](https://github.com/golang/crypto/compare/v0.37.0...v0.38.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.38.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-05-06 00:09:53 +00:00
Sun Yimin
7b75b6b26b
update disclaimer
2025-04-18 08:50:39 +08:00
Sun Yimin
5aacbc2011
Merge pull request #324 from hrimfaxi/main
...
sm9: Prevent PublicKey() returning nil after unmarshaling master priavate key
v0.30.1
2025-04-15 17:31:55 +08:00
YuanHongYe
fe532e12b4
sm9: Prevent PublicKey() returning nil after unmarshaling master private key
...
During unmarshaling of SignMasterPrivateKey and EncryptMasterPrivateKey,
now generate the corresponding public key.
This ensures that PublicKey() does not return nil.
Test cases included to validate the changes.
Signed-off-by: YuanHongYe <yuanhongye@chinatelecom.cn>
2025-04-15 17:01:27 +08:00
Sun Yimin
1dc82305e4
Merge pull request #323 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.37.0
...
build(deps): bump golang.org/x/crypto from 0.36.0 to 0.37.0
2025-04-08 09:28:54 +08:00
dependabot[bot]
ed256a9ea3
build(deps): bump golang.org/x/crypto from 0.36.0 to 0.37.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.36.0 to 0.37.0.
- [Commits](https://github.com/golang/crypto/compare/v0.36.0...v0.37.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.37.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-08 00:52:59 +00:00