crypto: caam - simplify and harden key parsing
authorHoria Geanta <horia.geanta@freescale.com>
Thu, 19 Dec 2013 15:27:35 +0000 (17:27 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 20 Dec 2013 12:06:27 +0000 (20:06 +0800)
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 <horia.geanta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

No differences found