Home
last modified time | relevance | path

Searched refs:p_mac (Results 1 – 3 of 3) sorted by relevance

/external/bluetooth/bluedroid/stack/smp/
Dsmp_cmac.c140 UINT8 *p_mac; in cmac_aes_k_calculate() local
160 p_mac = output.param_buf + (BT_OCTET16_LEN - tlen); in cmac_aes_k_calculate()
161 memcpy(p_signature, p_mac, tlen); in cmac_aes_k_calculate()
163 SMP_TRACE_DEBUG2("tlen = %d p_mac = %d", tlen, p_mac); in cmac_aes_k_calculate()
165 *p_mac, *(p_mac + 1), *(p_mac + 2), *(p_mac + 3)); in cmac_aes_k_calculate()
167 *(p_mac + 4), *(p_mac + 5), *(p_mac + 6), *(p_mac + 7)); in cmac_aes_k_calculate()
342 void test_cmac_cback(UINT8 *p_mac, UINT16 tlen)
/external/bluetooth/bluedroid/stack/btm/
Dbtm_ble.c1441 UINT8 *p=temp, *p_mac = (UINT8 *)signature; in BTM_BleDataSignature() local
1498 UINT32_TO_STREAM(p_mac, btm_cb.devcb.test_local_sign_cntr); in BTM_BleDataSignature()
1502 UINT32_TO_STREAM(p_mac, p_rec->ble.keys.local_counter); in BTM_BleDataSignature()
1505 UINT32_TO_STREAM(p_mac, p_rec->ble.keys.local_counter); in BTM_BleDataSignature()
1508 … if ((ret = AES_CMAC(local_csrk, p_buf, (UINT16)(len + 4), BTM_CMAC_TLEN_SIZE, p_mac)) == TRUE) in BTM_BleDataSignature()
1516 memcpy(p_mac, btm_cb.devcb.test_mac, BTM_CMAC_TLEN_SIZE); in BTM_BleDataSignature()
1520 BTM_TRACE_DEBUG1("BTM_BleDataSignature p_mac = %d", p_mac); in BTM_BleDataSignature()
1522 *p_mac, *(p_mac + 1), *(p_mac + 2), *(p_mac + 3)); in BTM_BleDataSignature()
1524 *(p_mac + 4), *(p_mac + 5), *(p_mac + 6), *(p_mac + 7)); in BTM_BleDataSignature()
1556 UINT8 p_mac[BTM_CMAC_TLEN_SIZE]; in BTM_BleVerifySignature() local
[all …]
/external/bluetooth/bluedroid/stack/include/
Dsmp_api.h166 typedef void (tCMAC_CMPL_CBACK)(UINT8 *p_mac, UINT16 tlen, UINT32 sign_counter);