crypto/chacha20
Filippo Valsorda 16651526fd chacha20: implement XChaCha20
Simply add the NonceSizeX constant, and accept 24 bytes nonces in
NewUnauthenticatedCipher. Based on draft-irtf-cfrg-xchacha-01 and
libsodium's implementation.

Fixes golang/go#24485

Change-Id: I551c8ace258bd54b95bb204c8bb34bccd1c4b615
Reviewed-on: https://go-review.googlesource.com/c/crypto/+/185991
Reviewed-by: Michael Munday <mike.munday@ibm.com>
2019-11-11 21:39:47 +00:00
..
chacha_arm64.go chacha20: expose internal/chacha20 package 2019-11-11 21:38:06 +00:00
chacha_arm64.s chacha20: expose internal/chacha20 package 2019-11-11 21:38:06 +00:00
chacha_generic.go chacha20: implement XChaCha20 2019-11-11 21:39:47 +00:00
chacha_noasm.go chacha20: expose internal/chacha20 package 2019-11-11 21:38:06 +00:00
chacha_ppc64le.go chacha20: expose internal/chacha20 package 2019-11-11 21:38:06 +00:00
chacha_ppc64le.s chacha20: expose internal/chacha20 package 2019-11-11 21:38:06 +00:00
chacha_s390x.go chacha20: expose internal/chacha20 package 2019-11-11 21:38:06 +00:00
chacha_s390x.s chacha20: expose internal/chacha20 package 2019-11-11 21:38:06 +00:00
chacha_test.go chacha20: implement XChaCha20 2019-11-11 21:39:47 +00:00
vectors_test.go chacha20: implement XChaCha20 2019-11-11 21:39:47 +00:00
xor.go chacha20: expose internal/chacha20 package 2019-11-11 21:38:06 +00:00