[tor-bugs] #17783 [Tor]: Pull in a SHA-3 implementation.

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Dec 19 08:48:38 UTC 2015


#17783: Pull in a SHA-3 implementation.
-----------------------------+------------------------------------
 Reporter:  yawning          |          Owner:  yawning
     Type:  enhancement      |         Status:  needs_revision
 Priority:  Medium           |      Milestone:  Tor: 0.2.8.x-final
Component:  Tor              |        Version:  Tor: unspecified
 Severity:  Normal           |     Resolution:
 Keywords:  tor-core crypto  |  Actual Points:
Parent ID:                   |         Points:
  Sponsor:                   |
-----------------------------+------------------------------------

Comment (by yawning):

 Just pushed an update that adds test vectors that cover most of the
 additional cases requested.  I went for SHA3-256 rate, -1, +1 and SHA3-512
 rate *2, -1, +1 in the interests of brevity.  It should exercise the code
 around the boundary conditions sufficiently (SHA3-512 on it's own should
 cover everything since it's common code...).

 I couldn't find a ShortMsgKAT with a NUL in it suitable for testing in the
 official test vectors, but I'll admit that I didn't look very hard (The
 test vectors specify n bit messages so there's lots that aren't usable).

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17783#comment:11>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list