Home
last modified time | relevance | path

Searched refs:tmp_pub_key_buf (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/subsys/bluetooth/host/
Dhci_ecc.c109 uint8_t tmp_pub_key_buf[BT_PUB_KEY_LEN + 1]; in generate_keys() local
119 if (psa_export_public_key(key_id, tmp_pub_key_buf, sizeof(tmp_pub_key_buf), in generate_keys()
128 memcpy(ecc.public_key_be, &tmp_pub_key_buf[1], BT_PUB_KEY_LEN); in generate_keys()
198 uint8_t tmp_pub_key_buf[BT_PUB_KEY_LEN + 1] = { 0x04 }; in emulate_le_generate_dhkey() local
210 memcpy(&tmp_pub_key_buf[1], ecc.public_key_be, BT_PUB_KEY_LEN); in emulate_le_generate_dhkey()
211 if (psa_raw_key_agreement(PSA_ALG_ECDH, key_id, tmp_pub_key_buf, in emulate_le_generate_dhkey()
212 sizeof(tmp_pub_key_buf), ecc.dhkey_be, BT_DH_KEY_LEN, in emulate_le_generate_dhkey()