crypto: dh - return unsigned value for crypto_dh_key_len()
authorTudor-Dan Ambarus <tudor.ambarus@microchip.com>
Fri, 29 Sep 2017 09:21:05 +0000 (12:21 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 12 Oct 2017 14:55:05 +0000 (22:55 +0800)
commit5b3f3a8bede7d3af2dc9ea20b0ad971d4e5e83cc
tree382538ba9f49bbb3bdbcfb6c3b2745881865ab56
parentcb195b362537ca97ceccefbbba6b4071ed77434f
crypto: dh - return unsigned value for crypto_dh_key_len()

DH_KPP_SECRET_MIN_SIZE and dh_data_size() are both returning
unsigned values.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/dh_helper.c
include/crypto/dh.h