From: Herbert Xu Date: Thu, 28 May 2015 14:07:53 +0000 (+0800) Subject: crypto: aead - Add type-safe init/exit functions X-Git-Tag: omap-for-v4.2/fixes-rc1^2~164^2~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5eb8ec6dc857d5027bc8cf7268a199107a583ae5;p=pandora-kernel.git crypto: aead - Add type-safe init/exit functions As it stands the only non-type safe functions left in the new AEAD interface are the cra_init/cra_exit functions. It means exposing the ugly __crypto_aead_cast to every AEAD implementor. This patch adds type-safe init/exit functions to AEAD. Existing algorithms are unaffected while new implementations can simply fill in these two instead of cra_init/cra_exit. Signed-off-by: Herbert Xu --- Reading git-diff-tree failed