summaryrefslogtreecommitdiff
path: root/crates/tor-cell/src/relaycell
Commit message (Expand)AuthorAgeFilesLines
* Rename onion-* cargo features to hs-* in tor-* cratesIan Jackson2023-02-281-12/+12
* Rearrange cfg_attr in relaycell::msgNick Mathewson2023-02-211-2/+2
* Merge branch 'hs-cells-1' into 'main'Nick Mathewson2023-02-165-462/+669
|\
| * Mark a quoted block as text, so doctest ignores it.Nick Mathewson2023-02-161-1/+1
| * Add a TODO about combining several macros and patternsNick Mathewson2023-02-161-0/+4
| * Make a comment more accurateIan Jackson2023-02-161-1/+3
| * tor-cell: Use a more generic mechanism for managing extensionsNick Mathewson2023-02-153-56/+249
| * tor-cell: Extract establish-intro into its own module.Nick Mathewson2023-02-153-214/+222
| * tor-cell: rename onion_service module to hsNick Mathewson2023-02-152-1/+1
* | tor-cell: add a TODO comment about simplifying Body away.Nick Mathewson2023-02-151-0/+4
* | tor-cell: Implement {Relay,Chan}Msg for every body typeNick Mathewson2023-02-151-0/+46
* | tor-cell: Note an opportunity for future optimizationNick Mathewson2023-02-151-0/+5
|/
* Change tor_bytes::Error::BadMessage to a Cow.Nick Mathewson2023-02-094-17/+25
* tor-cell: Have restrict_msg add conversion functions.Nick Mathewson2023-02-093-90/+1
* tor-cell: documentation cleanups related to restricted_msgNick Mathewson2023-02-071-0/+2
* tor-cell: correct handling of optional msg types.Nick Mathewson2023-02-071-12/+12
* tor-cell: Rename RelayMsg and RelayCell-related types.Nick Mathewson2023-02-073-50/+50
* tor-cell: Remove RelayMsg methods that are duplicated in RelayMsgClass.Nick Mathewson2023-02-071-15/+0
* tor-cell: Use macro to define RelayMsg type too.Nick Mathewson2023-02-072-185/+103
* tor-cell: Change all variants of RelayMsg to have a body.Nick Mathewson2023-02-071-12/+49
* tor-cell: Make Body and MsgClass traits more uniform.Nick Mathewson2023-02-073-30/+30
* tor-cell: Generic "Restricted{Relay,Chan}Cell" types.Nick Mathewson2023-02-071-7/+20
* Fix typosDimitris Apostolou2023-01-071-4/+4
* Sketch a solution for arti#525Nick Mathewson2023-01-061-0/+34
* Sketch out new required APIs in tor-cellNick Mathewson2023-01-062-8/+124
* Merge branch 'assert_maxlen' into 'main'Nick Mathewson2022-10-271-1/+2
|\
| * tor-cell: Assert data length in Data cellsEmil Engler2022-10-241-1/+2
* | Merge branch 'safe_u16_conversion' into 'main'Nick Mathewson2022-10-251-1/+1
|\ \
| * | tor-cell: Consistent and secure conversion to u16Emil Engler2022-10-241-1/+1
| |/
* | Merge branch 'fix_typos' into 'main'eta2022-10-251-2/+2
|\ \
| * | tor-cell: Fix typos in msg.rsEmil Engler2022-10-241-2/+2
| |/
* / tor-cell: Add comment explaing Data::MAXLENEmil Engler2022-10-241-0/+1
|/
* Merge branch 'cell-introduce2' into 'main'Ian Jackson2022-09-262-15/+64
|\
| * Implement Introduce2 tor cellYuan Lyu2022-09-212-15/+64
* | Intoduce1: Use a constant-time check for all-zero RsaIdentityNick Mathewson2022-09-201-2/+3
|/
* Implement onion service Introduce1Yuan Lyu2022-09-082-1/+74
* Clean up EstablishIntro cellYuan Lyu2022-08-251-12/+162
* Clarify `REASON_DONE`Emptycup2022-08-161-1/+1
* Implement establish rendezvous cellYuan Lyu2022-08-052-1/+42
* Several typo fixes from `typos`.Nick Mathewson2022-07-271-1/+1
* Fix compilation of EstablishInto encoding.Nick Mathewson2022-07-221-2/+3
* Merge branch 'hs-cells' into 'main'eta2022-07-222-1/+86
|\
| * Implement ESTABLISH_INTRO relay cellYuan Lyu2022-07-182-1/+86
* | Merge branch 'fallible_writers_v2' into 'main'Nick Mathewson2022-07-193-53/+90
|\ \
| * | tor-cell: Stop using write_infallibleNick Mathewson2022-07-112-23/+38
| * | tor-cell: Make encoding method signatures fallible.Nick Mathewson2022-07-112-21/+37
| * | Convert each write_onto_infallible implementation into write_onto.Nick Mathewson2022-07-113-10/+16
| * | Rename "write" methods on tor-bytes to "write_infallible".Nick Mathewson2022-07-113-21/+21
| |/
* / tor-cell: Derive Eq for NtorV3ExtensionIan Jackson2022-07-181-1/+1
|/
* Implement a higher-level API for the ntor v3 handshakeeta2022-07-081-0/+115