summaryrefslogtreecommitdiff
path: root/security/min_addr.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-12-06 13:00:08 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-12-13 18:24:59 +0800
commit282c14852d00d6d1b8fadf3e01e4180f02ddda84 (patch)
treeb53a81a4fe030f050facafeaed28f3bdcbb50890 /security/min_addr.c
parent5569e8c07447344cdc3771378ba4e0da0b94c2a4 (diff)
crypto: xchacha20 - fix comments for test vectors
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 <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'security/min_addr.c')
0 files changed, 0 insertions, 0 deletions