crypto: ecdh - return unsigned value for crypto_ecdh_key_len()
authorTudor-Dan Ambarus <tudor.ambarus@microchip.com>
Fri, 29 Sep 2017 09:13:08 +0000 (12:13 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 12 Oct 2017 14:55:00 +0000 (22:55 +0800)
commit6e97e08d4311d2413df0e891a10301bf4258fe3e
tree311a975d1b65c4c7f715362d86336cc822666bb0
parent924c9e3629441ce17adc66694dda239970e9f625
crypto: ecdh - return unsigned value for crypto_ecdh_key_len()

ECDH_KPP_SECRET_MIN_SIZE and params->key_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/ecdh_helper.c
include/crypto/ecdh.h