Commit Graph

  • f6af6eb729
    add gmssl test cases Sun Yimin 2022-10-24 11:42:26 +08:00
  • d35482a358
    pkcs8 sm9 master sign/encrypt private key support Sun Yimin 2022-10-24 11:00:13 +08:00
  • 404cd10210 support sm9 key format with gmssl emmansun 2022-10-22 15:49:01 +08:00
  • ecdf5fca82
    supplement tesst cases Sun Yimin 2022-10-21 10:46:18 +08:00
  • 0342ada322
    add comments and enhance gm validation Sun Yimin 2022-10-21 10:22:10 +08:00
  • 7f86563f74
    update README.md and dependencies Sun Yimin 2022-10-20 16:28:58 +08:00
  • afc4750bf0
    Sample pseudo random number generator base on DRBG Sun Yimin 2022-10-20 15:28:06 +08:00
  • 643df78c07
    implement ctr drbg Sun Yimin 2022-10-20 11:30:20 +08:00
  • f723aa8c66
    hash drbg initial version Sun Yimin 2022-10-19 09:57:58 +08:00
  • 6253b828c7
    upgrade dependencies and remove useless code Sun Yimin 2022-10-11 13:27:56 +08:00
  • 49f25af421
    add parallel test Sun Yimin 2022-09-16 11:48:28 +08:00
  • 0946644542
    update readme Sun Yimin 2022-09-08 08:56:26 +08:00
  • 8f7a7626ba
    sm2: support ecdh mqv v0.14.1 Sun Yimin 2022-09-02 14:03:51 +08:00
  • 6a556b26d3
    smx509: don't panic marshaling invalid ECDSA keys #81 Sun Yimin 2022-08-30 10:35:57 +08:00
  • fb7041acbc
    sm2/9: key exchange destroy, fix #80 Sun Yimin 2022-08-30 09:54:29 +08:00
  • 3f9e1d5bd9
    ecdh: sm2 ECDH initial version v0.14.0 Sun Yimin 2022-08-26 13:25:56 +08:00
  • d1e4806e06
    sm2: refactoring, reduce duplicated codes Sun Yimin 2022-08-25 16:54:30 +08:00
  • 8948bdd931
    sm2: refactoring to reduce duplicated code Sun Yimin 2022-08-25 16:45:18 +08:00
  • 4a21345e72
    sm9: fix compile error Sun Yimin 2022-08-25 12:58:02 +08:00
  • 7ebdf00640
    fix defect Sun Yimin 2022-08-25 12:54:59 +08:00
  • eedd5ebc2b
    kdf: move Kdf() from sm3 to kdf Sun Yimin 2022-08-25 11:48:41 +08:00
  • 8f5dcb842e
    sm2: key exchange refactoring Sun Yimin 2022-08-24 16:53:11 +08:00
  • 21a9793600
    sm2/sm9: key exchange, support to destroy internal state Sun Yimin 2022-08-24 15:15:58 +08:00
  • 35154c8b53
    remove useless ci Sun Yimin 2022-08-19 15:07:56 +08:00
  • f2245485bc
    Merge pull request #78 from emmansun/20221015 Sun Yimin 2022-08-19 15:05:45 +08:00
  • f5cee483d5
    align go verions in main #78 20221015 Sun Yimin 2022-08-19 15:03:28 +08:00
  • 474168700e
    sm2 ke: make sure the peer pub key using same curve Sun Yimin 2022-08-19 11:39:02 +08:00
  • 45d6a74b6a
    update comment Sun Yimin 2022-08-19 10:30:19 +08:00
  • 8083b440cb
    README: add go version and update travis label v0.13.8 go_1.15 Sun Yimin 2022-08-19 08:31:12 +08:00
  • 6db1b23eb1
    subtle: fix generic bug Sun Yimin 2022-08-18 15:00:11 +08:00
  • 1710bdff4a
    refactoring, rename internal packages Sun Yimin 2022-08-18 14:49:35 +08:00
  • b96e51e3ff
    sm2: supplement test cases Sun Yimin 2022-08-18 10:54:25 +08:00
  • ae12f04c14
    sm2: use golang 1.19 style marshal/unmarshal Sun Yimin 2022-08-18 09:12:00 +08:00
  • 37f3e129da
    use golang 1.19 feature Sun Yimin 2022-08-17 15:58:06 +08:00
  • a507f61c7c
    fix bug Sun Yimin 2022-08-17 15:30:21 +08:00
  • c2efe31957
    move ci file Sun Yimin 2022-08-17 15:27:19 +08:00
  • 93dca77af8
    sync code from sm2fiat and branch 1.16 Sun Yimin 2022-08-17 15:23:59 +08:00
  • c88bad8c7d
    sm2/9 key exchange: test no sign/verify case Sun Yimin 2022-08-17 11:36:50 +08:00
  • 3f550e2f24
    sm2/9: key exchange error message and comment Sun Yimin 2022-08-17 11:17:18 +08:00
  • fb53e7eb71
    sm2: key exchange fix bug & add comments Sun Yimin 2022-08-16 11:46:08 +08:00
  • bed0b64629
    sm2ec: error message Sun Yimin 2022-08-15 15:21:42 +08:00
  • f254673618
    sm2ec: sync with sdk Sun Yimin 2022-08-15 15:16:07 +08:00
  • c37e143c66
    Merge pull request #73 from Trisia/main v0.13.7 Sun Yimin 2022-08-14 11:22:52 +08:00
  • a6172852fc 修改了设置对端参数名称,增加了防止重复设置的检查。 #73 cliven 2022-08-14 11:10:55 +08:00
  • eea15c3e4c SM2密钥交换算法支持了初始化时没有对端公开信息,在后续加入公开信息的方法。 cliven 2022-08-13 15:18:47 +08:00
  • b299ca46f2
    zuc: constant time & correct lazy mod Sun Yimin 2022-08-10 13:52:44 +08:00
  • b7cc21a055
    sm3: kdf constant time check all zero Sun Yimin 2022-08-09 15:58:55 +08:00
  • 05aeed5c34
    sm9: marshal compressed Sun Yimin 2022-08-09 10:01:34 +08:00
  • f437855de0
    add unit test case and fix typo Sun Yimin 2022-08-03 16:31:02 +08:00
  • 2071214f1f
    x509: fix error message Sun Yimin 2022-08-02 15:09:34 +08:00
  • 8d0ee45571
    upgrade dependencies v0.13.6 Sun Yimin 2022-07-28 10:39:55 +08:00
  • 818cbc3757
    misc: clean code Sun Yimin 2022-07-28 10:01:30 +08:00
  • 21859b7273
    sm4: gcm data disable pass initial tag Sun Yimin 2022-07-28 09:37:03 +08:00
  • 5b075213c0
    sm4: add cbcEncAble interface Sun Yimin 2022-07-26 08:30:24 +08:00
  • 206c8075c3
    sm4: arm64 use VZIP1 VZIP2 to transpose matrix Sun Yimin 2022-07-25 17:10:15 +08:00
  • fd34c2eff2
    sm4: arm64 transpose matrix use VZIP1 VZIP2 Sun Yimin 2022-07-25 16:37:23 +08:00
  • 9b364dca8b
    sm4: reduce duplicated code and add comments Sun Yimin 2022-07-25 13:20:58 +08:00
  • 9204f1f4b2
    sm4: encryptBlockAsm arm64 optimization Sun Yimin 2022-07-22 15:17:05 +08:00
  • f0ad4beb49
    sm4: add gcm test cases from GB/T 36624-2018 C.5 Sun Yimin 2022-07-22 11:25:18 +08:00
  • acffd83cc9
    sm4: format asm code Sun Yimin 2022-07-22 10:08:15 +08:00
  • ff434b7bd7
    sm4: arm64 forget to load IV Sun Yimin 2022-07-21 17:37:57 +08:00
  • 42faebb588
    sm4: cbc encryption improvement a little Sun Yimin 2022-07-21 17:32:11 +08:00
  • 8ddf1bc68f
    sm4: reduce duplicated asm code Sun Yimin 2022-07-21 13:41:56 +08:00
  • 572bf6574e
    sm4: improve cbc decrypt performance Sun Yimin 2022-07-20 11:43:49 +08:00
  • 54a06d72e1
    sm9: test all curves Sun Yimin 2022-07-19 16:07:42 +08:00
  • ec7f96d3cc
    sm9: remove unsure code Sun Yimin 2022-07-19 15:36:08 +08:00
  • af50b136e9
    sm4: separate cipher_ni from cipher_asm Sun Yimin 2022-07-19 13:29:21 +08:00
  • 6a60fe2603
    ccm: add unit test cases and support ignore Sun Yimin 2022-07-19 09:47:36 +08:00
  • 711508985e
    sm9: clean code and unit test Sun Yimin 2022-07-19 08:58:12 +08:00
  • 24765d0e35
    supplement unit test cases Sun Yimin 2022-07-18 10:13:53 +08:00
  • be29c32fe5
    Update README.md Sun Yimin 2022-07-17 17:48:02 +08:00
  • 08bb2e2b57
    zuc: add test case Sun Yimin 2022-07-15 17:18:14 +08:00
  • fdb89d3233 Merge branch 'main' of https://github.com/emmansun/gmsm Emman 2022-07-15 16:43:38 +08:00
  • eb94980db3 run "gofmt -s -w" Emman 2022-07-15 16:42:39 +08:00
  • 221cd0f6d2
    Create codeql-analysis.yml Sun Yimin 2022-07-15 14:22:31 +08:00
  • ffe5bff24e
    pkcs8: fix copy issue v0.13.5 Sun Yimin 2022-07-15 13:37:54 +08:00
  • 7271ce6df9
    pkcs8: find out race fail case due to big CostParameter value Sun Yimin 2022-07-15 13:34:42 +08:00
  • 1a75fd65ca
    zuc: add comment and fix a bug Sun Yimin 2022-07-15 11:48:44 +08:00
  • 7e81d05ce9
    [sync] crypto/x509: restrict CRL number to <=20 octets #69 Sun Yimin 2022-07-15 10:25:53 +08:00
  • 99bfac3a2b
    upgrade dependencies and add unit test cases Sun Yimin 2022-07-14 15:31:49 +08:00
  • 58513465fa
    x509: supplement test cases Sun Yimin 2022-07-14 15:03:15 +08:00
  • 204419818f
    zuc: fix a copy paste error Sun Yimin 2022-07-14 14:17:41 +08:00
  • 9751e9619e
    zuc: EIA256 ARM64 Sun Yimin 2022-07-14 14:10:49 +08:00
  • e0b2121574
    zuc: eia arm64 Sun Yimin 2022-07-14 10:45:43 +08:00
  • c6e33cb31c
    zuc: eia arm64 Sun Yimin 2022-07-14 10:42:49 +08:00
  • b1dd0ade2e
    zuc: eia256 performance improvement Sun Yimin 2022-07-13 16:16:01 +08:00
  • 39274df2bd
    zuc: EIA performance improvement Sun Yimin 2022-07-13 11:51:44 +08:00
  • 87f6f6a736
    sm4: fix test case issue Sun Yimin 2022-07-12 10:08:23 +08:00
  • daa6853722
    sm4: add test cases Sun Yimin 2022-07-12 09:57:35 +08:00
  • e4d02321b7
    test: try coverpkg Sun Yimin 2022-07-12 08:38:01 +08:00
  • 189f2217c3
    sm4: remove sm4_test folder Sun Yimin 2022-07-11 17:40:48 +08:00
  • 8eeeddbbea
    cipher/sm4: refactoring, remove sm4_test folder Sun Yimin 2022-07-11 17:40:15 +08:00
  • 2c3b759652
    upgrade github actions Sun Yimin 2022-07-11 16:40:11 +08:00
  • 74f18edc53
    try merge generic report Sun Yimin 2022-07-11 16:01:41 +08:00
  • b36779c604
    change to use codecov/codecov-action@v3 Sun Yimin 2022-07-11 15:53:47 +08:00
  • 1e4171b1e8
    code test coverage Sun Yimin 2022-07-11 15:42:11 +08:00
  • 8bcbb9c77a
    code test coverage Sun Yimin 2022-07-11 14:25:20 +08:00
  • 394991c8b1
    Update ci.yml Sun Yimin 2022-07-11 13:55:27 +08:00
  • ceaa727f83
    go report card Sun Yimin 2022-07-11 13:32:34 +08:00
  • 6efc68c6a9
    go report card Sun Yimin 2022-07-11 13:28:23 +08:00