summaryrefslogtreecommitdiff
path: root/crypto/ecdh_helper.c
diff options
context:
space:
mode:
authorJames Morris <james.l.morris@oracle.com>2017-11-29 12:47:41 +1100
committerJames Morris <james.l.morris@oracle.com>2017-11-29 12:47:41 +1100
commita43a1243adfa8cc682fd4dacab89910865c28031 (patch)
tree7aef00d973ddaeace8916dca0d2a5b5b33cd28de /crypto/ecdh_helper.c
parentf960b5ebd9ed09bc12e10c712bce82ab58ef0435 (diff)
parent65cb3654889e0b748abc7756260ca267705aee14 (diff)
downloadlinux-crypto-a43a1243adfa8cc682fd4dacab89910865c28031.tar.gz
linux-crypto-a43a1243adfa8cc682fd4dacab89910865c28031.zip
Merge tag 'v4.15-rc1' into next-seccomp
Linux 4.15-rc1
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;
}