Commit Graph

47 Commits

Author SHA1 Message Date
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
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
4b825edf3c Add some debug info 2018-03-13 12:26:17 +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
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
Zhi Guan
a9b31e17a5 wrap optional headers with OPENSSL_NO_ macro 2017-12-26 22:51:47 +08:00
Zhi Guan
f5a3f271a3 v2 pre-release 2017-12-07 23:58:48 +08:00
Zhi Guan
a4e6eea2fa tls12 with sm2 cert 2017-12-01 20:28:39 +08:00
Simon
d249929e81 [bugfix]fix double free bug 2017-11-28 17:12:43 +08:00
Zhi Guan
27bde477a5 first step of v2 final release 2017-11-05 21:00:36 +08:00
Zhi Guan
79e2936664 update 2017-05-15 17:23:26 +08:00
Zhi Guan
eb21e9d572 update 2017-04-14 15:31:38 +08:00
Zhi Guan
002096751c update crypto 2017-03-08 15:02:42 +08:00
Zhi Guan
9ae79dee03 update ec and sm2 kmeth 2017-02-23 17:27:07 +08:00
Zhi Guan
d9ea57a8c0 update sm2 2017-02-22 18:22:47 +08:00
Zhi Guan
5be4ebb4c0 add encrypt/decrypt to ec_key_method 2017-02-21 09:25:05 +08:00
Zhi Guan
28145d1e48 bug fix 2017-02-19 23:48:01 +08:00
Zhi Guan
046a5b2104 update ec
ec_kmeth and strict signature
2017-02-19 23:42:38 +08:00
Zhi Guan
dcdb3dd1d6 fix some bugs
config no-saf no-sdf no-skf no-sof no-zuc
2017-02-16 17:10:35 +08:00
Zhi Guan
91873b8da0 update evp/ec 2017-02-16 12:02:25 +08:00
Zhi Guan
5d5ea22fa7 add extra ec 2017-02-15 16:08:27 +08:00
Zhi Guan
15c9033ac1 add curves
test:

gmssl ecparam -name sm2p256v1  -param_enc explicit -noout -text
gmssl ecparam -name wapip192v1 -param_enc explicit -noout -text
2017-02-15 14:38:41 +08:00
Zhi Guan
0d7a103151 add ec
code need some updates
2017-02-15 14:27:41 +08:00
Zhi Guan
83321f9755 add ecies
ECIES share the same err num with EC
2017-02-15 00:03:52 +08:00
Zhi Guan
43fed1108d Merge remote-tracking branch 'origin/master'
# Conflicts:
#	README.md
2017-02-14 16:13:11 +08:00
Zhi Guan
a5b727c47b bug fix
err, cbcmac
2017-01-16 08:40:11 +08:00
Zhi Guan
09f054b2f2 Support VC-WIN32 2016-07-04 13:03:03 +02:00
Zhi Guan
2cb43b7f80 jni api 2016-06-06 22:04:44 +02:00
Zhi Guan
2bf25bd29f Bug fix
Thanks to github.com/Jkinglyf
2016-05-30 12:50:06 +02:00
Zhi Guan
ee4384daeb SKF Wrapper 2016-05-29 00:22:33 +02:00
Zhi Guan
0cf9126a7d more sm. tests 2016-05-22 20:42:38 +02:00
Zhi Guan
60d14da0cc add CBC-MAC and GM OTP, not tested 2016-05-15 20:21:51 +02:00
Zhi Guan
8c0439e7d6 fast SMS4 with Intel AVX2/KNC-NI 2016-05-09 09:20:02 +02:00
Zhi Guan
addcac4896 sm2 test vector 2016-05-02 17:56:14 +02:00
Zhi Guan
da6bb109b4 SM4/CTR 2016-04-18 13:41:56 +02:00
Zhi Guan
37ac6cd45a add SM2 default ID, fixed the SM2_do_encrypt() memory leak 2016-04-10 01:42:54 +02:00
Zhi Guan
5cc6cfdf22 SM2 KAP (Key Agreement Protocol), not tested 2016-04-07 22:15:41 +02:00
Zhi Guan
ef74cbd1e5 minor update 2015-11-02 21:46:00 +08:00
Zhi Guan
37541150e5 update 2015-11-02 11:15:27 +08:00
Zhi Guan
ade9fc1a2e sm2 2015-10-31 16:10:56 +08:00
Zhi Guan
2563a4ed83 sm2, ssl and license update 2015-10-25 21:20:50 +08:00
Zhi Guan
3f21c9d3d0 update 2015-10-11 11:56:45 +08:00
Zhi Guan
8afb3ef97b ECIES 2015-08-24 14:39:45 +08:00
Zhi Guan
3bdc0ea895 update 2015-08-15 15:02:15 +08:00
Zhi Guan
db4d3aef00 SM3/SMS4/SM3Sign(modified ECDSA) Supported 2015-08-14 01:08:27 +08:00
Zhi Guan
57954c4567 first commit, SM2-DSA only 2014-12-01 10:40:26 +08:00