Eric Biggers <[email protected]> wrote:
> From: Eric Biggers <[email protected]>
> 
> The kernel's ChaCha20 uses the RFC7539 convention of the nonce being 12
> bytes rather than 8, so actually I only appended 12 random bytes (not
> 16) to its test vectors to form 24-byte nonces for the XChaCha20 test
> vectors.  The other 4 bytes were just from zero-padding the stream
> position to 8 bytes.  Fix the comments above the test vectors.
> 
> Signed-off-by: Eric Biggers <[email protected]>
> ---
> crypto/testmgr.h | 14 ++++++--------
> 1 file changed, 6 insertions(+), 8 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Reply via email to