Re: [PATCH 2/4] crypto: drbg - do not create shadow copy

2015-04-18 Thread Stephan Mueller
Am Samstag, 18. April 2015, 18:49:43 schrieb Herbert Xu: Hi Herbert, > On Fri, Apr 17, 2015 at 02:54:58PM +0200, Stephan Mueller wrote: > > The creation of a shadow copy is intended to only hold a short term > > lock. But the drawback is that parallel users have a very similar DRBG > > state whic

Re: [PATCH 2/4] crypto: drbg - do not create shadow copy

2015-04-18 Thread Herbert Xu
On Fri, Apr 17, 2015 at 02:54:58PM +0200, Stephan Mueller wrote: > The creation of a shadow copy is intended to only hold a short term > lock. But the drawback is that parallel users have a very similar DRBG > state which only differs by a high-resolution time stamp. > > As the locking is changed