diff options
author | Mathias Krause <mathias.krause@secunet.com> | 2013-10-15 13:49:33 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-10-16 20:56:26 +0800 |
commit | ab827fb399b453bd7d4a49e8878bc5f7018507dd (patch) | |
tree | cdf0a38b277196463213ef5097d25ebd95fa882e /crypto/ablkcipher.c | |
parent | 56902781cd037f4d6380cb037b5f50076bb82549 (diff) |
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/ablkcipher.c')
0 files changed, 0 insertions, 0 deletions