Home
last modified time | relevance | path

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

/system/bt/stack/smp/
Dsmp_keys.cc427 memcpy((void*)&p_cb->rand[8], rand, BT_OCTET8_LEN); in smp_generate_srand_mrand_confirm()
516 memcpy(p_cb->enc_rand, rand, BT_OCTET8_LEN); in smp_generate_y()
517 Octet16 output = aes_128(dhk, rand, BT_OCTET8_LEN); in smp_generate_y()
590 memcpy(text.data(), p_cb->rand.data(), BT_OCTET8_LEN); in smp_calculate_legacy_short_term_key()
591 memcpy(text.data() + BT_OCTET8_LEN, p_cb->rrand.data(), BT_OCTET8_LEN); in smp_calculate_legacy_short_term_key()
593 memcpy(text.data(), p_cb->rrand.data(), BT_OCTET8_LEN); in smp_calculate_legacy_short_term_key()
594 memcpy(text.data() + BT_OCTET8_LEN, p_cb->rand.data(), BT_OCTET8_LEN); in smp_calculate_legacy_short_term_key()
618 memcpy((void*)p_cb->private_key, rand, BT_OCTET8_LEN); in smp_create_private_key()
621 memcpy((void*)&p_cb->private_key[8], rand, BT_OCTET8_LEN); in smp_create_private_key()
624 memcpy((void*)&p_cb->private_key[16], rand, BT_OCTET8_LEN); in smp_create_private_key()
[all …]
Dsmp_utils.cc45 #define SMP_MASTER_ID_SIZE (BT_OCTET8_LEN + 2 + 1)
564 ARRAY_TO_STREAM(p, p_cb->enc_rand, BT_OCTET8_LEN); in smp_build_master_id_cmd()
1485 memset(ple_key.penc_key.rand, 0, BT_OCTET8_LEN); in smp_save_secure_connections_long_term_key()
Dsmp_act.cc967 STREAM_TO_ARRAY(le_key.penc_key.rand, p, BT_OCTET8_LEN); in smp_proc_master_id()
/system/bt/gd/crypto_toolbox/
Dcrypto_toolbox.cc211 constexpr uint8_t BT_OCTET8_LEN = 8; in s1() local
212 memcpy(text.data(), r1.data(), BT_OCTET8_LEN); in s1()
213 memcpy(text.data() + BT_OCTET8_LEN, r2.data(), BT_OCTET8_LEN); in s1()
/system/bt/stack/btm/
Dbtm_ble.cc1174 params.param_len = BT_OCTET8_LEN; in btm_ble_rand_enc_complete()
1291 memcpy(p_rec->ble.keys.rand, p_keys->penc_key.rand, BT_OCTET8_LEN); in btm_sec_save_le_key()
1601 memcpy(p_cb->enc_rand, rand, BT_OCTET8_LEN); in btm_ble_ltk_request()
2214 memcpy(tmp.rand1.data(), rand, BT_OCTET8_LEN); in btm_ble_reset_id()
2217 memcpy(tmp.rand1.data() + 8, rand, BT_OCTET8_LEN); in btm_ble_reset_id()
2220 memcpy(tmp.rand2.data(), rand, BT_OCTET8_LEN); in btm_ble_reset_id()
2223 memcpy(tmp.rand2.data() + 8, rand, BT_OCTET8_LEN); in btm_ble_reset_id()
2287 memcpy(btm_cb.devcb.test_mac, p_test_mac_val, BT_OCTET8_LEN); in btm_ble_set_test_mac_value()
/system/bt/stack/include/
Dbt_types.h566 #define BT_OCTET8_LEN 8 macro
567 typedef uint8_t BT_OCTET8[BT_OCTET8_LEN]; /* octet array: size 16 */