crypto: omap-des - add check for weak keys
authorTero Kristo <t-kristo@ti.com>
Wed, 24 May 2017 07:35:24 +0000 (10:35 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 10 Jun 2017 04:04:14 +0000 (12:04 +0800)
commita636fdce55c6ad12b07436424ceffad1045714db
tree00923fcec0914633ec6c462778f085012892b1b1
parent619ce700583f0f193bfb1487ca393b8ad2141a9a
crypto: omap-des - add check for weak keys

OMAP DES crypto accelerator itself is unable to detect weak keys, so
add a specific call to the generic des driver to check the key strength
if requested.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/omap-des.c