From: Mathias Krause Date: Tue, 15 Oct 2013 11:49:33 +0000 (+0200) Subject: crypto: picoxcell - Simplify and harden key parsing X-Git-Tag: v3.13-rc2~35^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab827fb399b453bd7d4a49e8878bc5f7018507dd;p=pandora-kernel.git crypto: picoxcell - Simplify and harden key parsing Use the common helper function crypto_authenc_extractkeys() for key parsing. Also ensure the auth key won't overflow the hash_ctx buffer. Cc: Jamie Iles Cc: Herbert Xu Cc: "David S. Miller" Signed-off-by: Mathias Krause Signed-off-by: Herbert Xu --- Reading git-diff-tree failed