From: Herbert Xu Date: Sat, 20 Sep 2008 21:52:53 +0000 (+0900) Subject: crypto: api - Rebirth of crypto_alloc_tfm X-Git-Tag: v2.6.29-rc1~589^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b0bac64cd5b74d6f1147524c26216de13a501fd;p=pandora-kernel.git crypto: api - Rebirth of crypto_alloc_tfm This patch reintroduces a completely revamped crypto_alloc_tfm. The biggest change is that we now take two crypto_type objects when allocating a tfm, a frontend and a backend. In fact this simply formalises what we've been doing behind the API's back. For example, as it stands crypto_alloc_ahash may use an actual ahash algorithm or a crypto_hash algorithm. Putting this in the API allows us to do this much more cleanly. The existing types will be converted across gradually. Signed-off-by: Herbert Xu --- Reading git-diff-tree failed