355 Commits
Author SHA1 Message Date
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
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 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 2017-02-06 10:31:50 +08:00