crypto/chacha20poly1305
Filippo Valsorda 37a17fe027 internal/subtle: add Any/InexactOverlap (new package) and apply them across packages
AnyOverlap and InexactOverlap implement checks for the aliasing
requirements defined by the crypto/cipher interfaces. Apply them to all
implementations as the actual requirement could be architecture-dependent
and user code should not rely on undefined behavior.

Updates golang/go#21624

Change-Id: I465de02fb3fec4e0c6f1fdee1ef6ae7ed5abff10
Reviewed-on: https://go-review.googlesource.com/112236
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-06-13 22:47:33 +00:00
..
chacha20poly1305.go chacha20poly1305: update to use new ChaCha20 API 2018-04-26 23:00:03 +00:00
chacha20poly1305_amd64.go internal/subtle: add Any/InexactOverlap (new package) and apply them across packages 2018-06-13 22:47:33 +00:00
chacha20poly1305_amd64.s chacha20poly1305: delete unused assembly functions 2018-05-15 00:15:09 +00:00
chacha20poly1305_generic.go internal/subtle: add Any/InexactOverlap (new package) and apply them across packages 2018-06-13 22:47:33 +00:00
chacha20poly1305_noasm.go chacha20poly1305: fix build constraints 2016-10-31 18:08:06 +00:00
chacha20poly1305_test.go
chacha20poly1305_vectors_test.go chacha20poly1305: add test for empty plaintext and additional data 2018-05-13 06:46:51 +00:00