crypto: talitos - don't bad_key in ablkcipher setkey
authorKim Phillips <kim.phillips@freescale.com>
Fri, 15 Jul 2011 03:21:40 +0000 (11:21 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Jul 2011 03:21:40 +0000 (11:21 +0800)
commit1c2b4abb19285368808f303ad61e17b172f1a108
tree7f725e1ae700cef5a98e78aee9e8e806f55cae87
parentfebec54286623a540cbe483a5d471ff6576a6e2e
crypto: talitos - don't bad_key in ablkcipher setkey

crypto/ablkcipher.c's setkey() has already checked against the min, max
key sizes before it calls here, and all max_keysize assignments in the
algorithm template array do not exceed TALITOS_MAX_KEY_SIZE.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/talitos.c