Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1162938 > unrolled thread

Re: [PATCH] crypto/drbg: report backend_cra_name when allocation fails

Started bySergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
First post2015-06-11 01:40 +0200
Last post2015-06-11 01:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] crypto/drbg: report backend_cra_name when allocation  fails Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2015-06-11 01:40 +0200

#1162938 — Re: [PATCH] crypto/drbg: report backend_cra_name when allocation fails

FromSergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Date2015-06-11 01:40 +0200
SubjectRe: [PATCH] crypto/drbg: report backend_cra_name when allocation fails
Message-ID<pzXLc-4Bf-1@gated-at.bofh.it>
On (06/10/15 17:09), Stephan Mueller wrote:
> Hi Sergey,
> 
> >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>
> 
> Headscratch -- the Kconfig should have HMAC selected for compilation. When 
> HMAC is available (regardless whether it is a module or not), it is pulled in 
> by the kernel crypto API. Thus, there should not have been the error that HMAC 
> is missing.
> 
> Can you send your .config file, please?
> 

Hi Stephan,

sure, will post it later (as soon as I get back to my laptop).

	-ss
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web