summaryrefslogtreecommitdiff
path: root/crates/tor-proto/src
Commit message (Expand)AuthorAgeFilesLines
* Precisely cfg-decorate a constantIan Jackson2023-10-311-0/+1
* Add cfg_attr allow(unused_imports) to two cratesIan Jackson2023-10-311-0/+6
* Add a caret_int HandshakeType for HTYPE constantsJim Newsome2023-10-263-4/+9
* Change `CircId` to never be zeroJim Newsome2023-10-256-59/+94
* Convert StreamId to NonZeroU16Jim Newsome2023-10-257-73/+82
* Fix rustdoc link warnings/errors.Nick Mathewson2023-10-201-1/+1
* Merge branch 'tricky_terminate' into 'main'Nick Mathewson2023-10-194-181/+149
|\
| * proto: Revise the behavior of IncomingStream::discard().Nick Mathewson2023-10-193-21/+45
| * IncomingStream:: flatten IncomingStreamInner.Nick Mathewson2023-10-191-13/+11
| * IncomingStream: Remove state.Nick Mathewson2023-10-191-67/+4
| * Note a bug in IncomingStream::discard.Nick Mathewson2023-10-191-0/+2
| * Remove IncomingStreamInner from its Option.Nick Mathewson2023-10-191-34/+7
| * Remove impl Drop from IncomingStreamNick Mathewson2023-10-191-11/+4
| * proto: Remove TODOs about panics on double-close.Nick Mathewson2023-10-192-31/+2
| * proto: Have EndSent remember if we have dropped the stream target.Nick Mathewson2023-10-192-14/+46
| * proto: Give StreamMap::terminate a "why" argumentNick Mathewson2023-10-192-7/+45
* | Merge branch 'upgrade_20231017' into 'main'Ian Jackson2023-10-191-2/+2
|\ \ | |/ |/|
| * Upgrade to latest asynchronous_codec (0.7.0)Nick Mathewson2023-10-171-2/+2
* | Add comments about another problem with close_pending().Nick Mathewson2023-10-172-0/+21
* | proto: Make StreamTarget::close() misuse less likely.Nick Mathewson2023-10-172-5/+9
|/
* Merge branch 'todos_proto' into 'main'Nick Mathewson2023-10-123-91/+120
|\
| * proto::stream::incoming: Use bit-array representation for command listNick Mathewson2023-10-121-7/+84
| * tor-proto: remove a now-unneeded allow in stream::incomingNick Mathewson2023-10-121-2/+0
| * Remove the (fairly bogus) HsNtorServiceInput type.Nick Mathewson2023-10-121-80/+37
| * proto: Remove a TODO about merging two functions.Nick Mathewson2023-10-121-2/+0
| * Lower and downgrade a TODO about StreamID and NonZeroU16.Nick Mathewson2023-10-121-1/+0
* | tor-proto: Add a FIXME about an allowIan Jackson2023-10-121-0/+2
|/
* oneshot: Apply deferred rustfmt churnIan Jackson2023-10-113-3/+3
* oneshot: Use veneer in tor-protoIan Jackson2023-10-116-9/+15
* Merge branch 'refactor-kdf' into 'main'Nick Mathewson2023-10-032-15/+42
|\
| * tor-proto: Refactor the key derivationEmil Engler2023-09-292-15/+42
* | tor-proto: Fix clippy warning.Gabriela Moldovan2023-10-031-1/+1
|/
* Merge branch 'misc-upgrades' into 'main'Nick Mathewson2023-09-283-6/+4
|\
| * Remove direct dependency on generic-arrayNick Mathewson2023-09-283-6/+4
* | tor-proto: Replace repeating pattern with fillEmil Engler2023-09-281-6/+2
|/
* tor-proto: Make allow_stream_requests() not return a ResultNick Mathewson2023-09-271-4/+4
* Merge branch 'pad_intro2' into 'main'Nick Mathewson2023-09-251-7/+41
|\
| * Generate padding in Introduce1 messages.Nick Mathewson2023-09-181-7/+41
* | hs_ntor: replace "32" with a const.Nick Mathewson2023-09-211-1/+1
* | hs_ntor: rename get_{introduce,rendezvous}1_key_material.Nick Mathewson2023-09-211-6/+6
* | hs_ntor: improve several comments.Nick Mathewson2023-09-211-3/+10
* | hs_ntor: rename enc_key to dec_key in service code.Nick Mathewson2023-09-211-5/+5
* | hs_ntor: allow attempting handshake with a set of subcredentials.Nick Mathewson2023-09-201-27/+45
* | hs_ntor: Take our k_hss_ntor keypair explicitly.Nick Mathewson2023-09-201-18/+18
|/
* tor-proto: Add a missing cfgIan Jackson2023-09-131-0/+1
* tor-proto: Use HopNum::display() instead of Debug representation.Gabriela Moldovan2023-08-251-3/+3
* tor-proto: Remove the Display impl of HopNum (fmt).Gabriela Moldovan2023-08-251-6/+6
* tor-proto: Remove the Display impl of HopNum.Gabriela Moldovan2023-08-252-15/+9
* tor-proto: Add a HopNum::display function.Gabriela Moldovan2023-08-252-4/+40
* tor-proto: Make HopNum indices appear 1-based in the Display impl.Gabriela Moldovan2023-08-251-1/+4