summaryrefslogtreecommitdiff
path: root/crypto/blowfish_common.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-10-26 09:17:02 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2020-11-06 14:29:10 +1100
commitf164a97cbca10866edc212d4f60f9e2bd51d1cf2 (patch)
treec231933397e9cd6514ba08c6e025c7117825c575 /crypto/blowfish_common.c
parent5a84030a62eaeeb7ae5b18b2bba3a2b1c9ec38c1 (diff)
downloadlinux-crypto-f164a97cbca10866edc212d4f60f9e2bd51d1cf2.tar.gz
linux-crypto-f164a97cbca10866edc212d4f60f9e2bd51d1cf2.zip
crypto: testmgr - always print the actual skcipher driver name
When alg_test() is called from tcrypt.ko rather than from the algorithm registration code, "driver" is actually the algorithm name, not the driver name. So it shouldn't be used in places where a driver name is wanted, e.g. when reporting a test failure or when checking whether the driver is the generic driver or not. Fix this for the skcipher algorithm tests by getting the driver name from the crypto_skcipher that actually got allocated. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/blowfish_common.c')
0 files changed, 0 insertions, 0 deletions