From: Mark Wooding Date: Thu, 15 Aug 2019 17:16:02 +0000 (+0100) Subject: symm/chacha.c: Set the correct nonce size for `xchachaNN'. X-Git-Tag: 2.4.3~5 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb/commitdiff_plain/dc752276542a0708efeb51000ffc12479364e396 symm/chacha.c: Set the correct nonce size for `xchachaNN'. Oops. (cherry picked from commit 9acc7e10f1da03be55e3bc2cdcbbd5775253e3d0) --- diff --git a/symm/chacha.c b/symm/chacha.c index 34198618..71522003 100644 --- a/symm/chacha.c +++ b/symm/chacha.c @@ -590,7 +590,7 @@ CHACHA_VARS(DEFGCIPHER) \ const gccipher xchacha##r = { \ "xchacha" #r, chacha_keysz, \ - CHACHA_NONCESZ, gxinit_##r \ + XCHACHA_NONCESZ, gxinit_##r \ }; CHACHA_VARS(DEFGXCIPHER)