]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6039bafed5d28f2571d79c80a9c9aaa20740b3e6
tree6ab28e34b5c256b7db5bf44e5b478f758dee3829
parent941563f8e2a4fd38fd788166a659ff3252220d94
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