Home
last modified time | relevance | path

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

/system/bt/stack/smp/
Dsmp_cmac.c148 …if (!SMP_Encrypt(key, BT_OCTET16_LEN, &cmac_cb.text[(cmac_cb.round - i)*BT_OCTET16_LEN], BT_OCTET1… in cmac_aes_k_calculate()
270 if (SMP_Encrypt(key, BT_OCTET16_LEN, z, BT_OCTET16_LEN, &output)) in cmac_generate_subkey()
Dsmp_keys.c418 if (!SMP_Encrypt(er, BT_OCTET16_LEN, buffer, 4, &output)) in smp_compute_csrk()
637 if (!SMP_Encrypt(p_cb->tk, BT_OCTET16_LEN, p1, BT_OCTET16_LEN, &output)) in smp_calculate_comfirm()
677 if (!SMP_Encrypt(p_cb->tk, BT_OCTET16_LEN, p2, BT_OCTET16_LEN, &output)) in smp_calculate_comfirm_cont()
837 if (!SMP_Encrypt(er, BT_OCTET16_LEN, (UINT8 *)&p_cb->div, in smp_generate_ltk_cont()
873 if (!SMP_Encrypt(dhk, BT_OCTET16_LEN, p_cb->enc_rand, in smp_generate_y()
964 encrypted = SMP_Encrypt( p_cb->tk, BT_OCTET16_LEN, ptext, BT_OCTET16_LEN, output); in smp_calculate_legacy_short_term_key()
Dsmp_api.c506 BOOLEAN SMP_Encrypt (UINT8 *key, UINT8 key_len, in SMP_Encrypt() function
/system/bt/stack/btm/
Dbtm_ble_addr.c108 if (!SMP_Encrypt(btm_cb.devcb.id_keys.irk, BT_OCTET16_LEN, p->param_buf, 3, &output)) in btm_gen_resolve_paddr_low()
317 SMP_Encrypt(p_dev_rec->ble.keys.irk, BT_OCTET16_LEN, in btm_ble_addr_resolvable()
370 SMP_Encrypt(p_dev_rec->ble.keys.irk, BT_OCTET16_LEN, in btm_ble_match_random_bda()
Dbtm_ble.c1512SMP_Encrypt(p_cb->devcb.ble_encryption_key_value, BT_OCTET16_LEN, (UINT8 *)&div, 2, &output); in btm_enc_proc_slave_y()
2470 if (!SMP_Encrypt(btm_cb.devcb.id_keys.ir, BT_OCTET16_LEN, &btm_ble_irk_pt, in btm_ble_process_dhk()
2515 SMP_Encrypt(btm_cb.devcb.id_keys.ir, BT_OCTET16_LEN, &btm_ble_dhk_pt, in btm_ble_process_ir2()
Dbtm_ble_multi_adv.c419 if (!SMP_Encrypt(btm_cb.devcb.id_keys.irk, BT_OCTET16_LEN, p->param_buf, 3, &output)) in btm_ble_multi_adv_gen_rpa_cmpl()
/system/bt/stack/include/
Dsmp_api.h459 extern BOOLEAN SMP_Encrypt (UINT8 *key, UINT8 key_len,