aboutsummaryrefslogtreecommitdiff
path: root/ci/drone/test_linux_std_Debug
diff options
context:
space:
mode:
authorFrank Denis <124872+jedisct1@users.noreply.github.com>2022-11-06 23:52:41 +0100
committerGitHub <noreply@github.com>2022-11-06 23:52:41 +0100
commit907f3ef887776dc7e0ed3661230e5c11973ad6a6 (patch)
tree0d70fef9b419e87145b51f0d9758412af396034c /ci/drone/test_linux_std_Debug
parent4c719ad3387651913d45437958bdac839442b52f (diff)
downloadzig-907f3ef887776dc7e0ed3661230e5c11973ad6a6.tar.gz
zig-907f3ef887776dc7e0ed3661230e5c11973ad6a6.zip
crypto.salsa20: make the number of rounds a comptime parameter (#13442)
...instead of hard-coding it to 20. - This is consistent with the ChaCha implementation - NaCl and libsodium, that this API is designed to interop with, also support 8 and 12 round variants. The 12 round variant, in particular, provides the same security level as the 20 round variant, but is obviously faster. - scrypt currently uses its own non optimized version of Salsa, just because it use 8 rounds instead of 20. This will help remove code duplication. No behavior nor public API changes. The Salsa20 and XSalsa20 still represent the 20-round variant.
Diffstat (limited to 'ci/drone/test_linux_std_Debug')
0 files changed, 0 insertions, 0 deletions