bluetooth: Add defines for ECC key lengths
Adds defines for ECC public keys, private keys, DH keys and key coordinates. Replaces raw numbers throughout. Signed-off-by: Trond Einar Snekvik <Trond.Einar.Snekvik@nordicsemi.no>
This commit is contained in:
parent
88172bc918
commit
8ab219cde5
18 changed files with 80 additions and 51 deletions
|
@ -48,7 +48,7 @@ static void pub_key_ready(const uint8_t *pkey)
|
|||
BT_DBG("Local public key ready");
|
||||
}
|
||||
|
||||
int bt_mesh_prov_reset_state(void (*func)(const uint8_t key[64]))
|
||||
int bt_mesh_prov_reset_state(void (*func)(const uint8_t key[BT_PUB_KEY_LEN]))
|
||||
{
|
||||
int err;
|
||||
static struct bt_pub_key_cb pub_key_cb;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue