]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
crypto: lrw - prefix function and struct names with "lrw"
authorEric Biggers <ebiggers@google.com>
Sat, 11 Jul 2020 03:36:49 +0000 (20:36 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 16 Jul 2020 11:49:13 +0000 (21:49 +1000)
commite456ef6ace3451fa46bd67983345ea758f824865
tree149052f9a17b1e22e37339ec0962a51b59340f0c
parenta874f59104304278f922215caaa9dbfb03b2a1fa
crypto: lrw - prefix function and struct names with "lrw"

Overly-generic names can cause problems like naming collisions,
confusing crash reports, and reduced grep-ability.  E.g. see
commit d099ea6e6fde ("crypto - Avoid free() namespace collision").

Clean this up for the lrw template by prefixing the names with "lrw_".

(I didn't use "crypto_lrw_" instead because that seems overkill.)

Also constify the tfm context in a couple places.

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