]> git.baikalelectronics.ru Git - kernel.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)
commit474a0b94738763124e2bce38ac96d2569e95a8c7
tree91e7c5e6088a062158e84d1efa9e561d9b6a57f2
parentb8a12413e703b80949c14c36ac822f1567dd64ba
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