crypto: talitos - fix use of sg_link_tbl_len

commit fbb22137c4 upstream.

sg_link_tbl_len shall be used instead of cryptlen, otherwise
SECs which perform HW CICV verification will fail.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
LEROY Christophe 2017-10-06 15:04:41 +02:00 • committed by Greg Kroah-Hartman
commit 2040f8e814