From 4e6e0b272d5af0c9c4f4215248130e58d68bcf0f Mon Sep 17 00:00:00 2001 From: Horia Geanta Date: Thu, 19 Dec 2013 17:27:35 +0200 Subject: [PATCH] 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-format-patch failed