[email protected] (Niels Möller) writes:

> Resulting patch below. I think I'll check this in soon. Next steps would
> be:
>
> 1. Add it to the benchmark (probably easiest to do it the same way as
>    salsa20, with a struct in nettle-internal.c).
>
> 2. Adapt the test program to nettle conventions. Possibly convert the
>    round != 20 test cases to tests of the chacha_core function?
>
> 3. Write some assembly.

Finally, pushed into the repo now. I have done (2); (1) and (3) remains.
Testing could also be improved a bit more. I used the testcases in
https://raw.github.com/secworks/chacha_testvectors/master/doc/draft-strombergson-chacha-test-vectors-02.txt

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to