Zhi Guan
f859e4b7fa
Merge pull request #571 from xianrenqiu/master
...
sm2: fix cv free error, in o2i_SM2CiphertextValue() function
2018-11-13 13:54:28 +08:00
Zhi Guan
c9ec102cbd
Merge pull request #574 from zzclzxc/master
...
fix sm3 padding bug
2018-11-13 13:54:09 +08:00
Zhi Guan
3fb9b94d51
Set hmac-sm3 as default prf of sms4 in PKCS#5
2018-11-02 11:21:41 +08:00
Zhi Guan
676076278d
Update some demos
2018-10-31 11:03:21 +08:00
Zhi Guan
9eadfd4cb6
Update CPK sub-lib
...
Use simple NID as arguments, and fix some bugs
2018-10-21 19:43:40 +08:00
Zhi Guan
d81a43b6d5
Merge pull request #589 from bruce-sunshine/bruce_sdt
...
delete OPENSSL_assert in ECDSA_SIG_set_ECCSIGNATUREBLOB
2018-10-19 16:05:40 +08:00
Zhi Guan
89c826054b
Update cpk
...
fix bug and add demo code
2018-10-19 00:09:54 +08:00
bruce
3d8fbc8bfd
delete OPENSSL_assert in ECDSA_SIG_set_ECCSIGNATUREBLOB
2018-10-15 10:39:08 +08:00
Zhi Guan
f411936f9f
Update version to 2.4.0
...
Since this version SM9 is offically supported.
2018-10-13 21:47:14 +08:00
Zhi Guan
5293d0f38d
Update SM9 key agreement
2018-10-12 12:07:58 +08:00
Zhi Guan
989bc7638d
First SM9 release
...
SM9 setup/keygen/sign/verify has been tested. See example codes `demos/sm9/`.
2018-10-10 20:42:07 +08:00
Zhi Guan
9ca519edfa
Update SM9 decrypt
...
to be tested
2018-10-06 17:33:34 +08:00
Zhi Guan
f07ca5eeff
Update SM9 encrypt
2018-10-06 17:04:25 +08:00
Zhi Guan
a7b96e8024
Add SM9 encapsulate key functions
2018-10-05 11:53:13 +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
f960a8fa27
Add sm3/sm4 as pbe algorithms
2018-09-08 10:38:43 +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
zhaoxincheng
41049aa0cd
fix sm3 padding bug
2018-08-30 16:37:25 +08:00
cuihongpeng
eedbb6bb8e
sm2: fix cv free error, in o2i_SM2CiphertextValue() function
2018-08-23 17:58:24 +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
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
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
2018-04-06 17:07:12 +08:00
Zhi Guan
a94e307888
Add SDF pkey encrypt/decrypt support
2018-03-30 19:51:49 +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
e124d150fa
Fix bugs of evp/sm2
2018-03-13 12:41:46 +08:00
Zhi Guan
4b825edf3c
Add some debug info
2018-03-13 12:26:17 +08:00
Zhi Guan
25d4ff1afb
Fix SDF vendor feature
2018-01-26 23:56:18 +08:00
Zhi Guan
342603d169
Add SM2 Z value computation support for more APIs
2018-01-25 23:57:39 +08:00
Zhi Guan
32c343fc06
Compatible with SDF Engine
...
The SDF Engine might not malloc `ctx->md_data`.
2018-01-25 23:56:14 +08:00
Zhi Guan
755814db52
Fix SM2 certificate verification
...
Set the default ec_scheme to secg_scheme, add sm3 ZID to X.509
verification.
2018-01-11 23:37:28 +08:00
Zhi Guan
496dfde33c
Merge pull request #418 from zsdevX/patch-1
...
Update e_sms4.c
2018-01-09 00:04:45 +08:00
Zhi Guan
61f6b7ea98
Some warning fixes.
2018-01-07 12:02:24 +08:00
Zhi Guan
86e1fc9266
API compatible with OpenSSL before version 1.1.0
...
Add BN_init() and CRYPTO_num_locks(), compatible with OpenSSL 0.9.8.
And change the default OpenSSL API to 1.1.0.
2018-01-07 12:02:03 +08:00
Simon
38395c5c80
Revert "quantum init"
...
This reverts commit 53af3b51ae .
2018-01-04 14:03:38 +08:00
zhaoxiaomeng
53af3b51ae
quantum init
2018-01-04 13:40:59 +08:00
zs
be421a6c74
Update e_sms4.c
2018-01-03 16:53:24 +08:00
Zhi Guan
c41e135604
Update ZUC algorithm with EVP module
...
128-EEA3, 128-EIA3, byte-order and tests need to be updated.
2018-01-03 15:26:09 +08:00