Home
last modified time | relevance | path

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

/system/bt/stack/crypto_toolbox/
Dcrypto_toolbox.cc38 constexpr size_t msg_len = BT_OCTET32_LEN /* U size */ + in f4()
39 BT_OCTET32_LEN /* V size */ + 1 /* Z size */; in f4()
41 DVLOG(2) << "U=" << HexEncode(u, BT_OCTET32_LEN) in f4()
42 << ", V=" << HexEncode(v, BT_OCTET32_LEN) in f4()
49 it = std::copy(v, v + BT_OCTET32_LEN, it); in f4()
50 it = std::copy(u, u + BT_OCTET32_LEN, it); in f4()
78 DVLOG(2) << __func__ << "W=" << HexEncode(w, BT_OCTET32_LEN) in f5()
85 Octet16 t = aes_cmac(salt, w, BT_OCTET32_LEN); in f5()
128 constexpr size_t msg_len = BT_OCTET32_LEN /* U size */ + in g2()
129 BT_OCTET32_LEN /* V size */ in g2()
[all …]
/system/bt/stack/smp/
Dsmp_keys.cc665 BT_OCTET32_LEN); in smp_use_oob_private_key()
693 memcpy(private_key, p_cb->private_key, BT_OCTET32_LEN); in smp_process_private_key()
695 memcpy(p_cb->loc_publ_key.x, public_key.x, BT_OCTET32_LEN); in smp_process_private_key()
696 memcpy(p_cb->loc_publ_key.y, public_key.y, BT_OCTET32_LEN); in smp_process_private_key()
699 BT_OCTET32_LEN); in smp_process_private_key()
701 BT_OCTET32_LEN); in smp_process_private_key()
703 BT_OCTET32_LEN); in smp_process_private_key()
726 memcpy(private_key, p_cb->private_key, BT_OCTET32_LEN); in smp_compute_dhkey()
727 memcpy(peer_publ_key.x, p_cb->peer_publ_key.x, BT_OCTET32_LEN); in smp_compute_dhkey()
728 memcpy(peer_publ_key.y, p_cb->peer_publ_key.y, BT_OCTET32_LEN); in smp_compute_dhkey()
[all …]
Dsmp_utils.cc51 #define SMP_PAIR_PUBL_KEY_SIZE (1 /* opcode */ + (2 * BT_OCTET32_LEN))
713 uint8_t publ_key[2 * BT_OCTET32_LEN]; in smp_build_pair_public_key_cmd()
720 memcpy(p_publ_key, p_cb->loc_publ_key.x, BT_OCTET32_LEN); in smp_build_pair_public_key_cmd()
721 memcpy(p_publ_key + BT_OCTET32_LEN, p_cb->loc_publ_key.y, BT_OCTET32_LEN); in smp_build_pair_public_key_cmd()
725 ARRAY_TO_STREAM(p, p_publ_key, 2 * BT_OCTET32_LEN); in smp_build_pair_public_key_cmd()
Dsmp_act.cc684 STREAM_TO_ARRAY(p_cb->peer_publ_key.x, p, BT_OCTET32_LEN); in smp_process_pairing_public_key()
685 STREAM_TO_ARRAY(p_cb->peer_publ_key.y, p, BT_OCTET32_LEN); in smp_process_pairing_public_key()
688 memcpy(pt.x, p_cb->peer_publ_key.x, BT_OCTET32_LEN); in smp_process_pairing_public_key()
689 memcpy(pt.y, p_cb->peer_publ_key.y, BT_OCTET32_LEN); in smp_process_pairing_public_key()
1859 BT_OCTET32_LEN); in smp_set_local_oob_keys()
1887 BT_OCTET32_LEN); in smp_set_local_oob_random_commitment()
1890 BT_OCTET32_LEN); in smp_set_local_oob_random_commitment()
1893 BT_OCTET32_LEN); in smp_set_local_oob_random_commitment()
/system/bt/stack/include/
Dbt_types.h598 #define BT_OCTET32_LEN 32 macro
599 typedef uint8_t BT_OCTET32[BT_OCTET32_LEN]; /* octet array: size 32 */