Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble_sec.cc1735 uint8_t* p_mac = (uint8_t*)signature; in BTM_BleDataSignature() local
1747 UINT32_TO_STREAM(p_mac, p_rec->sec_rec.ble_keys.local_counter); in BTM_BleDataSignature()
1750 (uint16_t)(len + 4), BTM_CMAC_TLEN_SIZE, p_mac); in BTM_BleDataSignature()
1753 log::verbose("p_mac = {}", fmt::ptr(p_mac)); in BTM_BleDataSignature()
1756 *p_mac, *(p_mac + 1), *(p_mac + 2), *(p_mac + 3)); in BTM_BleDataSignature()
1759 *(p_mac + 4), *(p_mac + 5), *(p_mac + 6), *(p_mac + 7)); in BTM_BleDataSignature()
1783 uint8_t p_mac[BTM_CMAC_TLEN_SIZE]; in BTM_BleVerifySignature() local
1797 BTM_CMAC_TLEN_SIZE, p_mac); in BTM_BleVerifySignature()
1798 if (CRYPTO_memcmp(p_mac, p_comp, BTM_CMAC_TLEN_SIZE) == 0) { in BTM_BleVerifySignature()
/packages/modules/Bluetooth/system/gd/crypto_toolbox/
Dcrypto_toolbox.h83 uint8_t* p_mac = signature.data() + (bluetooth::hci::kOctet16Length - tlen); in aes_cmac() local
84 memcpy(p_signature, p_mac, tlen); in aes_cmac()