summaryrefslogtreecommitdiff
path: root/crates/tor-proto/testdata
Commit message (Collapse)AuthorAgeFilesLines
* proto: Update CGO test vectorsNick Mathewson2025-05-074-149/+146
| | | | | These were generated with an updated version of the python reference implementation.
* proto: Implement and test CGO cryptography.Nick Mathewson2025-04-292-0/+447
| | | | | | | | This provides all the operations from proposal 359, along with the necessary integration and unit tests to make sure that they are behaving properly. Closes #1943
* proto: Implement UIV+, the wide-block RPRP used for CGO.Nick Mathewson2025-04-291-0/+282
|
* proto: Implement CGO functions ET and PRFNick Mathewson2025-04-292-0/+490
| | | | | | | These are a tweakable block cipher, and a pseudorandom byte stream. This commit includes test vectors, which were generated from the Python reference implementation and confirmed with a less optimized Rust implementation.
* Rename `.inc` and other included files to end in `.rs`eta2022-07-261-0/+0
| | | | | | | | | | | | | In order to mitigate syntax highlighting issues and a rust-analyzer bug (https://github.com/rust-analyzer/rust-analyzer/issues/10178), rename files that are included with the `include!` macro to have a `.rs` extension. Make sure the included files are outside `src/`, in order to not confuse humans and automated editing tools that might mistake them for valid Rust modules. fixes arti#381
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-271-0/+12
This will cause some pain for now, but now is really the best time to do this kind of thing.