diff options
author | Micah Elizabeth Scott <beth@torproject.org> | 2023-03-14 16:16:27 -0700 |
---|---|---|
committer | Micah Elizabeth Scott <beth@torproject.org> | 2023-05-10 07:38:28 -0700 |
commit | 209a59face791159e167837214e22b6eaa3375b4 (patch) | |
tree | 69b17b24100bc301dec12df57f016e14b3534e7f /src/test/test_hs_pow.c | |
parent | 1a3afeb387461680bcf97f5cf8574ee0e0cad893 (diff) | |
download | tor-209a59face791159e167837214e22b6eaa3375b4.tar.gz tor-209a59face791159e167837214e22b6eaa3375b4.zip |
hs_pow: Don't require uint128_t
We were using a native uint128_t to represent the hs_pow nonce,
but as the comments note it's more portable and more flexible to
use a byte array. Indeed the uint128_t was a problem for 32-bit
platforms. This swaps in a new implementation that uses multiple
machine words to implement the nonce incrementation.
Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
Diffstat (limited to 'src/test/test_hs_pow.c')
0 files changed, 0 insertions, 0 deletions