summaryrefslogtreecommitdiff
path: root/crypto/ecc.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2016-06-24 16:20:22 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2016-06-24 21:24:59 +0800
commitb167e901df55dd491a55c73fd9971f03a54765e3 (patch)
tree2269d73ae9b7aa1d8fde912aa912f61e2576d762 /crypto/ecc.c
parent08185c512dc88d33b18afb11c590210658f72dbb (diff)
downloadlinux-crypto-b167e901df55dd491a55c73fd9971f03a54765e3.tar.gz
linux-crypto-b167e901df55dd491a55c73fd9971f03a54765e3.zip
crypto: ecdh - make ecdh_shared_secret unique
There is another ecdh_shared_secret in net/bluetooth/ecc.c Fixes: e8c7f3061131 ("crypto: ecdh - Add ECDH software support") Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ecc.c')
-rw-r--r--crypto/ecc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ecc.c b/crypto/ecc.c
index 9aedec6b..414c78a9 100644
--- a/crypto/ecc.c
+++ b/crypto/ecc.c
@@ -966,7 +966,7 @@ out:
return ret;
}
-int ecdh_shared_secret(unsigned int curve_id, unsigned int ndigits,
+int crypto_ecdh_shared_secret(unsigned int curve_id, unsigned int ndigits,
const u8 *private_key, unsigned int private_key_len,
const u8 *public_key, unsigned int public_key_len,
u8 *secret, unsigned int secret_len)