X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=net%2Fbluetooth%2Fecdh_helper.h;h=830723971cf831057816145c19aaeb804de4aef7;hb=e6f0bf09f0669b3c2cd77fa906830123279a0a21;hp=a6f8d03d4aaf65514da3462eda3594c4795362f5;hpb=e1c70f32386c4984ed8ca1a7aedb9bbff9ed3414;p=linux-2.6-microblaze.git diff --git a/net/bluetooth/ecdh_helper.h b/net/bluetooth/ecdh_helper.h index a6f8d03d4aaf..830723971cf8 100644 --- a/net/bluetooth/ecdh_helper.h +++ b/net/bluetooth/ecdh_helper.h @@ -25,6 +25,6 @@ int compute_ecdh_secret(struct crypto_kpp *tfm, const u8 pair_public_key[64], u8 secret[32]); -int set_ecdh_privkey(struct crypto_kpp *tfm, const u8 *private_key); +int set_ecdh_privkey(struct crypto_kpp *tfm, const u8 private_key[32]); int generate_ecdh_public_key(struct crypto_kpp *tfm, u8 public_key[64]); int generate_ecdh_keys(struct crypto_kpp *tfm, u8 public_key[64]);