From: Mathias Krause Date: Tue, 15 Oct 2013 11:49:32 +0000 (+0200) Subject: crypto: ixp4xx - Simplify and harden key parsing X-Git-Tag: v3.13-rc2~35^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56902781cd037f4d6380cb037b5f50076bb82549;p=pandora-kernel.git crypto: ixp4xx - Simplify and harden key parsing Use the common helper function crypto_authenc_extractkeys() for key parsing. Also ensure the keys do fit into the corresponding buffers. Otherwise memory corruption might occur. Cc: Christian Hohnstaedt Cc: Herbert Xu Cc: "David S. Miller" Signed-off-by: Mathias Krause Signed-off-by: Herbert Xu --- Reading git-diff-tree failed