| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | proto: fix bench features | Lionel Goffaux | 2025-05-27 | 6 | -180/+186 |
| | | |||||
| * | proto: remove bench pub wrappers | Lionel Goffaux | 2025-05-22 | 8 | -124/+147 |
| | | |||||
| * | proto: use consts for bench throuputs | Lionel Goffaux | 2025-05-14 | 8 | -16/+19 |
| | | |||||
| * | proto: fix doc mismatch in benchmarks | Lionel Goffaux | 2025-05-14 | 2 | -2/+2 |
| | | |||||
| * | proto: fix doc typos | Lionel Goffaux | 2025-05-14 | 6 | -7/+7 |
| | | |||||
| * | proto: change bench measurement | Lionel Goffaux | 2025-05-13 | 9 | -190/+83 |
| | | |||||
| * | proto: use of Aes{128,256}{Dec,Enc} in the benchmarks | Lionel Goffaux | 2025-05-08 | 6 | -24/+24 |
| | | |||||
| * | proto: fix typo s(t)ate | Lionel Goffaux | 2025-05-08 | 5 | -12/+12 |
| | | |||||
| * | proto: extend benchmarks | Lionel Goffaux | 2025-05-08 | 10 | -187/+667 |
| | | |||||
| * | proto, cell: Remove RelayCellFormatTrait. | Nick Mathewson | 2025-05-06 | 4 | -34/+25 |
| | | | | | | | | | | | | | | | | | The purpose of the trait was to parameterize the tor1 cell crypto on the different possible relay cell layouts. It made sense to have this trait when we thought we would implement the new cell layout for prop340 (packed-and-fragmented) well before we implemented CGO. But it now appears all but certain that CGO will land long before we make any more headway on prop340. Therefore, it doesn't make sense to carry the ability to customize `tor1` for other relay cell layouts. Removing this trait saves a fair bit of complexity. | ||||
| * | Emit SendmeTag directly from cell crypto. | Nick Mathewson | 2025-05-06 | 2 | -9/+9 |
| | | | | | | | | | | | | | | | | | | | | | This changes the code to copy a SendmeTag rather than returning a slice. This isn't actually a big change: sending a slice already required 16 bytes (on 64-bit platforms), so sending a SendmeTag around isn't a big deal. We rely extensively on the compiler's ability to optimize away all the checking in code like this: ``` let slice: &[u8]; let a: [u8;N] = slice[0..N].try_into().expect("Nope"); ``` I've spot-checked it somewhat with "cargo-show-asm", but it could use more thorough checking. Closes #1956. | ||||
| * | squash! Upgrade rand dependency to 0.9. | Nick Mathewson | 2025-03-18 | 1 | -3/+2 |
| | | | | | | | - `rand::thread_rng()` has been deprecated and renamed to `rand::rng()` (I missed these cases because they were from prelude::*) | ||||
| * | squash! Upgrade rand dependency to 0.9. | Nick Mathewson | 2025-03-18 | 3 | -5/+5 |
| | | | | | - `rand::thread_rng()` has been deprecated and renamed to `rand::rng()` | ||||
| * | tor-proto: change the case of the macros | Lionel Goffaux | 2024-11-08 | 2 | -6/+6 |
| | | |||||
| * | tor-proto: put every bench_utils mod behind the bench feature | Lionel Goffaux | 2024-11-06 | 1 | -1/+1 |
| | | |||||
| * | tor-proto: add macro for encryption/decryption bench setup | Lionel Goffaux | 2024-11-06 | 2 | -96/+47 |
| | | |||||
| * | tor-proto: use as_nanos for CpuTime | Lionel Goffaux | 2024-11-06 | 1 | -1/+5 |
| | | |||||
| * | tor-proto: rename CPUTime to CpuTime | Lionel Goffaux | 2024-11-06 | 5 | -16/+15 |
| | | |||||
| * | tor-proto: Add benchmarks for cell encryption and decryption | Lionel Goffaux | 2024-11-04 | 5 | -0/+489 |
