From: Herbert Xu Date: Wed, 3 Jun 2015 06:49:23 +0000 (+0800) Subject: crypto: chainiv - Move IV seeding into init function X-Git-Tag: omap-for-v4.2/fixes-rc1^2~164^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65fe6740d472aee158275fd1103586dee2ffc5cb;p=pandora-kernel.git crypto: chainiv - Move IV seeding into init function We currently do the IV seeding on the first givencrypt call in order to conserve entropy. However, this does not work with DRBG which cannot be called from interrupt context. In fact, with DRBG we don't need to conserve entropy anyway. So this patch moves the seeding into the init function. Signed-off-by: Herbert Xu --- Reading git-diff-tree failed