Commit Graph

  • bdb169b06b
    sm9: refactoring, do not expose bn256 types to caller #314 Sun Yimin 2025-03-13 14:14:45 +08:00
  • 43ffd49e2f
    sm9: refactoring, do not expose bn256 types to caller #314 Sun Yimin 2025-03-13 13:46:14 +08:00
  • e9692d23ab
    zuc: remove useless constants Sun Yimin 2025-03-11 16:26:41 +08:00
  • 21f96e536b
    internal/zuc: fix build error Sun Yimin 2025-03-11 16:13:59 +08:00
  • a49eecd572
    zuc: move implementation detail to internal Sun Yimin 2025-03-11 16:11:18 +08:00
  • 537c80a28b
    sm3: move implementation detail to internal Sun Yimin 2025-03-11 14:02:47 +08:00
  • 5edcb0f966
    sm4: move implementation detail to internal Sun Yimin 2025-03-11 11:43:49 +08:00
  • 65a69ad83c
    internal/bigmod: explicitly clear expanded limbs on reset #313 Sun Yimin 2025-03-11 08:58:16 +08:00
  • 71b196a5ac
    Merge pull request #312 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.36.0 Sun Yimin 2025-03-11 08:20:58 +08:00
  • 500cb8a418
    build(deps): bump golang.org/x/crypto from 0.35.0 to 0.36.0 #312 dependabot[bot] 2025-03-10 23:41:37 +00:00
  • 762cbbf0c6
    ci: check macOs Sun Yimin 2025-03-05 15:09:15 +08:00
  • 9d6f8087f9
    internal/cpu: correct import #310 Sun Yimin 2025-03-05 15:03:21 +08:00
  • a6d8014ac9
    internal/cpu: missing one #310 Sun Yimin 2025-03-05 14:58:28 +08:00
  • d7a6169fbf
    internal/cpu: import codes from golang.org/x/sys/cpu #310 Sun Yimin 2025-03-05 14:54:51 +08:00
  • 67f187b1d3
    sm4: define & use type KeySizeError Sun Yimin 2025-03-05 10:56:13 +08:00
  • 759bb4c0b9
    internal/sm2ec: make SetBytes constant time, use latest golang features #309 Sun Yimin 2025-03-04 11:30:20 +08:00
  • 5ade794e6b
    internal/sm2ec: make SetBytes constant time #309 Sun Yimin 2025-03-04 08:59:51 +08:00
  • 89962cf1e3
    smx509: avoid crypto/rand.Int to generate serial number #308 Sun Yimin 2025-03-04 08:48:18 +08:00
  • d433e416fa
    ci: enable code coverage Sun Yimin 2025-02-27 13:08:09 +08:00
  • 2c0f5f68fc
    smx509: add support for PKCS8/PKIX X25519 key encodings #210 Sun Yimin 2025-02-27 11:44:53 +08:00
  • 3d4dd002a4
    smx509: add new CRL parser, deprecate old one #40 Sun Yimin 2025-02-27 10:22:19 +08:00
  • 9ba88a32a4
    smx509: use bytes.Clone Sun Yimin 2025-02-27 08:16:07 +08:00
  • 0bb54adc1e
    cipher: use new functions Sun Yimin 2025-02-26 11:46:48 +08:00
  • a98b806453
    padding: use new function clear() Sun Yimin 2025-02-26 11:41:47 +08:00
  • 51a003b022
    sm3: remove duplicated code Sun Yimin 2025-02-26 11:16:47 +08:00
  • dc1c5806c9
    internal/bigmod: use clear() Sun Yimin 2025-02-26 10:50:35 +08:00
  • 869be23867
    sm4: remove unused package Sun Yimin 2025-02-26 10:26:29 +08:00
  • 8a25134c82
    sm4: fallback ctr change Sun Yimin 2025-02-26 10:24:46 +08:00
  • 27e7ceacbc
    sm4: use new functions: clear(), bytes.Clone() Sun Yimin 2025-02-26 10:19:56 +08:00
  • ec8580b01f
    sm2: fix go1.24 test issue Sun Yimin 2025-02-26 09:46:03 +08:00
  • 2192b702b0
    upgrade github action to 1.23+ Sun Yimin 2025-02-26 08:50:00 +08:00
  • d03a8fba3f
    upgrade to go 1.23 Sun Yimin 2025-02-26 08:46:40 +08:00
  • 9bb23143d8
    update github actions go_1.18 Sun Yimin 2025-02-26 08:43:26 +08:00
  • 33c609242c
    internal/cpuid: use var block v0.29.8 Sun Yimin 2025-02-26 08:25:58 +08:00
  • 3c7837ba9a
    build(deps): bump golang.org/x/crypto from 0.33.0 to 0.35.0 #306 dependabot[bot] 2025-02-24 23:45:44 +00:00
  • d2dd4de947
    doc: add smart questions link Sun Yimin 2025-02-18 08:49:36 +08:00
  • 1aed89febd
    subtle: combine xor_<goarch>.go files #304 Sun Yimin 2025-02-17 08:32:20 +08:00
  • a248fea7f9
    Merge pull request #302 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.33.0 Sun Yimin 2025-02-11 07:34:43 +08:00
  • 53465ae10a
    build(deps): bump golang.org/x/crypto from 0.32.0 to 0.33.0 #302 dependabot[bot] 2025-02-10 23:30:00 +00:00
  • 55fcbe86d1
    build(deps): bump golang.org/x/sys from 0.29.0 to 0.30.0 #301 dependabot[bot] 2025-02-10 23:29:58 +00:00
  • 02becc69c5 doc typo #300 kvii 2025-01-24 17:45:30 +08:00
  • ea592fe3d0
    cfca: fix typo Sun Yimin 2025-01-23 16:35:32 +08:00
  • 9e57bb91b2
    cfca: add examples Sun Yimin 2025-01-23 11:28:54 +08:00
  • ee55d370f8
    improve test coverage and remove deprecated methods Sun Yimin 2025-01-22 10:28:01 +08:00
  • 4c88efbaee
    sm2: provide a specific hash.Hash implementation #297 Sun Yimin 2025-01-20 17:36:46 +08:00
  • 80a264c995
    sm2: update document Sun Yimin 2025-01-17 13:54:16 +08:00
  • 50a5e49d38
    smx509: properly check for IPv6 hosts in URIs #296 Sun Yimin 2025-01-17 08:30:27 +08:00
  • cb51b3657a
    pkcs7: sync with upstream v0.29.7 Sun Yimin 2025-01-16 16:04:45 +08:00
  • cf6e203d06
    pkcs7: update comments and document Sun Yimin 2025-01-16 10:59:30 +08:00
  • 057ddb5bcb
    pkcs7: fix error message Sun Yimin 2025-01-15 17:18:37 +08:00
  • 94e533ca15
    pkcs7: fix typo #294 Sun Yimin 2025-01-15 08:50:09 +08:00
  • 818e14ee32
    pkcs7: fix verify signing time check issue #294 Sun Yimin 2025-01-14 17:10:00 +08:00
  • 8331b37e37
    pkcs7: deleted a line by mistake #294 Sun Yimin 2025-01-14 16:52:15 +08:00
  • bef7f5421e
    pkcs7: sign precomputed digest #294 Sun Yimin 2025-01-14 16:41:03 +08:00
  • cbdb454b14 pkcs7: 签名支持外部hash #295 zhangyongding 2025-01-13 19:51:19 +08:00
  • 5a0ff81dc3
    Merge pull request #293 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.32.0 Sun Yimin 2025-01-07 07:53:00 +08:00
  • b865b59a95
    build(deps): bump golang.org/x/crypto from 0.31.0 to 0.32.0 #293 dependabot[bot] 2025-01-06 23:48:52 +00:00
  • 0a961f152c
    Merge pull request #292 from emmansun/dependabot/go_modules/golang.org/x/sys-0.29.0 Sun Yimin 2025-01-07 07:47:51 +08:00
  • 3544c09801
    build(deps): bump golang.org/x/sys from 0.28.0 to 0.29.0 #292 dependabot[bot] 2025-01-06 23:43:07 +00:00
  • e5652b6638
    smx509: add wasip1 support #290 Sun Yimin 2024-12-27 08:07:33 +08:00
  • 309e920050
    doc: update sm2.md Sun Yimin 2024-12-20 17:57:35 +08:00
  • 805fa40c97
    pkcs7: code review and refactor Sun Yimin 2024-12-20 08:34:32 +08:00
  • d199697b20
    pkcs7: remove deprecated method SignWithSM2 Sun Yimin 2024-12-19 15:42:19 +08:00
  • 6b18205bba
    sm2: fix test cases Sun Yimin 2024-12-19 08:28:00 +08:00
  • 89317b8f0b
    sm2: code review and refactor Sun Yimin 2024-12-19 08:17:21 +08:00
  • a71e806a2d
    sm9: code review Sun Yimin 2024-12-17 18:06:15 +08:00
  • a53c8b97f8
    Merge pull request #289 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.31.0 Sun Yimin 2024-12-17 07:28:08 +08:00
  • 4fd9003243
    build(deps): bump golang.org/x/crypto from 0.30.0 to 0.31.0 #289 dependabot[bot] 2024-12-16 23:17:20 +00:00
  • 0d3a2d2d18
    cfca: pkcs12 sm2, supplement test data Sun Yimin 2024-12-16 12:54:36 +08:00
  • 008b209765
    cfca: pkcs7 test, avoid random failure Sun Yimin 2024-12-13 18:16:08 +08:00
  • ab670f8ced
    cfca: pkcs7 test, avoid random failure Sun Yimin 2024-12-13 18:14:06 +08:00
  • 8e02380f47
    update README Sun Yimin 2024-12-13 18:07:41 +08:00
  • ac38d8f6aa
    cfca: test trustAsia generated csr v0.29.6 Sun Yimin 2024-12-13 15:37:27 +08:00
  • d2e96cff57
    cfca: update test error message Sun Yimin 2024-12-13 08:20:48 +08:00
  • 1bbcc232db
    cfca: test sadk generated csr #286 Sun Yimin 2024-12-12 17:55:57 +08:00
  • cdf1805d4f
    smx509: cfca csr add comments and align tmp publickey encoding Sun Yimin 2024-12-12 17:34:12 +08:00
  • 6a98350f2e
    cfca: extract encrypt/decrypt functions with SM4CBC and SM3 KDF Sun Yimin 2024-12-11 17:51:31 +08:00
  • 65532624e8
    cfca pkcs10 rename and improve test coverage #286 Sun Yimin 2024-12-11 10:06:27 +08:00
  • 3371b7c65c
    cfca csr with tmp publickey and parse returned encryption key #286 Sun Yimin 2024-12-11 08:36:55 +08:00
  • c6881ae849
    update cfca document Sun Yimin 2024-12-10 10:29:22 +08:00
  • df3db923c6
    support cfca certificate request #286 Sun Yimin 2024-12-10 10:13:51 +08:00
  • 1d894ef955
    fix test case Sun Yimin 2024-12-10 09:24:05 +08:00
  • a3161b7581
    support cfca certificate request #286 Sun Yimin 2024-12-10 09:01:21 +08:00
  • 01b0570c3a
    support cfca certificate request #286 Sun Yimin 2024-12-10 08:57:35 +08:00
  • 717a0feea6
    Merge pull request #288 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.30.0 Sun Yimin 2024-12-10 07:20:21 +08:00
  • 39bb9469b1
    build(deps): bump golang.org/x/crypto from 0.29.0 to 0.30.0 #288 dependabot[bot] 2024-12-09 23:13:22 +00:00
  • 5ada783793
    Merge pull request #287 from emmansun/dependabot/go_modules/golang.org/x/sys-0.28.0 Sun Yimin 2024-12-10 07:12:16 +08:00
  • 4c5dc14a6b
    build(deps): bump golang.org/x/sys from 0.27.0 to 0.28.0 #287 dependabot[bot] 2024-12-09 23:07:16 +00:00
  • 1d24c4640d
    pkcs7: fallback change Sun Yimin 2024-12-09 20:05:39 +08:00
  • 531388ce5e
    pkcs7: fallback change Sun Yimin 2024-12-09 19:59:41 +08:00
  • 1cf8782870
    pkcs7: fallback change Sun Yimin 2024-12-09 19:54:01 +08:00
  • 0d1fe8c95c
    cfca: add pkcs7 signed data facade Sun Yimin 2024-12-09 18:00:40 +08:00
  • 90fa2233a8
    zuc: eea seek benchmark test and refactor v0.29.5 Sun Yimin 2024-12-06 16:36:24 +08:00
  • 865159d86a
    internal/bigmod: add more //go:norace annotations and refactoring Sun Yimin 2024-12-06 08:54:47 +08:00
  • 0d56114869
    zuc: eea XORKeyStreamAt avoid useless calculation Sun Yimin 2024-12-05 18:13:23 +08:00
  • 9bfea6d73d
    zuc: eea XORKeyStreamAt fix issue v0.29.5-beta.2 Sun Yimin 2024-12-05 17:59:02 +08:00
  • f644a483e3
    cbcmac: implement hash interface for cmac Sun Yimin 2024-12-05 17:39:45 +08:00
  • 379396b688
    zuc: eea XORKeyStreamAt fix issue Sun Yimin 2024-12-05 17:32:24 +08:00
  • fcd1aa22d2
    internal/bigmod: disable race detector on tight loops #285 v0.29.5-beta.1 Sun Yimin 2024-12-05 08:33:11 +08:00
  • 14087e2665
    zuc: refactor the eea test case issue #284 Sun Yimin 2024-12-05 08:14:21 +08:00