]> git.itanic.dy.fi Git - linux-stable/commit
crypto: talitos - fix max key size for sha384 and sha512
authorChristophe Leroy <christophe.leroy@c-s.fr>
Wed, 12 Jun 2019 05:49:50 +0000 (05:49 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 26 Sep 2021 11:39:47 +0000 (13:39 +0200)
commit320dc471c471500d61c98380395f8f54aa4add7f
treed7dca05882d33cec2642d69863bdcb97bd4d4609
parentb0008fbdc75f08d933842b7071110010234b434b
crypto: talitos - fix max key size for sha384 and sha512

commit 192125ed5ce62afba24312d8e7a0314577565b4a upstream.

Below commit came with a typo in the CONFIG_ symbol, leading
to a permanently reduced max key size regarless of the driver
capabilities.

Reported-by: Horia Geantă <horia.geanta@nxp.com>
Fixes: b8fbdc2bc4e7 ("crypto: talitos - reduce max key size for SEC1")
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Nobuhiro Iwamatsu (CIP) <nobuhiro1.iwamatsu@toshiba.co.jp>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/crypto/talitos.c