summaryrefslogtreecommitdiffstats
path: root/crypto/lrw.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-07-10 20:34:28 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2020-07-16 21:49:13 +1000
commita874f59104304278f922215caaa9dbfb03b2a1fa (patch)
treecaacef809f813026d3c24a343d8f3a055977624f /crypto/lrw.c
parent10f33d391ebd4edc861685ed0566cf807a363661 (diff)
downloadlinux-a874f59104304278f922215caaa9dbfb03b2a1fa.tar.bz2
crypto: xts - prefix function and struct names with "xts"
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 xts template by prefixing the names with "xts_". (I didn't use "crypto_xts_" instead because that seems overkill.) Also constify the tfm context in a couple places, and make xts_free_instance() use the instance context structure so that it doesn't just assume the crypto_skcipher_spawn is at the beginning. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/lrw.c')
0 files changed, 0 insertions, 0 deletions