]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit54bca337b330e962b8f1e8757474b0ee999a4226
tree00923fcec0914633ec6c462778f085012892b1b1
parentf03e23717dc7d123de13d2a3fca25f5808668d02
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