summaryrefslogtreecommitdiff
path: root/crypto/crc32_generic.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-10-25 12:41:09 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2019-11-01 13:38:32 +0800
commite70496b5ff3ff8297253c4a81656e081cdb11711 (patch)
tree79f5f3200f10166bd2fd8aa822d2065758924419 /crypto/crc32_generic.c
parent2d263cac8b502680bd7c3cb76e1a3ccef1bed186 (diff)
downloadlinux-crypto-e70496b5ff3ff8297253c4a81656e081cdb11711.tar.gz
linux-crypto-e70496b5ff3ff8297253c4a81656e081cdb11711.zip
crypto: skcipher - unify the crypto_has_skcipher*() functions
crypto_has_skcipher() and crypto_has_skcipher2() do the same thing: they check for the availability of an algorithm of type skcipher, blkcipher, or ablkcipher, which also meets any non-type constraints the caller specified. And they have exactly the same prototype. Therefore, eliminate the redundancy by removing crypto_has_skcipher() and renaming crypto_has_skcipher2() to crypto_has_skcipher(). Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/crc32_generic.c')
0 files changed, 0 insertions, 0 deletions