Re: [PATCH v2] crypto: drbg - initialize in subsys_initcall

2015-06-09 Thread Stephan Mueller
Am Tuesday 09 June 2015, 22:17:43 schrieb Herbert Xu: Hi Herbert, >On Mon, Jun 08, 2015 at 02:42:50PM +0200, Stephan Mueller wrote: >> When compiling the DRBG statically into the kernel, the testmgr >> allocation of the DRBG may be done at a time the Jitter RNG is >> not available as it is regist

Re: [PATCH v2] crypto: drbg - initialize in subsys_initcall

2015-06-09 Thread Herbert Xu
On Mon, Jun 08, 2015 at 02:42:50PM +0200, Stephan Mueller wrote: > When compiling the DRBG statically into the kernel, the testmgr > allocation of the DRBG may be done at a time the Jitter RNG is > not available as it is registered later. The patch changes the > initialization to be invoked in subs

[PATCH v2] crypto: drbg - initialize in subsys_initcall

2015-06-08 Thread Stephan Mueller
When compiling the DRBG statically into the kernel, the testmgr allocation of the DRBG may be done at a time the Jitter RNG is not available as it is registered later. The patch changes the initialization to be invoked in subsys_initcall. Signed-off-by: Stephan Mueller --- crypto/jitterentropy.c