Hi, On Mon, 10 Feb 2014 10:19:48 +0100 [email protected] (Niels Möller) wrote: > That's good (and otherwise, the tests wouldn't have failed...). BTW, > do you know of any other source of testvectors (even if not as > extensive as the ones in your draft)?
You can plug the reference implementation from http://cr.yp.to/chacha.html into ecrypt: http://www.ecrypt.eu.org/stream/svn/viewcvs.cgi/ecrypt/ (extract the attached archive into the submissions folder for 20, 12 and 8 rounds variants) My pull request for sjcl (javascript crypto) chacha includes those test vectors in "json" format (right now at https://github.com/stbuehler/sjcl/blob/feature-chacha20/test/chacha20_vectors.js, but hopefully in upstream sjcl soon, in which case I'll delete my feature branch). regards, Stefan
_______________________________________________ nettle-bugs mailing list [email protected] http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs
