summaryrefslogtreecommitdiff
path: root/crates/equix/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename bucket-array-api feature to bucket-arrayNick Mathewson2024-05-071-2/+3
|
* equix: use a feature to expose bucket array API.Nick Mathewson2024-05-071-1/+1
| | | | By removing 'cfg(fuzzing)', this resolves another case of #1395.
* Re-run maint/add_warning.Nick Mathewson2024-05-061-2/+2
| | | | This commit is automatically generated.
* deny clippy::unchecked_duration_subtractiontrinity-1686a2024-02-291-0/+1
|
* Run add_warnings on all files.Nick Mathewson2023-08-041-2/+2
|
* equix/fuzz: Fixes to get nick's prototype runningMicah Elizabeth Scott2023-08-011-0/+4
| | | | | | | | | There are some places we might improve this, maybe testing more data types and shapes. This patch just makes the minimal changes necessary to get it working: adds allocation logic to the fuzzer itself, and adds visibility for the bucket_array::mem interface. Signed-off-by: Micah Elizabeth Scott <[email protected]>
* tor-hspow, equix, hashx: Comment tweaksMicah Elizabeth Scott2023-07-271-16/+31
| | | | | | Making a few comment tweaks suggested in review feedback. Signed-off-by: Micah Elizabeth Scott <[email protected]>
* Update equix, hashx, tor-hspow for new clippy defaultsMicah Elizabeth Scott2023-07-271-1/+1
| | | | Just running maint/add_warning after the rebase
* Reimplement Equi-X in RustMicah Elizabeth Scott2023-07-271-0/+230
This is a new pure Rust implementation of the Equi-X algorithm designed by tevador for Tor's onion service proof of work puzzle v1. Equi-X is an asymmetric puzzle algorithm based on Equihash, with N=60, K=3, the XOR replaced with modular addition, a 16-bit index space, and HashX as the inner hash function. Signed-off-by: Micah Elizabeth Scott <[email protected]>