commit | 7f69105077bfb36a8ff9c2ee20af50d921445fc0 | [log] [tgz] |
---|---|---|
author | Tudor-Dan Ambarus <tudor.ambarus@microchip.com> | Thu May 25 10:18:09 2017 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Sat Jun 10 12:04:27 2017 +0800 |
tree | dea0ef82ff3c40077cf315ac5099ab807d3d23fa | |
parent | c444b8da87d16e6f9f11e15c8c873a641f7cd117 [diff] |
crypto: dh - comply with crypto_kpp_maxsize() crypto_kpp_maxsize() asks for the output buffer size without caring for errors. It allways assume that will be called after a valid setkey. Comply with it and return what he wants. Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>