Thread (6 messages) flat view 6 messages, 2 authors, 2016-03-31

Re: cipher implementations allowed to sleep?

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2016-03-31 12:58:30

On Thu, Mar 31, 2016 at 01:47:50PM +0200, Stephan Mueller wrote:
Considering the implementation in ansi_cprng.c, is it allowed to use 
spin_lock_bh with the sync operations assuming that a cipher implementation 
may sleep?
As I said, it's only allowed to sleep if you set the MAY_SLEEP
flag.

Cheers,
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help