linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] trivial: report backend_cra_name when allocation fails
@ 2015-06-10 13:27 Sergey Senozhatsky
  2015-06-10 13:27 ` [PATCH] crypto/drbg: " Sergey Senozhatsky
  2015-06-11  0:28 ` [PATCH] trivial: " Herbert Xu
  0 siblings, 2 replies; 8+ messages in thread
From: Sergey Senozhatsky @ 2015-06-10 13:27 UTC (permalink / raw)
  To: Herbert Xu
  Cc: David S. Miller, linux-crypto, linux-kernel,
	sergey.senozhatsky.work, Sergey Senozhatsky

Hello,

A trivial patch.

My wifi stopped working recently, and the error message was not too
informative (at least to me):

kernel: wlp2s0: authenticate with 64:e5:99:74:dc:44
kernel: wlp2s0: send auth to 64:e5:99:74:dc:44 (try 1/3)
kernel: wlp2s0: authenticated
kernel: wlp2s0: associate with 64:e5:99:74:dc:44 (try 1/3)
kernel: wlp2s0: RX AssocResp from 64:e5:99:74:dc:44 (capab=0x411 status=0 aid=1)
kernel: wlp2s0: associated
kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
dhclient[355]: DHCPREQUEST on wlp2s0 to 255.255.255.255 port 67
kernel: DRBG: could not allocate digest TFM handle
kernel: wlp2s0: deauthenticating from 64:e5:99:74:dc:44 by local choice (Reason: 1=UNSPECIFIED)
kernel: cfg80211: Calling CRDA to update world regulatory domain


an update error message
  DRBG: could not allocate digest TFM handle: hmac(sha256)

is slightly more helpful (didn't have sha256 config enabled).

Sergey Senozhatsky (1):
  crypto/drbg: report backend_cra_name when allocation fails

 crypto/drbg.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

-- 
2.4.3.368.g7974889

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-06-11 14:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-10 13:27 [PATCH] trivial: report backend_cra_name when allocation fails Sergey Senozhatsky
2015-06-10 13:27 ` [PATCH] crypto/drbg: " Sergey Senozhatsky
2015-06-10 15:09   ` Stephan Mueller
2015-06-10 23:38     ` Sergey Senozhatsky
2015-06-11 14:00   ` Herbert Xu
2015-06-11  0:28 ` [PATCH] trivial: " Herbert Xu
2015-06-11 11:09   ` Sergey Senozhatsky
2015-06-11 13:35     ` Stephan Mueller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).