From: Johan Hedberg <johan.hedberg@xxxxxxxxx> Similar to the SMP functions, this patch exports the two public ECDH functions so that a self-test module can access them. Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> --- net/bluetooth/ecc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/bluetooth/ecc.c b/net/bluetooth/ecc.c index e1709f8467ac..71d0a9c10775 100644 --- a/net/bluetooth/ecc.c +++ b/net/bluetooth/ecc.c @@ -794,6 +794,7 @@ bool ecc_make_key(u8 public_key[64], u8 private_key[32]) return true; } +EXPORT_SYMBOL(ecc_make_key); bool ecdh_shared_secret(const u8 public_key[64], const u8 private_key[32], u8 secret[32]) @@ -814,3 +815,4 @@ bool ecdh_shared_secret(const u8 public_key[64], const u8 private_key[32], return !ecc_point_is_zero(&product); } +EXPORT_SYMBOL(ecdh_shared_secret); -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html