Lines Matching refs:Octet16
51 static void smp_process_stk(tSMP_CB* p_cb, Octet16* p);
52 static Octet16 smp_calculate_legacy_short_term_key(tSMP_CB* p_cb);
80 inline void smp_debug_print_nbyte_little_endian(const Octet16& p, in smp_debug_print_nbyte_little_endian()
175 Octet16 output; in smp_generate_stk()
200 const Octet16& er = BTM_GetDeviceEncRoot(); in smp_compute_csrk()
275 Octet16 smp_gen_p1_4_confirm(tSMP_CB* p_cb, in smp_gen_p1_4_confirm()
278 Octet16 p1; in smp_gen_p1_4_confirm()
310 Octet16 smp_gen_p2_4_confirm(tSMP_CB* p_cb, const RawAddress& remote_bda) { in smp_gen_p2_4_confirm()
312 Octet16 p2{0}; in smp_gen_p2_4_confirm()
340 tSMP_STATUS smp_calculate_comfirm(tSMP_CB* p_cb, const Octet16& rand, in smp_calculate_comfirm()
341 Octet16* output) { in smp_calculate_comfirm()
354 Octet16 p1 = smp_gen_p1_4_confirm(p_cb, remote_bd_addr_type); in smp_calculate_comfirm()
360 Octet16 e1 = aes_128(p_cb->tk, p1); in smp_calculate_comfirm()
363 Octet16 p2 = smp_gen_p2_4_confirm(p_cb, remote_bda); in smp_calculate_comfirm()
386 Octet16 output; in smp_generate_confirm()
450 Octet16 output; in smp_generate_compare()
470 static void smp_process_stk(tSMP_CB* p_cb, Octet16* p) { in smp_process_stk()
488 static void smp_process_ediv(tSMP_CB* p_cb, Octet16& p) { in smp_process_ediv()
514 const Octet16& dhk = BTM_GetDeviceDHK(); in smp_generate_y()
517 Octet16 output = aes_128(dhk, rand, BT_OCTET8_LEN); in smp_generate_y()
528 const Octet16& er = BTM_GetDeviceEncRoot(); in smp_generate_ltk_cont()
531 Octet16 ltk = aes_128(er, (uint8_t*)&p_cb->div, sizeof(uint16_t)); in smp_generate_ltk_cont()
585 Octet16 smp_calculate_legacy_short_term_key(tSMP_CB* p_cb) { in smp_calculate_legacy_short_term_key()
588 Octet16 text{0}; in smp_calculate_legacy_short_term_key()
788 Octet16 smp_calculate_peer_commitment(tSMP_CB* p_cb) { in smp_calculate_peer_commitment()
792 Octet16 output; in smp_calculate_peer_commitment()
913 Octet16 param_buf = crypto_toolbox::f6(p_cb->mac_key, p_cb->rrand, p_cb->rand, in smp_calculate_peer_dhkey_check()
965 Octet16 link_key = in smp_calculate_link_key_from_long_term_key()
992 Octet16 notif_link_key = link_key; in smp_calculate_link_key_from_long_term_key()
1026 Octet16 rev_link_key; in smp_calculate_long_term_key_from_link_key()