Commit Graph

  • 3d491c9e14 Use SDF as the crypto provider in SM2/3/4 CTX API Zhi Guan 2024-05-08 17:04:45 +08:00
  • 2000655392 Update soft_sdftest.c Zhi Guan 2024-05-07 10:57:00 +08:00
  • 40f2bb23d0 Update soft_sdf.c Zhi Guan 2024-05-07 10:48:15 +08:00
  • fad7830f1c Update sdf_lib.c Zhi Guan 2024-05-07 10:47:16 +08:00
  • 1301280b77 Update soft_sdf Zhi Guan 2024-05-05 22:25:01 +08:00
  • f47a9c586e Add SM4 CCM test speed Zhi Guan 2024-04-29 23:41:05 +08:00
  • 5f829132db Update sm4_cbc_mactest.c Zhi Guan 2024-04-29 23:40:50 +08:00
  • 81c97dbec0 Update SM4 CL function names Zhi Guan 2024-04-29 23:40:44 +08:00
  • eeb44dc633 Update error.h Zhi Guan 2024-04-29 23:39:24 +08:00
  • f17d25abac Merge pull request #1668 from Gorachya/master Zhi Guan 2024-04-29 22:58:20 +08:00
  • bce16e1835 Update sm2_z256.c Zhi Guan 2024-04-29 22:56:48 +08:00
  • 8513857454 Update sm2_z256.c Zhi Guan 2024-04-29 22:47:43 +08:00
  • 0bb2011dac Update sm2_z256.h Zhi Guan 2024-04-29 22:47:40 +08:00
  • b351803fbc Update ZUC Zhi Guan 2024-04-29 22:39:26 +08:00
  • 5cf6f2609e Add sm4_MODE_encrypt_blocks Zhi Guan 2024-04-29 22:35:25 +08:00
  • 33c546f48a Update sm4_ctrtest.c Zhi Guan 2024-04-28 17:27:45 +08:00
  • 6e8a36c738 Update SM4 CBC API Zhi Guan 2024-04-28 17:27:41 +08:00
  • 660b4cfc53 Update sm4_cbc.c Zhi Guan 2024-04-28 17:14:24 +08:00
  • 060930093f Update SM4 TBOX version Zhi Guan 2024-04-28 17:11:57 +08:00
  • af3175f6fa Update zuctest.c Zhi Guan 2024-04-27 20:58:46 +08:00
  • b2b19427fe Update zuc.c Zhi Guan 2024-04-27 20:58:43 +08:00
  • 6147f7af55 Update zuc.c Zhi Guan 2024-04-27 17:08:34 +08:00
  • 83573a56ed Update zuctest.c Zhi Guan 2024-04-27 17:08:31 +08:00
  • bc15f7a0c7 Update SM4 API Zhi Guan 2024-04-27 12:08:35 +08:00
  • 0be17d59ec Update sm9_z256.c Gorachya 2024-04-26 12:39:32 +08:00
  • 3f1fdc147a Add sm2_encrypt_pre_compute Zhi Guan 2024-04-25 16:34:03 +08:00
  • f0859a1f04 Update sm2_z256_point_mul_pre_compute Zhi Guan 2024-04-25 11:46:10 +08:00
  • f8fbeddd4f Add SM2_VERIFY_CTX Zhi Guan 2024-04-25 08:40:39 +08:00
  • 52c1e57e8c Update CMakeLists.txt Zhi Guan 2024-04-24 17:38:22 +08:00
  • 2567d86fdb Update sm4_cl.c Zhi Guan 2024-04-24 17:38:19 +08:00
  • 2e6cef2999 Change sm4_cl_encrypt to sm4_cl_ctr32_encrypt Zhi Guan 2024-04-23 22:39:43 +08:00
  • 2e45b3fbe1 Add zuc speed test Zhi Guan 2024-04-23 09:57:44 +08:00
  • 329b539c50 Add sm9 speed test Zhi Guan 2024-04-23 09:57:37 +08:00
  • fa5bf0e3a8 Add sm4_cl speed test Zhi Guan 2024-04-22 22:59:02 +08:00
  • 242bbb3f6d Add speed tests Zhi Guan 2024-04-22 22:46:23 +08:00
  • ae2f635b7f Fix SM4-CCM counter overflow bug Zhi Guan 2024-04-22 17:43:29 +08:00
  • e05fd9c1b9 Use Montgomery's Trick on sm2_fast_sign_pre_compute Zhi Guan 2024-04-22 17:43:05 +08:00
  • bdd2149dc8 Merge pull request #1663 from Gorachya/master Zhi Guan 2024-04-22 12:13:33 +08:00
  • d1131455b6 Update sm9test.c Gorachya 2024-04-22 12:00:29 +08:00
  • 797c7739f3 Update sm9_z256.h Gorachya 2024-04-22 11:58:16 +08:00
  • 5775cb5f42 Add files via upload Gorachya 2024-04-22 11:55:14 +08:00
  • 3fb7eebba8 Add files via upload Gorachya 2024-04-22 11:34:30 +08:00
  • 506ab2711c Delete sha3.h Zhi Guan 2024-04-21 23:58:05 +08:00
  • b2e334bfb9 FIX GCM counter bug, change inc128 to inc32 Zhi Guan 2024-04-21 23:58:01 +08:00
  • 252c9e1765 Add more SM4 test vectors Zhi Guan 2024-04-21 10:10:46 +08:00
  • a485fa0b10 Fix SM4-CCM bug in length encoding Zhi Guan 2024-04-21 10:09:31 +08:00
  • afd9682254 Merge pull request #1660 from Gorachya/master Zhi Guan 2024-04-20 12:53:52 +08:00
  • f3fb2ee94b Update README.md Simon 2024-04-20 12:26:32 +08:00
  • 350e91af0a 修复Windows编译的问题。 Simon 2024-04-20 12:23:30 +08:00
  • 6f870889cf Adjust digest APIs Zhi Guan 2024-04-19 21:14:10 +08:00
  • 8cb306ad0b Adjust SM3 SM4 API Zhi Guan 2024-04-19 18:32:06 +08:00
  • bab131604f Update CMakeLists.txt Gorachya 2024-04-19 17:56:47 +08:00
  • 36f256913d Update sm2_z256.c Gorachya 2024-04-19 17:55:28 +08:00
  • ab7c9a7651 Adjust SM2 API and tests Zhi Guan 2024-04-19 17:32:54 +08:00
  • 725817add9 Use sm3_pbkdf2 without digest API Zhi Guan 2024-04-19 13:21:52 +08:00
  • 356e618d99 Add sm2_key test Zhi Guan 2024-04-18 22:01:50 +08:00
  • b2707a1f0e Adjust SM9 files Zhi Guan 2024-04-18 21:41:17 +08:00
  • e9bbcf5490 Use z256 and jacobian coordinates as inner presentation of SM2 point Zhi Guan 2024-04-18 21:27:00 +08:00
  • 549c68d2df Re-organize SM2 files Zhi Guan 2024-04-17 22:43:04 +08:00
  • 2a5dc640bd Remove some modn functions Zhi Guan 2024-04-17 20:55:20 +08:00
  • 3a6bfbe03f Merge pull request #1655 from ohos-rs/master Zhi Guan 2024-04-17 20:43:53 +08:00
  • 42e55d249d Merge pull request #1649 from fnMrRice/master Zhi Guan 2024-04-17 20:43:00 +08:00
  • fbad76e807 Update CMakeLists.txt Zhi Guan 2024-04-17 15:47:28 +08:00
  • b01ad79475 Update sm9test.c Zhi Guan 2024-04-17 15:44:56 +08:00
  • 5d40024f14 Update SM9 to/from_hex API Zhi Guan 2024-04-17 15:42:47 +08:00
  • c79084ad03 Remove sm9 modp to/from bytes/hex Zhi Guan 2024-04-17 09:09:37 +08:00
  • c32cb0f8e4 Add sm3_pbkdf2 function Zhi Guan 2024-04-16 23:04:18 +08:00
  • f0e70bbb4d Rename SM2_Z256 to sm2_z256_t Zhi Guan 2024-04-16 22:58:07 +08:00
  • 6028d1e10b Rename POINT_AFFINE to AFFINE_POINT Zhi Guan 2024-04-16 22:51:38 +08:00
  • 4e66f911d0 Update rand_range functions Zhi Guan 2024-04-16 22:49:59 +08:00
  • e061dda71f Remove modp_to_bytes Zhi Guan 2024-04-16 22:27:59 +08:00
  • b2a5885e23 Update sm9.h Zhi Guan 2024-04-16 19:23:14 +08:00
  • 9083a7a60b Rename SM2 file names Zhi Guan 2024-04-16 19:20:35 +08:00
  • fea2b018dc Rename SM9 file names Zhi Guan 2024-04-16 19:18:07 +08:00
  • b519f973b9 Delete sm2_uint128test.c Zhi Guan 2024-04-16 19:04:17 +08:00
  • ddda806267 Change function names Zhi Guan 2024-04-16 19:03:05 +08:00
  • 1b69de3820 Update sm9_z256_alg.c Zhi Guan 2024-04-16 11:22:35 +08:00
  • afed7a0ecb Make SDF/SKF optional in CMake Zhi Guan 2024-04-15 08:49:16 +08:00
  • bd12c4ef50 Update tls.c Zhi Guan 2024-04-15 08:48:40 +08:00
  • 56f45c8dbf Remove warnings Zhi Guan 2024-04-14 11:20:45 +08:00
  • ef03ddc680 Restore the original sm9 header file name. Zhi Guan 2024-04-14 11:15:05 +08:00
  • 771fe867ef Adjust SM9 API Zhi Guan 2024-04-14 10:20:11 +08:00
  • 28428de876 Remove fp_from_bytes and fn_from_bytes Zhi Guan 2024-04-13 23:06:38 +08:00
  • 3a46c4a499 Add suffix _t to array type names Zhi Guan 2024-04-13 18:57:29 +08:00
  • 9937b8dc6d Remove point_copy Zhi Guan 2024-04-13 18:51:33 +08:00
  • 047ec4586a Remove macros Zhi Guan 2024-04-13 18:48:11 +08:00
  • e9d61cb1f4 Remove unused macros Zhi Guan 2024-04-13 18:41:19 +08:00
  • 0daba2e61d Generate compiler compatible assembly symbols Zhi Guan 2024-04-13 17:37:47 +08:00
  • 8e2c4ebd2f Update SM4 OpenCL implementation Zhi Guan 2024-04-12 16:07:30 +08:00
  • 9fd4464980 AES GCM depends on CTR Zhi Guan 2024-04-12 10:27:08 +08:00
  • 8c1c69e264 Implement SM4 GCM with CTR Zhi Guan 2024-04-12 10:22:57 +08:00
  • 8dd2e71a54 Remove old SM9 code Zhi Guan 2024-04-11 23:30:01 +08:00
  • fb9a3108ae Delete sm9_lib.c Zhi Guan 2024-04-11 23:27:51 +08:00
  • 1bc218f4c2 Delete sm9_key.c Zhi Guan 2024-04-11 23:27:48 +08:00
  • b43dc1233c Delete sm9_alg.c Zhi Guan 2024-04-11 23:27:44 +08:00
  • 1763074a32 Update gf128.c Zhi Guan 2024-04-11 23:09:34 +08:00
  • 5b7a9c1604 rename sm4 aesni+avx source Zhi Guan 2024-04-11 23:09:30 +08:00
  • 51f60061c5 Add SM4 AArch64 assembly Zhi Guan 2024-04-11 22:45:07 +08:00
  • 1ab7104749 Update GF(2^128) AVX implementation Zhi Guan 2024-04-11 22:40:49 +08:00
  • 23e6d9fb10 Delete gcm.c Zhi Guan 2024-04-11 22:22:32 +08:00