Searched refs:BT_PUB_KEY_COORD_LEN (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/subsys/bluetooth/host/ |
D | ecc.h | 12 #define BT_PUB_KEY_COORD_LEN (BT_ECC_KEY_SIZE) macro 14 #define BT_PUB_KEY_LEN (2 * (BT_PUB_KEY_COORD_LEN))
|
D | hci_ecc.c | 174 sys_memcpy_swap(evt->key, ecc.public_key_be, BT_PUB_KEY_COORD_LEN); in emulate_le_p256_public_key_cmd() 175 sys_memcpy_swap(&evt->key[BT_PUB_KEY_COORD_LEN], in emulate_le_p256_public_key_cmd() 176 &ecc.public_key_be[BT_PUB_KEY_COORD_LEN], BT_PUB_KEY_COORD_LEN); in emulate_le_p256_public_key_cmd() 294 sys_memcpy_swap(ecc.public_key_be, key, BT_PUB_KEY_COORD_LEN); in le_gen_dhkey() 295 sys_memcpy_swap(&ecc.public_key_be[BT_PUB_KEY_COORD_LEN], &key[BT_PUB_KEY_COORD_LEN], in le_gen_dhkey() 296 BT_PUB_KEY_COORD_LEN); in le_gen_dhkey()
|
D | ecc.c | 59 sys_memcpy_swap(&key_be[1], key, BT_PUB_KEY_COORD_LEN); in bt_pub_key_is_valid() 60 sys_memcpy_swap(&key_be[1 + BT_PUB_KEY_COORD_LEN], &key[BT_PUB_KEY_COORD_LEN], in bt_pub_key_is_valid() 61 BT_PUB_KEY_COORD_LEN); in bt_pub_key_is_valid()
|
D | smp.c | 4236 memcmp(smp->pkey, sc_public_key, BT_PUB_KEY_COORD_LEN) == 0) { in smp_public_key_periph() 4300 memcpy(smp->pkey, req->x, BT_PUB_KEY_COORD_LEN); in smp_public_key() 4301 memcpy(&smp->pkey[BT_PUB_KEY_COORD_LEN], req->y, BT_PUB_KEY_COORD_LEN); in smp_public_key() 4322 memcmp(smp->pkey, sc_public_key, BT_PUB_KEY_COORD_LEN) == 0) { in smp_public_key()
|