]> git.codecow.com Git - Monocypher.git/commit
Add tests about overlapping input/output buffers.
authorLoup Vaillant <loup@loup-vaillant.fr>
Fri, 22 Sep 2017 23:03:24 +0000 (01:03 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sat, 23 Sep 2017 09:59:07 +0000 (11:59 +0200)
commit91cf0e275d96d219c10ccb92b6c8cbe0614942d1
tree694b7ff89975ea174ac845d325be0ad8db256450
parentdee777069181842a308fb05f3b6861f09bbc3e12
Add tests about overlapping input/output buffers.

Chacha20 plaintext and cypher text memory buffers may be the same
(they cannot be different *and* overlaping).

Poly1305 input and tag buffer may overlap.
Blake2b input and hash buffers may overlap.
SHA-512 input and hash buffers may overlap.
Argon2i input and hash buffers may overlap.
EdDSA message and signature buffers may overlap.
tests/test.c