crypto: ecdh - fix to allow multi segment scatterlists
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 1 Mar 2018 22:37:42 +0000 (14:37 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 9 Mar 2018 14:45:49 +0000 (22:45 +0800)
commit95ec01ba1ef01ffe3cfa755d3d61e24c863ed9b2
tree6ab28e34b5c256b7db5bf44e5b478f758dee3829
parenta7d85e06ed8033f263451f3aef4159024e7dae5f
crypto: ecdh - fix to allow multi segment scatterlists

Apparently the ecdh use case was in bluetooth which always has single
element scatterlists, so the ecdh module was hard coded to expect
them.  Now we're using this in TPM, we need multi-element
scatterlists, so remove this limitation.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ecdh.c