Gorachya
54a4d1b9aa
modify-sm9
2019-02-02 20:24:54 -08:00
Zhi Guan
22027d6656
Add paillier homomorphic encryption command
...
See http://gmssl.org/docs/paillier.md
2019-02-01 23:49:16 +08:00
Zhi Guan
7d5c18379f
Update SM2 methods
...
The default `./config` will enable the X86_64 ASM implementation of SM2. Use `./config -DGMSSL_NO_TURBO enable-ec_nistp_64_gcc_128` will enable the fast C implementation of SM2. The `./config -DGMSSL_NO_TURBO` will use the original implementation.
2019-01-26 17:26:03 +08:00
Zhi Guan
674cada9bc
Merge pull request #676 from ZZMarquis/patch-4
...
fix the incorrect pexp index
2019-01-23 19:02:43 +08:00
Zhi Guan
770f6f594f
Merge pull request #675 from ZZMarquis/patch-3
...
fix the incorrect free
2019-01-23 19:01:47 +08:00
Zhi Guan
a58a817e9c
Bug fix
2019-01-23 09:50:13 +08:00
Zhi Guan
3b531349db
Merge branch 'master' of https://github.com/guanzhi/GmSSL
2019-01-23 09:13:38 +08:00
Zhi Guan
5359dd5534
Update SKF
2019-01-23 09:13:30 +08:00
ZZMarquis
b3586a2826
fix the incorrect pexp index
...
fix the incorrect pexp index
2019-01-16 10:38:23 +08:00
ZZMarquis
208e00bfa1
fix the incorrect free
...
fix the incorrect free
2019-01-16 10:32:25 +08:00
ZZMarquis
ac773035b6
remove the repetitive validation of cv->hash
...
remove the repetitive validation of cv->hash
2019-01-15 10:20:29 +08:00
Zhi Guan
4bab277911
Update sm2 and zuc
2019-01-12 11:56:06 +08:00
Zhi Guan
3dfae969d9
Update skf_ext.c
2019-01-10 21:11:09 +08:00
Zhi Guan
ce51a66c04
Merge branch 'master' of https://github.com/guanzhi/GmSSL
2019-01-10 21:06:12 +08:00
Zhi Guan
6f9620d24b
Update sdf and skf commands
2019-01-10 21:06:07 +08:00
Zhi Guan
203f9f429c
Merge pull request #658 from ZZMarquis/patch-2
...
maybe memory leak
2019-01-04 22:16:24 +08:00
Zhi Guan
8f54e70ada
Add sdf and skf options
2019-01-02 21:09:41 +08:00
ZZMarquis
1ed3bc248c
maybe memory leak
...
maybe memory leak
2018-12-28 16:10:58 +08:00
Zhi Guan
20b6f25562
Bug fix
2018-12-25 15:10:26 +08:00
Zhi Guan
786d6f0205
Add sm2utl and sm9utl commands
2018-12-25 14:49:12 +08:00
Soraba Shrine de Gorachya
907d5e92d0
fast-final-expo
2018-12-19 00:17:30 -08:00
Zhi Guan
62d385ab71
Bug fix
2018-12-19 12:21:42 +08:00
Zhi Guan
3e3cc9d4a7
Update ec lib
2018-12-19 12:09:23 +08:00
Zhi Guan
74a729aa77
Add sm2 and otp command
...
try `gmssl sm2 -help` and `gmssl otp -help`
2018-12-19 10:01:38 +08:00
Yiming Jing
ece7d87413
Add ECDHE-SM2-WITH-SMS4-GCM-SM3
2018-12-11 18:51:32 -08:00
Zhi Guan
1c00e47681
Update sm9 functions
2018-12-07 16:32:12 +08:00
Zhi Guan
6f5b7a4c96
Merge branch 'master' of https://github.com/guanzhi/GmSSL
2018-12-06 22:12:10 +08:00
Zhi Guan
9b5eaab86a
some bug fix
2018-12-06 22:12:05 +08:00
Zhi Guan
5a40547c0b
Merge pull request #627 from ZZMarquis/patch-1
...
remove unused code
2018-12-04 22:45:24 +08:00
Zhi Guan
bc2bb8a335
Add accurate asn.1 siganture/ciphertext size
2018-12-04 15:56:21 +08:00
Zhi Guan
c0ee87b077
Update SM9 EVP
2018-12-03 17:15:57 +08:00
ZZMarquis
d26c35538e
remove unused code
...
remove unused code
2018-12-03 15:26:39 +08:00
Zhi Guan
5f3bb5c346
update pmeth/ameth
2018-11-28 16:15:06 +08:00
Zhi Guan
9fe7aa1280
Merge pull request #539 from ZZMarquis/patch-2
...
[bugfix] EC_KEY_set_ECCrefPublicKey转换过程中未处理字节数组偏移
2018-11-26 17:05:41 +08:00
Simon
d4768d2594
Update gmapi_skf_ec.c
2018-11-24 20:34:02 +08:00
Simon
339c2a0bb2
Update gmapi_skf_ec.c
2018-11-24 20:22:34 +08:00
Feng Jie
38201e1161
Fix unnecessary free in o2i_SM2CiphertextValue
...
The caller will crash when using the return value from
o2i_SM2CiphertextValue. Because the returned pointer to SM2CiphertextValue has been free,
regardless of success or failure in this method.
When assign cv to ret, cv should be set NULL just like the behaviour in
SM2_do_encrypt.
2018-11-24 20:09:02 +08:00
Simon
40b6623427
Update gmapi_skf_ec.c
2018-11-24 20:05:13 +08:00
Zhi Guan
e7dc7b2656
Fix sm2 asm build errors on x86
2018-11-21 16:35:50 +08:00
Zhi Guan
952321677f
Merge branch 'master' of https://github.com/guanzhi/GmSSL
2018-11-16 15:26:33 +08:00
Zhi Guan
9a999ae907
Add sm9 and paillier pem support
2018-11-16 15:26:30 +08:00
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