Commit Graph

412 Commits

Author SHA1 Message Date
Y. T. Chung
50f704d58e remove unnecessary license in every files 2017-02-19 00:27:08 +08:00
Y. T. Chung
6a1a021331 add aead test 2017-02-18 21:55:13 +08:00
Y. T. Chung
010cd50bef support chacha20-ietf-poly1305 2017-02-18 20:54:29 +08:00
Y. T. Chung
ffbee04d68 use async dns resolver 2017-02-18 18:52:06 +08:00
Y. T. Chung
ae787715d5 construct cipher inside stream wrapper 2017-02-18 16:49:36 +08:00
Y. T. Chung
10baee58a5 make clippy happy 2017-02-18 11:32:52 +08:00
Y. T. Chung
99daba0680 updated docs 2017-02-18 01:48:27 +08:00
Y. T. Chung
50f37de0e6 upgrade appveyor script 2017-02-18 01:17:50 +08:00
Y. T. Chung
931269dd98 upgrade base64 2017-02-18 01:12:29 +08:00
Y. T. Chung
bccd47d416 fixed bug, should be salt instead of iv 2017-02-18 00:33:28 +08:00
Y. T. Chung
906db6ec19 already supported AEAD ciphers 2017-02-18 00:29:57 +08:00
Y. T. CHUNG
66c0a528f2 Merge pull request #38 from zonyitoo/feature-aead
SIP004 AEAD ciphers
2017-02-18 00:28:18 +08:00
Y. T. Chung
c4f0aa06e5 upgrade openssl for appveyor 2017-02-18 00:12:14 +08:00
Y. T. Chung
77368c4aed follows libev branch modification, add hkdf key hash and salt logic 2017-02-17 23:26:51 +08:00
Y. T. Chung
0cb7bd428b udp relay supports AEAD ciphers 2017-02-16 21:38:35 +08:00
Y. T. Chung
83f9302548 impls copy apis for DecryptedRead 2017-02-16 20:52:13 +08:00
Y. T. Chung
6ce5f63964 set to 8K buffer 2017-02-16 02:18:14 +08:00
Y. T. Chung
7005f4d465 fixed test 2017-02-16 02:08:14 +08:00
Y. T. Chung
bf8a463579 fulfills basic aead protocol 2017-02-16 02:01:38 +08:00
Y. T. Chung
7498af56fd impls bytes_to_key 2017-02-16 00:40:41 +08:00
Y. T. Chung
6515e58182 initial implementation for AEAD protocol 2017-02-15 21:50:09 +08:00
Y. T. Chung
cb051a2bb5 rename ciphers to stream cipher 2017-02-14 23:13:56 +08:00
Y. T. Chung
3ff5c6ecb2 make clippy happy 2017-02-14 09:13:20 +08:00
Y. T. Chung
151957385b updated readme todos 2017-02-12 19:01:49 +08:00
Y. T. Chung
1b53ab5b99 reply properly 2017-02-12 18:55:39 +08:00
Y. T. Chung
a6ecea346e Extract comm apis from EncryptedWriter and DecryptedReader 2017-02-12 02:03:39 +08:00
Y. T. Chung
bff0efd9dd write final block at drop 2017-02-11 23:57:06 +08:00
Y. T. Chung
2ad57fa5ee revert EncryptedWriter as Write 2017-02-11 23:50:19 +08:00
Y. T. Chung
aac5200800 updated deps 2017-02-11 20:54:56 +08:00
Y. T. Chung
ffabefda82 Rewrite EncryptWriter as a BufWriter 2017-02-11 20:52:25 +08:00
Y. T. Chung
009777d21b bump version to v1.2.0 v1.2.0 2017-02-11 16:36:18 +08:00
Y. T. Chung
7a4bdc383b remove unnecessary static lifetime 2017-02-09 13:35:40 +08:00
Y. T. Chung
ad098dc22d fixed stack overflow, separate impl copy 2017-02-08 21:56:09 +08:00
Y. T. Chung
83710033e6 implements TCP timeouts 2017-02-06 23:06:36 +08:00
Y. T. Chung
f2d6a0b8df removed http proxy protocol, bump version to v1.1 v1.1.0 2017-02-06 20:36:26 +08:00
Y. T. Chung
b41f2167df no flush before copy all 2017-02-06 15:56:55 +08:00
Y. T. Chung
c05d05b495 add data structure in doc 2017-02-06 12:14:32 +08:00
Y. T. Chung
01747b22cf remove dep of rustc-serialize, use serde_json instead 2017-02-06 11:53:35 +08:00
Y. T. Chung
47f6b25b5e fixed bug, ignore empty headers 2017-02-06 10:48:55 +08:00
Y. T. Chung
566a206284 updated dependencies and impl v1.0.3 2017-02-06 10:31:50 +08:00
Y. T. Chung
5acbb1cfcb updated deps 2017-01-13 23:48:36 +08:00
Y. T. Chung
93869e1392 better error message 2016-11-23 00:26:29 +08:00
Y. T. Chung
e1aaa0b49d use digest algorithm from rust-crypto v1.0.2 2016-11-23 00:02:06 +08:00
Y. T. Chung
45f1344c13 optimize with static allocation 2016-11-20 10:01:01 +08:00
Y. T. Chung
40df14508e bump version to v1.0.1 v1.0.1 2016-11-20 01:49:40 +08:00
Y. T. Chung
6804cd3336 remove coio log 2016-11-20 01:19:39 +08:00
Y. T. Chung
475b1279a5 send socks5 structs in a bulk 2016-11-20 00:51:51 +08:00
Y. T. Chung
3ef0acf95f remove dns cache, lock free 2016-11-07 22:55:32 +08:00
Y. T. Chung
7c86bcd281 should not split stream in different task 2016-11-07 22:35:01 +08:00
Y. T. Chung
34a70a7dc7 memory optimization 2016-11-07 03:35:48 +08:00