crypto: ghash - add comment and improve help text
authorEric Biggers <ebiggers@google.com>
Sat, 20 Jul 2019 06:09:18 +0000 (23:09 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 27 Jul 2019 11:08:38 +0000 (21:08 +1000)
commit8dfa20fcfbeb245642dfe3a43f8a3735d9aed42a
tree887e9ffb1793ff6f754ab839a528a170177f219d
parent065cf577135a4977931c7a1e1edf442bfd9773dd
crypto: ghash - add comment and improve help text

To help avoid confusion, add a comment to ghash-generic.c which explains
the convention that the kernel's implementation of GHASH uses.

Also update the Kconfig help text and module descriptions to call GHASH
a "hash function" rather than a "message digest", since the latter
normally means a real cryptographic hash function, which GHASH is not.

Cc: Pascal Van Leeuwen <pvanleeuwen@verimatrix.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Pascal Van Leeuwen <pvanleeuwen@verimatrix.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm/crypto/ghash-ce-glue.c
arch/s390/crypto/ghash_s390.c
arch/x86/crypto/ghash-clmulni-intel_glue.c
crypto/Kconfig
crypto/ghash-generic.c
drivers/crypto/Kconfig
include/crypto/ghash.h