]> git.codecow.com Git - Monocypher.git/commit
Allows crypto_sign() to overlap its message and output
authorLoup Vaillant <loup@loup-vaillant.fr>
Fri, 22 Sep 2017 22:59:13 +0000 (00:59 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Fri, 22 Sep 2017 22:59:13 +0000 (00:59 +0200)
commitdee777069181842a308fb05f3b6861f09bbc3e12
treeac6810b97727cd4713eb88a02b1706cc8a9207fe
parent0fd87f5445fa6718598f8a3a6743b33d706968cf
Allows crypto_sign() to overlap its message and output

Fixes #32

The signature output buffer was set before the last message read.  If
they overlaped, we would have a bogus signature.
src/monocypher.c