From: Steffen Klassert Date: Thu, 29 Mar 2012 07:03:47 +0000 (+0200) Subject: crypto: user - Fix lookup of algorithms with IV generator X-Git-Tag: v3.4-rc2~41^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e1229940045a537c61fb69f86010a8774e576d0;p=pandora-kernel.git crypto: user - Fix lookup of algorithms with IV generator We lookup algorithms with crypto_alg_mod_lookup() when instantiating via crypto_add_alg(). However, algorithms that are wrapped by an IV genearator (e.g. aead or genicv type algorithms) need special care. The userspace process hangs until it gets a timeout when we use crypto_alg_mod_lookup() to lookup these algorithms. So export the lookup functions for these algorithms and use them in crypto_add_alg(). Signed-off-by: Steffen Klassert Signed-off-by: Herbert Xu --- Reading git-diff-tree failed