#19043: Implementation of prop224 ESTABLISH_INTRO cell -------------------------------------------------+------------------------- Reporter: alec.heif | Owner: Type: enhancement | Status: | needs_revision Priority: Medium | Milestone: Tor: | 0.2.??? Component: Core Tor/Tor | Version: Severity: Normal | Resolution: Keywords: tor-hs, prop224, 6.s194, | Actual Points: 0210-proposed | Parent ID: #17241 | Points: 3 Reviewer: asn, dgoulet | Sponsor: | SponsorR-must -------------------------------------------------+-------------------------
Comment (by nickm): Replying to [comment:13 asn]: > b) Somehow refactor the current system so that we can do both old- style and prop224 mappings using the same data structure. For example, we could hash the old-style keys with sha256 and store them in a digest256 map, and do the same for new style keys as well (or just store the keys intact since they are 32bytes). This is what I'd suggest. I'd suggest an underlying data structure mapping a tagged structure to a circuit pointer. If you use the handle and the ht code, it should actually be easy. Then you can define all the accessor functions, to actually make the code safer. -- Ticket URL: <https://troodi.torproject.org/projects/tor/ticket/19043#comment:15> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online _______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs