Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/smp/
Dsmp_keys.cc615 for (int i = 0; i < BT_OCTET32_LEN; i++) { in smp_create_private_key()
686 for (int i = 0; i < BT_OCTET32_LEN; i++) { in smp_use_oob_private_key()
700 BT_OCTET32_LEN); in smp_use_oob_private_key()
728 memcpy(private_key, p_cb->private_key, BT_OCTET32_LEN); in smp_process_private_key()
730 memcpy(p_cb->loc_publ_key.x, public_key.x, BT_OCTET32_LEN); in smp_process_private_key()
731 memcpy(p_cb->loc_publ_key.y, public_key.y, BT_OCTET32_LEN); in smp_process_private_key()
734 BT_OCTET32_LEN); in smp_process_private_key()
736 BT_OCTET32_LEN); in smp_process_private_key()
738 BT_OCTET32_LEN); in smp_process_private_key()
761 memcpy(private_key, p_cb->private_key, BT_OCTET32_LEN); in smp_compute_dhkey()
[all …]
Dsmp_utils.cc67 #define SMP_PAIR_PUBL_KEY_SIZE (1 /* opcode */ + (2 * BT_OCTET32_LEN))
755 uint8_t publ_key[2 * BT_OCTET32_LEN]; in smp_build_pair_public_key_cmd()
762 memcpy(p_publ_key, p_cb->loc_publ_key.x, BT_OCTET32_LEN); in smp_build_pair_public_key_cmd()
763 memcpy(p_publ_key + BT_OCTET32_LEN, p_cb->loc_publ_key.y, BT_OCTET32_LEN); in smp_build_pair_public_key_cmd()
767 ARRAY_TO_STREAM(p, p_publ_key, 2 * BT_OCTET32_LEN); in smp_build_pair_public_key_cmd()
Dsmp_act.cc729 STREAM_TO_ARRAY(p_cb->peer_publ_key.x, p, BT_OCTET32_LEN); in smp_process_pairing_public_key()
730 STREAM_TO_ARRAY(p_cb->peer_publ_key.y, p, BT_OCTET32_LEN); in smp_process_pairing_public_key()
733 memcpy(pt.x, p_cb->peer_publ_key.x, BT_OCTET32_LEN); in smp_process_pairing_public_key()
734 memcpy(pt.y, p_cb->peer_publ_key.y, BT_OCTET32_LEN); in smp_process_pairing_public_key()
736 if (!memcmp(p_cb->peer_publ_key.x, p_cb->loc_publ_key.x, BT_OCTET32_LEN)) { in smp_process_pairing_public_key()
2018 BT_OCTET32_LEN); in smp_set_local_oob_keys()
/packages/modules/Bluetooth/system/stack/include/
Dbt_octets.h36 #define BT_OCTET32_LEN 32 macro
37 typedef uint8_t BT_OCTET32[BT_OCTET32_LEN]; /* octet array: size 32 */