Joachim Strömbergson <[email protected]> writes: > Can't seem to find a similar meta file for salsa20. I'm looking at the > the arcfour-meta and the twofish-meta where the latter seems easier to > grokk.
Ah, it's hidden in nettle-internal.c (which is used by testcases and benchmark only). That's because the nettle_cipher abstraction lacks a mechanism to set the iv, which is essential for salsa20. I think we ought to introduce something slightly different than nettle_cipher for stream ciphers. And if you find the _NETTLE_CIPHER* macros confusing, you don't need to use them. 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
