tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: SHA-3 in libc



On Sat, 13 Dec 2014, Christos Zoulas wrote:
What would be the plan if the standard changes, and the functions are
made to compute different output? How are we going to recognize good
vs. broken versions of the functions.

Well since the proposal included what appears to be a reasonable set of ATF tests, one would assume that if the standard changes and the results are different, the tests would detect the change. (Assuming of course that the tests and their golden-output also get updated.) One could even retain the existing golden-outputs (which would be not-so-golden after such a change) and use them to report specifically that the tests are not just wrong but that they conform to the earlier standard.

Or did I misunderstand your question?


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index