diff options
author | Horia Geanta <horia.geanta@freescale.com> | 2013-12-19 16:27:35 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-12-20 13:06:27 +0100 |
commit | 4e6e0b272d5af0c9c4f4215248130e58d68bcf0f (patch) | |
tree | 62ce1cd056846a8556cbd87bb397fc68b7e8bd52 /drivers/crypto/amcc | |
parent | crypto: omap-sham - Fix Polling mode for larger blocks (diff) | |
download | linux-4e6e0b272d5af0c9c4f4215248130e58d68bcf0f.tar.xz linux-4e6e0b272d5af0c9c4f4215248130e58d68bcf0f.zip |
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 <horia.geanta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/amcc')
0 files changed, 0 insertions, 0 deletions