Commit Graph

481 Commits

Author SHA1 Message Date
Zhi Guan
eaf4002536 Update version number
2.3.3 is the first release to support SM9, setup/keygen/sign are supported, kem/encrypt/keyagree to be continue.
2018-09-29 11:56:35 +08:00
Zhi Guan
93064bf826 First SM9 release
SM9 digitial signature scheme is finished and tested.
2018-09-29 11:54:00 +08:00
Zhi Guan
b54a3d35e6 Update SM9 schemes
Update SM9 schemes based on the default sm9bn256v1 r-ate pairing. To be continued.
2018-09-28 22:21:44 +08:00
Zhi Guan
c7aa2cc1ff A workable SM9 R-ate pairing over BN curve
This textbook version R-ate pairing is very slow. About 0.5 seconds on my Macbook Pro 2018 with 2.7 GHz Core i7.
2018-09-21 22:42:11 +08:00
Zhi Guan
9f4e184ac5 Update SM9
to be continue ...
2018-09-19 11:56:07 +08:00
Zhi Guan
dd71250c2c Update SM9
Implement extension fields with BIGNUM.
2018-09-18 12:34:52 +08:00
Zhi Guan
e789127a9a Add SM9 BN curve sm9bn256v1 over GF(p)
The recommended BN curve over 256 -bit prime field. The OID of the curve might be modified in the future.
2018-09-13 15:58:53 +08:00
Zhi Guan
f303eba06b Update SM9
a textbook version of SM9 R-ate pairing with recommanded parameters, just to make sure result is correct. See SM9 specification part-1 and part-5.
2018-09-13 11:51:44 +08:00
Zhi Guan
1e4c9db090 Update SM9
to be continue ...
2018-09-13 10:53:06 +08:00
Zhi Guan
1130aca883 Update SM9
Tower extension of F_p^12
2018-09-13 00:29:00 +08:00
Zhi Guan
9176532a2e Update version date with new pkcs8 features 2018-09-08 10:41:17 +08:00
Zhi Guan
f960a8fa27 Add sm3/sm4 as pbe algorithms 2018-09-08 10:38:43 +08:00
Zhi Guan
ccde5f4b17 Update symbols 2018-09-07 09:07:42 +08:00
Zhi Guan
4b17502fdd Optimize sm2p256v1 curve for Intel processors
This update is part of the GmSSL Turbo project.
This work is supported by the National Key Research and Development
Program of China NO.2018YFB0803601 and Intel.
2018-09-07 08:55:36 +08:00
Zhi Guan
940c98d5d7 Merge pull request #536 from suishixingkong/patch-1
Update skf_int.h
2018-08-09 22:20:06 +08:00
Zhi Guan
83538da804 Merge pull request #556 from J-Feng/fix-engine-build-error
Fix SKF and SDF engines build error
2018-08-09 22:11:38 +08:00
Zhi Guan
abb5a7f801 Update GmSSL-Go version 2018-08-07 20:26:20 +08:00
Zhi Guan
838f4effbe Add SM2 ZID support 2018-08-07 20:25:04 +08:00
Zhi Guan
028d209985 Update GmSSL-Go test 2018-08-07 20:00:43 +08:00
Zhi Guan
e938a71edf Add SSL support to GmSSL-Go 2018-08-07 14:37:49 +08:00
Zhi Guan
65827d4ccf Add license text 2018-08-07 10:55:11 +08:00
Zhi Guan
ebd186d01d Update GmSSL-Go 2018-08-06 20:51:29 +08:00
Zhi Guan
962f7fbe3e Merge pull request #548 from liclicli/master
fix: zero length NULL should be able to be used for sm3 digest update.
2018-08-05 13:33:58 +08:00
Zhi Guan
28d524dd71 Add Go hash.Hash interface for SM3 2018-08-04 21:33:00 +08:00
Zhi Guan
abedd1b0f4 update go-api
GetDigestNames() and GetCipherNames get supported algorithms with
callbacks.
2018-08-04 20:27:43 +08:00
Feng Jie
366f612047 Fix SKF and SDF engines build error
When build dynamic library on Windows, build errors occur on SKF and SDF
engines build. Because when the engines are compiled into a
self-contained dll, bind_engine and v_check are needed which has been
exported in def file.

Add missing methods here to resolve the build error.

Because the engines are dummy implemented, the methods added here are
also dummy.
2018-08-02 14:19:08 +08:00
LI Chen
88293ffd8c fix: zero length NULL can not be used for sm3 digest update. 2018-07-23 10:09:16 +08:00
Zhi Guan
9d6ad55623 Add Go API test 2018-07-15 15:36:58 +08:00
Zhi Guan
27940499bc Update Go API to version 1.2
Add Certificate Object, support parse, check and access (very limited)
attributes of an X.509 certificate in PEM format.
2018-07-15 10:54:52 +08:00
Zhi Guan
a0e5d103ba optimize zuc 2018-07-07 00:23:44 +08:00
Zhi Guan
83c62961db Revert "optimize zuc"
This reverts commit 74d4a07ade.
2018-07-06 23:13:33 +08:00
Zhi Guan
74d4a07ade optimize zuc
about 15% faster on 64-bit cpu
2018-07-06 23:07:32 +08:00
Zhi Guan
afb82ebc20 add sm2 prime 256 test 2018-07-06 17:30:31 +08:00
SophieK
e2698c9572 Update skf_int.h 2018-07-05 08:49:47 +08:00
Simon
0adf4ce188 Delete SM4_bit_slice.md 2018-05-27 21:56:20 +08:00
CXdickens
689f65db59 SM4_bit slice comment 2018-05-27 21:37:17 +08:00
zhaoxiaomeng
8792c7081f [bugfix] fix error code duplication 2018-05-23 10:36:09 +08:00
zhaoxiaomeng
b5c3ca23b4 [bugfix] fix bitslice bug 2018-05-23 10:19:55 +08:00
zhaoxiaomeng
473eb5ffe4 [bugfix] fix bitslice bug 2018-05-23 09:48:01 +08:00
CXdickens
7c0ddf2e44 add SMS4 bit slice
16X SMS4 a time
2018-05-21 15:17:54 +08:00
Simon
58464004c9 Update sm3.c 2018-04-24 18:25:53 +08:00
Zhi Guan
96c0c86cd4 Fixed aes prototype gmbrowser-v0.1 2018-04-06 17:07:12 +08:00
Zhi Guan
a7cb7fa004 Update Go API 2018-04-01 19:37:39 +08:00
Zhi Guan
a94e307888 Add SDF pkey encrypt/decrypt support 2018-03-30 19:51:49 +08:00
Zhi Guan
92971350c4 Add GMTLS v1.1 protocol support
Aka GM/T 0024-2012 SSL VPN protocol
2018-03-22 13:09:02 +08:00
Zhi Guan
187d2d6c2f Add gmca
gmca is a command line tool to make CA maintaining easier.
2018-03-13 14:20:39 +08:00
Zhi Guan
7b32723196 Update with a new version number
This update brings the PHP binding of GmSSL through the PHP OpenSSL
extension.
2018-03-13 12:55:29 +08:00
Zhi Guan
056130c053 fix ssl bugs 2018-03-13 12:44:00 +08:00
Zhi Guan
0f0d392760 Update SDF header 2018-03-13 12:43:01 +08:00
Zhi Guan
e124d150fa Fix bugs of evp/sm2 2018-03-13 12:41:46 +08:00