Skip to content
Snippets Groups Projects
Closed (moved) Use uint64_t for Tor's hash tables, even if int is 32 bits
  • View options
  • Use uint64_t for Tor's hash tables, even if int is 32 bits

  • View options
  • Closed (moved) Issue created by teor

    64-bit macOS and BSD are LP64, which means that their ints are 32 bits. This makes Tor's hash tables 32 bits, reducing their security.

    This issue also occurs on 32-bit systems, where using uint64_t might be slower. I don't know if speed matters, as siphash is 64 bit anyway.

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading