commit | 85ac98cbac1bb63c878486b88bfb6f5bac540e21 | [log] [tgz] |
---|---|---|
author | Tudor-Dan Ambarus <tudor.ambarus@microchip.com> | Thu May 25 10:18:11 2017 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Sat Jun 10 12:04:29 2017 +0800 |
tree | 674d75a7581fa78ce841dded9e514a4bc82583c4 | |
parent | d0efb48b8615292e05373caa27854e36e732668b [diff] |
crypto: qat - 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>