symm/{chacha,salsa20}.c: Change how the test code sets up the cipher.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 26 May 2016 08:26:09 +0000 (09:26 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 22 Apr 2017 19:44:05 +0000 (20:44 +0100)
commite6912e4438388021222b7b449d1e84709d943572
treeca35c4d04d4fea568e1d7602da8b524a9bca390f
parentd9ce319f383299b7beac7be505d6dd5ee233ebbc
symm/{chacha,salsa20}.c: Change how the test code sets up the cipher.

Introduce a macro which does the key, nonce and position setup in one
go.
symm/chacha.c
symm/salsa20.c