Commit Graph

  • 7b75b6b26b
    update disclaimer main Sun Yimin 2025-04-18 08:50:39 +08:00
  • af4330ef8d
    Merge 02becc69c57a4f15daa66699f9695e2623bc3759 into 5aacbc2011482e180e36c9ed197434406af3b783 #300 kvii 2025-04-16 18:03:23 +08:00
  • 5aacbc2011
    Merge pull request #324 from hrimfaxi/main v0.30.1 Sun Yimin 2025-04-15 17:31:55 +08:00
  • fe532e12b4 sm9: Prevent PublicKey() returning nil after unmarshaling master private key #324 YuanHongYe 2025-04-15 15:41:20 +08:00
  • 1dc82305e4
    Merge pull request #323 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.37.0 Sun Yimin 2025-04-08 09:28:54 +08:00
  • ed256a9ea3
    build(deps): bump golang.org/x/crypto from 0.36.0 to 0.37.0 #323 dependabot[bot] 2025-04-08 00:52:59 +00:00
  • d8c6788e8f
    sm2, sm2ec: remove useless codes since go 1.19 Sun Yimin 2025-04-07 13:10:09 +08:00
  • 0ef30b3ab5
    internal/zuc: supplement comments v0.30.0 Sun Yimin 2025-04-03 10:40:06 +08:00
  • d3eece5560
    cfca: fix test cases #322 Sun Yimin 2025-04-01 17:06:47 +08:00
  • 0af92d8e48
    smx509: CFCA CSR supports RSA keys #322 Sun Yimin 2025-04-01 17:02:13 +08:00
  • bf644fbb4e
    docs/zuc: add seekable stream part Sun Yimin 2025-03-28 17:19:19 +08:00
  • 359b46453b
    internal/zuc,zuc: eea seakable stream support zuc states cache per bucket #321 Sun Yimin 2025-03-28 16:53:29 +08:00
  • b8d52dd11d
    internal/sm9/bn256: make gfP.Unmarshal constant time Sun Yimin 2025-03-26 16:37:04 +08:00
  • 9ea8293d10
    internal/sm2ec/fiat: fix error message Sun Yimin 2025-03-26 15:20:30 +08:00
  • e8a847e005
    internal/sm9/bn256: remove useless code Sun Yimin 2025-03-26 09:49:30 +08:00
  • a7c4473a48
    internal/sm9/bn256: reduce big.Int usage Sun Yimin 2025-03-26 09:30:39 +08:00
  • 11d0438cc4
    internal/sm9: reduce usage of big.Int Sun Yimin 2025-03-25 17:19:10 +08:00
  • 88df15c64c
    sm9: implement crypto.Singer crypto.Decrypter interface Sun Yimin 2025-03-25 14:58:16 +08:00
  • 3eea15b3b8
    internal/sm9,sm9: refactor all keys Sun Yimin 2025-03-25 11:10:53 +08:00
  • dd69d32930
    drbg: replace with for range Sun Yimin 2025-03-25 08:49:56 +08:00
  • a84fec09af
    internal/cpu: move to internal/deps/cpu #310 Sun Yimin 2025-03-21 10:04:35 +08:00
  • c43e0488a6
    cbcmac: fix typo Sun Yimin 2025-03-21 08:38:59 +08:00
  • a4affe6006
    cbcmac,padding: supplement/update comments Sun Yimin 2025-03-20 16:34:19 +08:00
  • 3cc92436ee
    padding: fix "Size computation for allocation may overflow" Sun Yimin 2025-03-19 11:16:26 +08:00
  • 93c965f3c1
    cipher: move xts detail implementation to internal #320 Sun Yimin 2025-03-19 10:21:52 +08:00
  • d8eb166dfc
    cbcmac: enable provided padding for EMAC/ANSI Retail MAC/MAC-DES/LMAC #319 Sun Yimin 2025-03-19 10:10:00 +08:00
  • 2d3329a2ea
    padding: missing PaddingFunc #319 Sun Yimin 2025-03-18 11:44:45 +08:00
  • f41a5c69e7
    cbcmac: CBCMAC enable provided padding method #319 Sun Yimin 2025-03-18 11:41:04 +08:00
  • cf027254dc
    update README #319 Sun Yimin 2025-03-18 11:27:28 +08:00
  • 069babe703
    padding: implement ISO IEC9797-1 padding method 3 #319 Sun Yimin 2025-03-18 11:21:48 +08:00
  • 5734e67634
    internal/cpu,internal/sm9: refactor and fix Sun Yimin 2025-03-17 17:18:58 +08:00
  • 82ccb95527
    sm9,internal/sm9: update comments #314 Sun Yimin 2025-03-14 15:26:34 +08:00
  • e79aab4935
    smx509: better handling of weird encodings #316 Sun Yimin 2025-03-14 08:44:52 +08:00
  • c32a9849f8
    sm9: refactoring #314 Sun Yimin 2025-03-13 16:50:28 +08:00
  • 7ec46d700d
    internal/subtle: remove xor related codes #315 Sun Yimin 2025-03-13 15:20:05 +08:00
  • 7a5253bfb5
    change to use go's own XORBytes function #315 Sun Yimin 2025-03-13 15:15:46 +08:00
  • d6f18a2cbf
    fix CI Sun Yimin 2025-03-13 14:44:56 +08:00
  • 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