Commit Graph
364 Commits
Author SHA1 Message Date
Y. T. Chung 11ed6f987f Add INFO log for plugin address 2017-07-23 18:46:39 +08:00
Y. T. Chung e3a3ea885f impls SIP002 extended URL 2017-07-23 15:30:01 +08:00
Y. T. Chung ec49103892 supports SIP003 plugin 2017-07-23 14:04:37 +08:00
Y. T. Chung d62071f960 rename aead ciphers, fixed bug for aes-128-ctr 2017-07-15 18:46:27 +08:00
Y. T. Chung b1637c8820 removed unused num-cpus 2017-07-05 01:09:59 +08:00
Y. T. Chung 1cc63715a5 optimize code style 2017-07-02 22:39:26 +08:00
Y. T. Chung f602ce5cb4 format with latest rustfmt 2017-07-02 21:00:00 +08:00
Y. T. Chung 8e8d69e58f use netdb instead, which partially supports hosts files. #40 2017-07-02 17:06:20 +08:00
Y. T. Chung 13b3361f8c [#49] try to parse addr with IpAddr 2017-07-02 16:46:10 +08:00
Y. T. CHUNG 96f3fc2e27 Merge pull request #48 from bennyyip/macro
use macro to simplify code
2017-06-02 18:39:29 +08:00
quininer kel 0e1f05a286 Abandon rust-crypto (#47)
* Switch to ring and libsodium
* Updated other dependencies
2017-06-02 18:38:18 +08:00
BennyYip e0fb22dccf use macro to simplify code 2017-06-01 20:12:11 +08:00
Y. T. Chung 964d2d4f33 Remove support of multithread 2017-05-30 23:36:58 +08:00
Y. T. Chung b44c0c778e fixed bug, rc4_md5 has 16 bytes length IV 2017-05-30 23:09:08 +08:00
Y. T. CHUNG d87debb035 Merge pull request #46 from bennyyip/master
typo
2017-05-25 08:45:33 +08:00
BennyYip 6aa1a36160 typo 2017-05-23 18:07:41 +08:00
quininer kel 32e2d97a24 fix key-drive-argon2 feature 2017-05-23 17:30:43 +08:00
Y. T. Chung f223f238bb share config and handle in global stat 2017-05-21 16:59:28 +08:00
Y. T. Chung c7d183ec8a add global dns cache 2017-05-21 15:11:54 +08:00
quininer kel ac502e5d31 fix parse DNameBuf panic 2017-05-20 00:25:59 +08:00
Y. T. Chung 47e211e6b1 optimize unnecessary boxed allocation 2017-03-27 03:12:57 +08:00
Y. T. Chung 3b93c7fefd remove useless logs 2017-03-21 03:14:57 +08:00
Y. T. Chung da011575bb update comment and logs 2017-03-21 03:10:13 +08:00
Y. T. Chung 8ae47907bc upgrade tokio_core, move logics to tokio_io 2017-03-20 00:55:34 +08:00
Y. T. Chung 77c567bebb optimize bytes_to_key and init vec 2017-03-19 03:53:51 +08:00
Y. T. Chung 9fd403801b Optimize buffers with bytes 2017-03-19 03:11:18 +08:00
Y. T. Chung d7b3fa2b20 revert chacha20 poly ietf 2017-02-19 11:08:01 +08:00
Y. T. Chung 50f704d58e remove unnecessary license in every files 2017-02-19 00:27:08 +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 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 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 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 ffabefda82 Rewrite EncryptWriter as a BufWriter 2017-02-11 20:52:25 +08:00