Home
last modified time | relevance | path

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

/system/bt/stack/smp/
Dsmp_cmac.c137 UINT8 *p_mac; in cmac_aes_k_calculate() local
157 p_mac = output.param_buf + (BT_OCTET16_LEN - tlen); in cmac_aes_k_calculate()
158 memcpy(p_signature, p_mac, tlen); in cmac_aes_k_calculate()
160 SMP_TRACE_DEBUG("tlen = %d p_mac = %d", tlen, p_mac); in cmac_aes_k_calculate()
162 *p_mac, *(p_mac + 1), *(p_mac + 2), *(p_mac + 3)); in cmac_aes_k_calculate()
164 *(p_mac + 4), *(p_mac + 5), *(p_mac + 6), *(p_mac + 7)); in cmac_aes_k_calculate()
328 void test_cmac_cback(UINT8 *p_mac, UINT16 tlen)
/system/bt/stack/btm/
Dbtm_ble.c2165 UINT8 *p_mac = (UINT8 *)signature; in BTM_BleDataSignature() local
2178 UINT32_TO_STREAM(p_mac, p_rec->ble.keys.local_counter); in BTM_BleDataSignature()
2181 BTM_CMAC_TLEN_SIZE, p_mac)) == TRUE) { in BTM_BleDataSignature()
2185 BTM_TRACE_DEBUG("%s p_mac = %d", __func__, p_mac); in BTM_BleDataSignature()
2187 *p_mac, *(p_mac + 1), *(p_mac + 2), *(p_mac + 3)); in BTM_BleDataSignature()
2189 *(p_mac + 4), *(p_mac + 5), *(p_mac + 6), *(p_mac + 7)); in BTM_BleDataSignature()
2216 UINT8 p_mac[BTM_CMAC_TLEN_SIZE]; in BTM_BleVerifySignature() local
2235 if (aes_cipher_msg_auth_code(p_rec->ble.keys.pcsrk, p_orig, len, BTM_CMAC_TLEN_SIZE, p_mac)) in BTM_BleVerifySignature()
2237 if (memcmp(p_mac, p_comp, BTM_CMAC_TLEN_SIZE) == 0) in BTM_BleVerifySignature()
/system/bt/stack/include/
Dsmp_api.h294 typedef void (tCMAC_CMPL_CBACK)(UINT8 *p_mac, UINT16 tlen, UINT32 sign_counter);