diff options
author | Eric Biggers | 2020-10-26 09:17:00 -0700 |
---|---|---|
committer | Herbert Xu | 2020-11-06 14:29:10 +1100 |
commit | 79cafe9a8b16f7a1c2c800f14ff0f4d0b56f5721 (patch) | |
tree | d77108dbdd2290367d2c456e3eb6631047dfcf56 /crypto/seed.c | |
parent | da094e0f1b226124078dc406712264ba9533d49f (diff) |
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 'crypto/seed.c')
0 files changed, 0 insertions, 0 deletions