From: Stephan Mueller Date: Sun, 6 Jul 2014 00:25:04 +0000 (+0200) Subject: crypto: drbg - Select correct DRBG core for stdrng X-Git-Tag: omap-for-v3.17/fixes-against-rc2~194^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f150718797ffd539ace231d001eb41b09e13895;p=pandora-kernel.git crypto: drbg - Select correct DRBG core for stdrng When the DRBG is initialized, the core is looked up using the DRBG name. The name that can be used for the lookup is registered in cra_driver_name. The cra_name value contains stdrng. Thus, the lookup code must use crypto_tfm_alg_driver_name to obtain the precise DRBG name and select the correct DRBG. Signed-off-by: Stephan Mueller Signed-off-by: Herbert Xu --- Reading git-diff-tree failed