aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorGravatar Mathias Krause <mathias.krause@secunet.com> 2013-10-15 13:49:33 +0200
committerGravatar Herbert Xu <herbert@gondor.apana.org.au> 2013-10-16 20:56:26 +0800
commitab827fb399b453bd7d4a49e8878bc5f7018507dd (patch)
treecdf0a38b277196463213ef5097d25ebd95fa882e /crypto
parentcrypto: ixp4xx - Simplify and harden key parsing (diff)
downloadlinux-ab827fb399b453bd7d4a49e8878bc5f7018507dd.tar.gz
linux-ab827fb399b453bd7d4a49e8878bc5f7018507dd.tar.bz2
linux-ab827fb399b453bd7d4a49e8878bc5f7018507dd.zip
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 <jamie@jamieiles.com> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Mathias Krause <mathias.krause@secunet.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions