summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-10-26 09:17:00 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2020-11-06 14:29:10 +1100
commit79cafe9a8b16f7a1c2c800f14ff0f4d0b56f5721 (patch)
treed77108dbdd2290367d2c456e3eb6631047dfcf56 /lib
parentda094e0f1b226124078dc406712264ba9533d49f (diff)
downloadlinux-79cafe9a8b16f7a1c2c800f14ff0f4d0b56f5721.tar.gz
linux-79cafe9a8b16f7a1c2c800f14ff0f4d0b56f5721.tar.bz2
linux-79cafe9a8b16f7a1c2c800f14ff0f4d0b56f5721.zip
crypto: testmgr - always print the actual hash 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 hash algorithm tests by getting the driver name from the crypto_ahash or crypto_shash 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 'lib')
0 files changed, 0 insertions, 0 deletions