crypto: atmel-ecc - fix to allow multi segment scatterlists
authorTudor-Dan Ambarus <tudor.ambarus@microchip.com>
Wed, 13 Jun 2018 13:29:58 +0000 (16:29 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Jun 2018 15:03:07 +0000 (23:03 +0800)
commite9440ff37254c85cbc1143991a39b656957394ba
treea9052d4b22b1d5f5547dca85819585eef6a74244
parent2a2b9461f8aceab65bb46f33d7be65bfa3f015e1
crypto: atmel-ecc - fix to allow multi segment scatterlists

Remove the limitation of single element scatterlists. ECDH with
multi-element scatterlists is needed by TPM.

Similar to 'commit 95ec01ba1ef0 ("crypto: ecdh - fix to allow multi
segment scatterlists")'.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/atmel-ecc.c