[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #19134 [Core Tor/Tor]: Shared Random: INT_8 means 8 bytes, not 8 bits
#19134: Shared Random: INT_8 means 8 bytes, not 8 bits
--------------------------+------------------------------------
Reporter: teor | Owner:
Type: defect | Status: new
Priority: Medium | Milestone: Tor: 0.2.9.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: tor-hs | Actual Points:
Parent ID: #16943 | Points: 0.5
Reviewer: | Sponsor:
--------------------------+------------------------------------
Description changed by teor:
Old description:
> generate_srv should take 8 bytes of reveal_num and version, not 8 bits.
>
> This is going to require a synchronous upgrade of our test network, isn't
> it?
>
> It will also require a htonll() that works on all platforms, which we
> don't currently have. We should move the htonll() code from test_util.c
> to util.c.
>
> (And arma shouldn't deploy shared random until this is done, right?)
New description:
generate_srv should take 8 bytes of reveal_num and version, not 8 bits.
This is going to require a synchronous upgrade of our test network, isn't
it?
~~It will also require a htonll() that works on all platforms, which we
don't currently have. We should move the htonll() code from test_util.c to
util.c.~~
We have tor_htonll() to convert to network/big-endian byte order.
(And arma shouldn't deploy shared random until this is done, right?)
--
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19134#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs