]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: adiantum - adjust some comments to match latest paper
authorEric Biggers <ebiggers@google.com>
Thu, 6 Dec 2018 22:21:59 +0000 (14:21 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 13 Dec 2018 10:24:59 +0000 (18:24 +0800)
commitc6018e1a00b5c70610cdfb3650cc5622c917ed17
tree91e7c5e6088a062158e84d1efa9e561d9b6a57f2
parent282c14852d00d6d1b8fadf3e01e4180f02ddda84
crypto: adiantum - adjust some comments to match latest paper

The 2018-11-28 revision of the Adiantum paper has revised some notation:

- 'M' was replaced with 'L' (meaning "Left", for the left-hand part of
  the message) in the definition of Adiantum hashing, to avoid confusion
  with the full message
- ε-almost-∆-universal is now abbreviated as ε-∆U instead of εA∆U
- "block" is now used only to mean block cipher and Poly1305 blocks

Also, Adiantum hashing was moved from the appendix to the main paper.

To avoid confusion, update relevant comments in the code to match.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/adiantum.c
crypto/nhpoly1305.c