Commit Graph

  • abbe36143c
    cipher: xts arm64, fix compile error Sun Yimin 2023-08-21 10:25:45 +08:00
  • de8c35e0f1
    cipher: xts arm64 Sun Yimin 2023-08-21 10:22:46 +08:00
  • bf355a1ea3
    cipher: xts amd64 reduce inst. Sun Yimin 2023-08-20 12:46:41 +08:00
  • ddea8332fe cipher: optimize gb gf(2^128) reduction emmansun 2023-08-20 12:05:48 +08:00
  • 4eacdccbf6
    cipher: implement double tweak amd64 asm #149 Sun Yimin 2023-08-18 17:49:57 +08:00
  • 0eaad02df4
    cipher: refactor xts mode #149 Sun Yimin 2023-08-17 12:49:28 +08:00
  • 9d6e46cafd
    cipher: refactor xts mode #149 Sun Yimin 2023-08-17 12:48:53 +08:00
  • 71ab69ef9b internal/bigmod: avoid duplicated name with golang sdk v0.19.3 emmansun 2023-08-16 14:34:31 +08:00
  • d4c92f1b17 test golang 1.21 emmansun 2023-08-16 14:21:01 +08:00
  • 6478a408e6
    padding: ISO/IEC 9797 method 2 Sun Yimin 2023-08-08 17:35:16 +08:00
  • 33d9dc7db7
    cipher: xts, update function name Sun Yimin 2023-08-08 17:31:55 +08:00
  • f9bd2f002a
    cipher: xts supports GB/T 17964-2021 Sun Yimin 2023-08-08 17:26:08 +08:00
  • feb76edda8
    sm4: fix cbc iv issue Sun Yimin 2023-08-08 13:07:10 +08:00
  • 0fbc30f868
    sm4: optimize cbc iv handling Sun Yimin 2023-08-08 12:35:42 +08:00
  • cb47e82478
    sm4: fix arm64 copy paste issue Sun Yimin 2023-08-08 08:29:07 +08:00
  • 29d7b25b95
    sm4: cbc ecb asm rename Sun Yimin 2023-08-08 08:22:17 +08:00
  • faeea141d7
    Merge pull request #148 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.12.0 Sun Yimin 2023-08-08 07:23:00 +08:00
  • 48cecae533
    build(deps): bump golang.org/x/crypto from 0.11.0 to 0.12.0 #148 dependabot[bot] 2023-08-07 23:16:54 +00:00
  • 682a48eb6e
    Merge pull request #147 from emmansun/dependabot/go_modules/golang.org/x/sys-0.11.0 Sun Yimin 2023-08-08 07:16:16 +08:00
  • 8e52dbde96
    build(deps): bump golang.org/x/sys from 0.10.0 to 0.11.0 #147 dependabot[bot] 2023-08-07 23:12:22 +00:00
  • 20ab2874fa
    Update cbc_cipher_asm_arm64.s Sun Yimin 2023-08-07 21:55:19 +08:00
  • 90f0279cb2
    sm4: arm64 fix Sun Yimin 2023-08-07 17:10:14 +08:00
  • b65b01a6a4
    sm4: arm64 fix Sun Yimin 2023-08-07 16:58:13 +08:00
  • c7fc1431ba
    sm4: arm64 fix Sun Yimin 2023-08-07 16:53:59 +08:00
  • 06dbc52e48
    sm4: arm64 fix Sun Yimin 2023-08-07 16:48:14 +08:00
  • 4e50b3dd6b
    sm4: cbc ecb mode enhancement Sun Yimin 2023-08-07 16:43:29 +08:00
  • e00fbe696d
    sm4: optimize avx2 implementation Sun Yimin 2023-08-04 15:52:00 +08:00
  • 24637cf61d
    sm4: add test cases, cover more plaintext length Sun Yimin 2023-08-04 08:25:16 +08:00
  • 71afa44b91
    sm4: fix arm64 cbc 8 blocks decryption issue Sun Yimin 2023-08-03 16:40:31 +08:00
  • dba47d3c14
    sm4: fix arm64 SM4_8BLOCKS_ROUND issue #146 Sun Yimin 2023-08-03 16:18:56 +08:00
  • 1e360021c4
    sm4: fix amd64 avx2 decrypt 4 blocks issue #146 Sun Yimin 2023-08-03 16:13:05 +08:00
  • 4bc3c5d27b
    sm4: improve throughput #146 Sun Yimin 2023-08-03 15:17:01 +08:00
  • fe84641340
    sm4: use simple inst. Sun Yimin 2023-07-31 17:32:41 +08:00
  • c813a1fb65
    internal/sm2ec: add boundary test v0.19.2 Sun Yimin 2023-07-28 15:26:42 +08:00
  • ca474a67ba
    sm9/bn256: remove useless tmp value storage Sun Yimin 2023-07-28 11:19:58 +08:00
  • 9035a35b64
    sm9/bn256: fix arm64 grammatical errors Sun Yimin 2023-07-27 16:12:56 +08:00
  • 0ee8177079
    sm9/bn256: gfp2MulU1 Sun Yimin 2023-07-27 15:59:52 +08:00
  • e3d14fb41a
    sm9/bn256: reduce register move Sun Yimin 2023-07-27 13:03:25 +08:00
  • a10e64f6f5
    sm9/bn256: add test cases Sun Yimin 2023-07-26 16:37:44 +08:00
  • ba6bd136f9
    internal/sm2ec: add comment for mont. reduction and others Sun Yimin 2023-07-26 10:26:32 +08:00
  • 49513c7420
    sm9/bn256: gt use cyclo6 squaring Sun Yimin 2023-07-25 16:49:44 +08:00
  • ce07f3afc0
    Rollback test_qemu.yml Sun Yimin 2023-07-25 15:14:58 +08:00
  • 4b09d140af
    sm9/bn256: arm64 fix add complete issue Sun Yimin 2023-07-25 15:11:41 +08:00
  • 0a559b5202
    sm9/bn256: arm64 complete add Sun Yimin 2023-07-25 15:02:41 +08:00
  • db92a6f60e
    sm9/bn256: fix arm64 complete double issue Sun Yimin 2023-07-25 13:12:45 +08:00
  • 1ecdb1a563
    sm9/bn256: arm64 curvePointDoubleComplete fix issue Sun Yimin 2023-07-25 13:02:19 +08:00
  • 628054399a
    sm9/bn256: adjust test case order Sun Yimin 2023-07-25 11:54:29 +08:00
  • dd5fcd13d6
    sm9/bn256: arm64 curvePointDoubleComplete Sun Yimin 2023-07-25 11:47:50 +08:00
  • 04e6a1c9b3
    sm9/bn256: arm64 gfp2Square & gfp2SquareU Sun Yimin 2023-07-25 08:35:00 +08:00
  • c62d6daf74
    sm9/bn256: arm64 gfp2MulU Sun Yimin 2023-07-25 08:21:44 +08:00
  • ecf14648e9
    sm9/bn256: arm64 gfp2Mul Sun Yimin 2023-07-25 08:14:56 +08:00
  • 087b3ae596
    sm9/bn256: arm64 test mul, found issue, try again Sun Yimin 2023-07-25 08:09:46 +08:00
  • abf506d8ee
    sm9/bn256: arm64 test mul Sun Yimin 2023-07-25 08:06:07 +08:00
  • a1335db683
    sm9/bn256: arm64 test mul Sun Yimin 2023-07-25 07:59:23 +08:00
  • ef4277c510
    Update test_qemu.yml Sun Yimin 2023-07-24 19:47:20 +08:00
  • f6ad6f3719
    sm9/bn256: arm64 fix mul issue Sun Yimin 2023-07-24 16:26:16 +08:00
  • 4985c6da53
    sm9/bn256: arm64, use register R27 Sun Yimin 2023-07-24 15:59:39 +08:00
  • 73cc8d737c
    sm9/bn256: fix copy paste error Sun Yimin 2023-07-24 15:31:11 +08:00
  • b7ff7ecd8a
    sm9/bn256: fix compile error Sun Yimin 2023-07-24 14:46:10 +08:00
  • 7989a62e23
    sm9/bn256: arm64, forgot one by one Sun Yimin 2023-07-24 14:36:00 +08:00
  • 248c2de1ef
    sm9/bn256: fix arm64 issue Sun Yimin 2023-07-24 14:28:23 +08:00
  • b4bd731996
    sm9/bn256: fix arm64 issue Sun Yimin 2023-07-24 13:18:08 +08:00
  • 2394eea76d
    sm9/bn256: fix arm64 issue Sun Yimin 2023-07-24 13:13:07 +08:00
  • 968dfaafa0
    sm9/bn256: gfp2 g1 arm64 method one by one Sun Yimin 2023-07-24 13:11:38 +08:00
  • de62767f53
    sm9/bn256: addcomplete amd64 Sun Yimin 2023-07-24 13:02:00 +08:00
  • b21a234037 sm9/bn256: curvePointDoubleComplete asm emmansun 2023-07-22 17:29:19 +08:00
  • 2d615c7f94 Merge branch 'main' of https://github.com/emmansun/gmsm emmansun 2023-07-22 15:32:34 +08:00
  • d452423d62
    sm9/bn256: fix gfp triple generic issue Sun Yimin 2023-07-21 21:19:45 +08:00
  • a8b10483e1 sm9/bn256: fix gfpTriple generic implementation issue emmansun 2023-07-21 21:07:50 +08:00
  • e769cefbd8 Merge branch 'main' of https://github.com/emmansun/gmsm emmansun 2023-07-21 20:43:00 +08:00
  • 76131e6438
    internal/sm2ec: not use ADX first Sun Yimin 2023-07-21 18:06:22 +08:00
  • 5b5b26c095
    sm9/bn256: fix twist Frobenius bug due to #144, will further review those functions usage Sun Yimin 2023-07-21 17:51:25 +08:00
  • 16b2a43dc3
    sm9/bn256: complete addition fomulas and gfp2 amd64 asm #144 Sun Yimin 2023-07-21 17:39:06 +08:00
  • a173646017
    internal/sm2ec: optiomization for ADX usage and supplement comments Sun Yimin 2023-07-20 17:49:53 +08:00
  • bbbf2612bc
    sm9/bn256: fix add same bug Sun Yimin 2023-07-19 15:26:38 +08:00
  • b9bbf94b47
    sm9/bn256: rename special square function name Sun Yimin 2023-07-18 17:29:10 +08:00
  • e24d1c34c5 sm9/bn256: use double emmansun 2023-07-15 16:25:50 +08:00
  • 929e1b892b
    sm9/bn256: fix one potential issue Sun Yimin 2023-07-14 16:37:00 +08:00
  • fc2f105dd2
    sm4: fix AVX version use AVX2 inst. issue v0.19.1 Sun Yimin 2023-07-13 08:47:05 +08:00
  • fc287b6e96
    sm9/bn256: add bilinearity test case Sun Yimin 2023-07-12 15:09:25 +08:00
  • 9ec8d3bc04
    sm9/bn256: add double & triple, fix gfpNeg issue, use Square as possible Sun Yimin 2023-07-11 17:30:48 +08:00
  • ba3cbd23c8
    Merge pull request #142 from emmansun/dependabot/go_modules/golang.org/x/crypto-0.11.0 Sun Yimin 2023-07-11 08:26:23 +08:00
  • c453c21b5f
    build(deps): bump golang.org/x/crypto from 0.10.0 to 0.11.0 #142 dependabot[bot] 2023-07-11 00:23:56 +00:00
  • c1a20fdb5c
    Merge pull request #141 from emmansun/dependabot/go_modules/golang.org/x/sys-0.10.0 Sun Yimin 2023-07-11 08:23:13 +08:00
  • fd9309fcf4
    build(deps): bump golang.org/x/sys from 0.9.0 to 0.10.0 #141 dependabot[bot] 2023-07-10 23:51:04 +00:00
  • 75dc5a6d00
    Update README.md Sun Yimin 2023-07-09 17:13:19 +08:00
  • 29ccad538a
    Update README.md Sun Yimin 2023-07-08 19:32:26 +08:00
  • 9d59be1699
    Update README.md Sun Yimin 2023-07-08 16:11:29 +08:00
  • cf1b3da289 sm9/bn256: fix purego issue v0.19.0 emmansun 2023-07-07 20:20:15 +08:00
  • 0e54e68bfd
    sm9/bn256: asm implementation for gfP Marshal/Unmarshal #140 Sun Yimin 2023-07-07 18:09:49 +08:00
  • ebe5aca2d8
    Update select_generic.go Sun Yimin 2023-07-06 17:56:10 +08:00
  • 4755d5aa2a
    sm9/bn256: also apply to 1-2-6-12 #139 #137 Sun Yimin 2023-07-06 17:36:34 +08:00
  • 5f72151e74
    sm9/bn256: special square for final exp & optimize gfp2/gfp12 square #137 #139 Sun Yimin 2023-07-05 17:58:19 +08:00
  • 89f3b0f6d3
    sm4: add some comments for asm code Sun Yimin 2023-07-05 17:51:26 +08:00
  • 8cfd82dc53
    sm4: mistake Sun Yimin 2023-07-04 10:04:15 +08:00
  • 12ef9e0ef9
    sm4: optimize amd64 sse, cbc decrypter Sun Yimin 2023-07-04 08:38:53 +08:00
  • a53659eb5b sm4: optimize sse version emmansun 2023-07-03 16:20:04 +08:00
  • f10b09f5a2 sm4: gcm init use PALIGNR to reduce instructions emmansun 2023-07-03 15:41:05 +08:00
  • d3e6412258
    sm4: Support AES-NI + AVX #135 Sun Yimin 2023-07-03 12:00:27 +08:00
  • 1e5ba7f5a1 sm9/bn256: add miller benchmark test emmansun 2023-07-02 11:46:50 +08:00