[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150611140025.GA21446@gondor.apana.org.au>
Date: Thu, 11 Jun 2015 22:00:25 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
Cc: "David S. Miller" <davem@...emloft.net>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
sergey.senozhatsky.work@...il.com
Subject: Re: [PATCH] crypto/drbg: report backend_cra_name when allocation
fails
On Wed, Jun 10, 2015 at 10:27:48PM +0900, Sergey Senozhatsky wrote:
> 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@...il.com>
Patch applied.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists