From: Horia Geanta Date: Thu, 19 Dec 2013 15:27:35 +0000 (+0200) Subject: crypto: caam - simplify and harden key parsing X-Git-Tag: v3.14-rc1~117^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e6e0b272d5af0c9c4f4215248130e58d68bcf0f;p=pandora-kernel.git crypto: caam - simplify and harden key parsing Use the common helper function crypto_authenc_extractkeys() for key parsing. Also fix the key buffer overflow condition: use split key pad length instead of authentication key length. Signed-off-by: Horia Geanta Signed-off-by: Herbert Xu --- Reading git-diff-tree failed