diff options
author | Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | 2015-06-10 22:27:48 +0900 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-11 21:55:28 +0800 |
commit | 593dfbd9ca7d8d6f9a01020426b680b78b86bdb2 (patch) | |
tree | 7f4854cfa732851778802991e6e1fb76906e71be /crypto/crypto_wq.c | |
parent | 42ea507fae1ac4b4af0d9d715ab56fa4de2a0341 (diff) | |
download | linux-stable-593dfbd9ca7d8d6f9a01020426b680b78b86bdb2.tar.gz linux-stable-593dfbd9ca7d8d6f9a01020426b680b78b86bdb2.tar.bz2 linux-stable-593dfbd9ca7d8d6f9a01020426b680b78b86bdb2.zip |
crypto: drbg - report backend_cra_name when allocation fails
Be more verbose and also report ->backend_cra_name when
crypto_alloc_shash() or crypto_alloc_cipher() fail in
drbg_init_hash_kernel() or drbg_init_sym_kernel()
correspondingly.
Example
DRBG: could not allocate digest TFM handle: hmac(sha256)
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/crypto_wq.c')
0 files changed, 0 insertions, 0 deletions