Lines Matching refs:p_mac
1652 UINT8 *p=temp, *p_mac = (UINT8 *)signature;
1709 UINT32_TO_STREAM(p_mac, btm_cb.devcb.test_local_sign_cntr);
1713 UINT32_TO_STREAM(p_mac, p_rec->ble.keys.local_counter);
1716 UINT32_TO_STREAM(p_mac, p_rec->ble.keys.local_counter);
1719 if ((ret = AES_CMAC(local_csrk, p_buf, (UINT16)(len + 4), BTM_CMAC_TLEN_SIZE, p_mac)) == TRUE)
1727 memcpy(p_mac, btm_cb.devcb.test_mac, BTM_CMAC_TLEN_SIZE);
1731 BTM_TRACE_DEBUG1("BTM_BleDataSignature p_mac = %d", p_mac);
1732 BTM_TRACE_DEBUG4("p_mac[0] = 0x%02x p_mac[1] = 0x%02x p_mac[2] = 0x%02x p_mac[3] = 0x%02x",
1733 *p_mac, *(p_mac + 1), *(p_mac + 2), *(p_mac + 3));
1734 BTM_TRACE_DEBUG4("p_mac[4] = 0x%02x p_mac[5] = 0x%02x p_mac[6] = 0x%02x p_mac[7] = 0x%02x",
1735 *(p_mac + 4), *(p_mac + 5), *(p_mac + 6), *(p_mac + 7));
1767 UINT8 p_mac[BTM_CMAC_TLEN_SIZE];
1785 if (AES_CMAC(p_rec->ble.keys.csrk, p_orig, len, BTM_CMAC_TLEN_SIZE, p_mac))
1787 if (memcmp(p_mac, p_comp, BTM_CMAC_TLEN_SIZE) == 0)