154 Commits (5ba41e50ecd01d8c7ec0769d9425deb446a4522b)

Author SHA1 Message Date
Darien Raymond 5c4e33f759
rewrite SliceBySize 6 years ago
Darien Raymond bcd5d026fe
rewrite SplitFirst 6 years ago
Darien Raymond cb7646f682
remove unnecessary err object from SplitBytes 6 years ago
Darien Raymond 842a089dad
refactor multibuffer 6 years ago
Darien Raymond 0f324a613e
remove MultiBuffer.Release 6 years ago
Darien Raymond 27772a75a7
refactor MultiBuffer append 6 years ago
Darien Raymond 48cac1733f
remove NewMultiBufferCap 6 years ago
Darien Raymond a01fdc29a6
remove NewMultiBufferValue 6 years ago
Darien Raymond 151f316c32
remove unnecessary buf allocation 6 years ago
Darien Raymond 6c7dcc35ab
remove buffer.WriteBytes 6 years ago
Darien Raymond 3f3d00298a
share rand reader across auth readers 6 years ago
Darien Raymond f7b96507f9
simplify buffer extension 6 years ago
Darien Raymond 35ccc3a49c
cleanup unnecessary method in serial. 6 years ago
Darien Raymond 815c7f09ba
migrate to std lib 6 years ago
Darien Raymond 58e2ed3381
remove closure on ReadFullFrom 6 years ago
Darien Raymond 9f48a6d017
enable global padding for aead by default 6 years ago
Darien Raymond 091fa6ad23
use new errorgen 6 years ago
Darien Raymond d55fbd7f8d
simplify error creation 6 years ago
Darien Raymond 81c9968188
simplify crypto related code 6 years ago
Darien Raymond 60ee80ca1b
don't write empty payload 6 years ago
Darien Raymond 475ffc8196
supress warning on ecryption packets 6 years ago
Darien Raymond b4f3106ad6
check msg size in writepacket 6 years ago
Darien Raymond 3df32aabbc
check empty payload 6 years ago
Darien Raymond 128ec95218
merge stread reader from mux to crypto 6 years ago
Darien Raymond 2e11653694
remove BufferedReader.Direct 6 years ago
Darien Raymond b769e0cc5f
only create bufferedreader when necessary 6 years ago
Darien Raymond 2594f7027a
remove ToNetBuffers 6 years ago
Darien Raymond fdb3a7b57d
remove use of buf.NewSize() 6 years ago
Darien Raymond 6a06908456
optimize encryption read/write operations 6 years ago
Darien Raymond 206f52affc
refine buffer interface 6 years ago
Darien Raymond d615adab36
optimize padding reading 6 years ago
Darien Raymond 7a4b0fff07
ensure everything are written 6 years ago
Darien Raymond 5e25741742
update tests 6 years ago
Darien Raymond 7efa7ee632
prepare to remove constructor of AuthenticationReader 6 years ago
Darien Raymond 81c9743ce0
fix auth test 6 years ago
Darien Raymond 8a879deac1
max padding len as variable 6 years ago
Darien Raymond 69774c99dc
fix padding value 6 years ago
Darien Raymond f54a8735ab
global padding in vmess protocol 6 years ago
Darien Raymond 0d94d25688
prototype of mtproto proxy 6 years ago
Darien Raymond 68da956fc4
re-generate code 7 years ago
Darien Raymond 148a7d064d
simplify buf.BufferedReader 7 years ago
Darien Raymond 3997d13b97
rename Slice and Slice from to Resize and Advance 7 years ago
Darien Raymond 1425fd2ba9
remove Buffer.Append method 7 years ago
Darien Raymond 66ed1bab2a
simplify BytesGenerator 7 years ago
Darien Raymond 9d7f43a299
fix lint errors 7 years ago
Darien Raymond 4b45174650
fix handling of empty buffer 7 years ago
Darien Raymond 9f198d7e3d
fix lint errors 7 years ago
Darien Raymond 27ccc9d726
comments 7 years ago
Darien Raymond 7bafd7a1ab
migrate int to int32 7 years ago
Darien Raymond c5bd23105e
change uint32 to int32 7 years ago