summaryrefslogtreecommitdiff
path: root/crypto/ecdh_helper.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2017-12-29 17:49:13 +0100
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2017-12-29 17:49:13 +0100
commit59d9ddb192bc424cc53e52180478001af4fb99a4 (patch)
tree0abd8646ad5a39bf4993faf67e0200c6be6a5e13 /crypto/ecdh_helper.c
parent1ca96e9695b6c448befcd0abacaf473458f22d1c (diff)
parentd5abe860ac298ebe723b37a6f63a5b2d404fca60 (diff)
downloadlinux-crypto-59d9ddb192bc424cc53e52180478001af4fb99a4.tar.gz
linux-crypto-59d9ddb192bc424cc53e52180478001af4fb99a4.zip
Merge tag 'v4.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into fbdev-for-next
Linux 4.15-rc5
Diffstat (limited to 'crypto/ecdh_helper.c')
-rw-r--r--crypto/ecdh_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ecdh_helper.c b/crypto/ecdh_helper.c
index f05bea5f..d3af8e8b 100644
--- a/crypto/ecdh_helper.c
+++ b/crypto/ecdh_helper.c
@@ -28,7 +28,7 @@ static inline const u8 *ecdh_unpack_data(void *dst, const void *src, size_t sz)
return src + sz;
}
-int crypto_ecdh_key_len(const struct ecdh *params)
+unsigned int crypto_ecdh_key_len(const struct ecdh *params)
{
return ECDH_KPP_SECRET_MIN_SIZE + params->key_size;
}