aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-proto/src/crypto/handshake.rs
Commit message (Collapse)AuthorAgeFilesLines
* tor-proto: circ handshake now always uses NONE destroy reasonSteven Engler2026-06-121-14/+0
|
* Upgrade rand crates to 0.10.Wesley Aptekar-Cassels2026-05-121-3/+3
| | | | | | | | | | | When the circ-padding feature is enabled, we use maybenot, which does not yet support rand 0.10. In the meantime, enabling this feature pulls in rand 0.9. This is not ideal, but should be okay as a temporary situation. This also replaces the use of ReseedingRng (which was removed in 0.10) with the reseeding_rng crate. This is somewhat less performant, but it should be okay.
* tor-proto: extend `RelayHandshakeError`Steven Engler2026-04-081-1/+27
|
* proto: remove bench pub wrappersLionel Goffaux2025-05-221-0/+2
|
* tor-proto: removed "ntor_v3" feature flagSteven Engler2025-04-011-1/+0
| | | | ntor v3 is now always enabled.
* Add temporary allows for some dead code warningsIan Jackson2024-04-251-0/+1
|
* tor-proto: make ClientHandShake and ServerHandshake generic over aux dataJim Newsome2023-11-151-35/+30
|
* ServerHandshake: extend to support ntorv3 extensionsJim Newsome2023-11-151-3/+39
|
* ClientHandshake: extend to support ntorv3 extensionsJim Newsome2023-11-151-2/+14
|
* Rename onion-* cargo features to hs-* in tor-* cratesIan Jackson2023-02-281-1/+1
| | | | Fixes #756
* tor-proto: Expose support for doing onion service handshakesNick Mathewson2023-01-171-2/+3
| | | | | | This is a little tricky, but I think that we're not actually exposing too much here. I expect we'll need to tweak this stuff between now and our final version.
* tor-proto: Rename "hs" experimental feature to "onion-common"Nick Mathewson2023-01-171-1/+1
| | | | (For consistency with other crates)
* tor-proto: Replace SecretBytes with SecretBuf.Nick Mathewson2022-08-011-8/+9
| | | | | | | | | | This does not yet make sure that `SecretBuf` is used where it _should_ be, but at least it ensures that most uses of `SecretBytes` will indeed act as intended, and make sure that whatever they contain is zeroized. It requires some corresponding changes to method calls for correctness and type conformance.
* tor-proto: clean up error names and messagesNick Mathewson2022-06-231-6/+6
| | | | | This avoids adding additional information for now; that will come on the next commits.
* Eliminate RequestedResourceAbsent kind.Nick Mathewson2022-02-221-1/+22
| | | | | | | | There was only one use of this, and it was in as-yet-unused relay-only code. Removing this type required refactoring the relay onion handshake code to use its own error type, which is probably clever anyway.
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-271-0/+120
This will cause some pain for now, but now is really the best time to do this kind of thing.