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
Sun Yimin
d8c6788e8f
sm2, sm2ec: remove useless codes since go 1.19
2025-04-07 13:10:09 +08:00
Sun Yimin
0ef30b3ab5
internal/zuc: supplement comments
v0.30.0
2025-04-03 10:40:06 +08:00
Sun Yimin
d3eece5560
cfca: fix test cases #322
2025-04-01 17:06:47 +08:00
Sun Yimin
0af92d8e48
smx509: CFCA CSR supports RSA keys #322
2025-04-01 17:02:13 +08:00
Sun Yimin
bf644fbb4e
docs/zuc: add seekable stream part
2025-03-28 17:19:19 +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
b8d52dd11d
internal/sm9/bn256: make gfP.Unmarshal constant time
2025-03-26 16:37:04 +08:00
Sun Yimin
9ea8293d10
internal/sm2ec/fiat: fix error message
2025-03-26 15:20:30 +08:00
Sun Yimin
e8a847e005
internal/sm9/bn256: remove useless code
2025-03-26 09:49:30 +08:00
Sun Yimin
a7c4473a48
internal/sm9/bn256: reduce big.Int usage
2025-03-26 09:30:39 +08:00
Sun Yimin
11d0438cc4
internal/sm9: reduce usage of big.Int
2025-03-25 17:19:10 +08:00
Sun Yimin
88df15c64c
sm9: implement crypto.Singer crypto.Decrypter interface
2025-03-25 14:58:16 +08:00
Sun Yimin
3eea15b3b8
internal/sm9,sm9: refactor all keys
2025-03-25 11:10:53 +08:00