Searched refs:p_dst (Results 1 – 4 of 4) sorted by relevance
/system/nfc/src/nfc/tags/ |
D | ce_t3t.cc | 157 uint8_t *p_dst, *p_rsp_start; in ce_t3t_send_rsp() local 166 p_dst = p_rsp_start = (uint8_t*)(p_rsp_msg + 1) + p_rsp_msg->offset; in ce_t3t_send_rsp() 169 UINT8_TO_STREAM(p_dst, opcode); in ce_t3t_send_rsp() 172 ARRAY_TO_STREAM(p_dst, p_nfcid2, NCI_RF_F_UID_LEN); in ce_t3t_send_rsp() 175 UINT8_TO_STREAM(p_dst, status1); in ce_t3t_send_rsp() 176 UINT8_TO_STREAM(p_dst, status2); in ce_t3t_send_rsp() 178 p_rsp_msg->len = (uint16_t)(p_dst - p_rsp_start); in ce_t3t_send_rsp() 369 uint8_t *p_dst, *p_temp, *p_status; in ce_t3t_handle_check_cmd() local 378 p_dst = p_rsp_start = (uint8_t*)(p_rsp_msg + 1) + p_rsp_msg->offset; in ce_t3t_handle_check_cmd() 381 UINT8_TO_STREAM(p_dst, T3T_MSG_OPC_CHECK_RSP); in ce_t3t_handle_check_cmd() [all …]
|
D | ce_t4t.cc | 152 uint8_t *p_src = nullptr, *p_dst; in ce_t4t_read_binary() local 178 p_dst = (uint8_t*)(p_r_apdu + 1) + p_r_apdu->offset; in ce_t4t_read_binary() 186 UINT16_TO_BE_STREAM(p_dst, p_t4t->nlen); in ce_t4t_read_binary() 190 p_dst--; in ce_t4t_read_binary() 194 UINT8_TO_BE_STREAM(p_dst, (uint8_t)(p_t4t->nlen)); in ce_t4t_read_binary() 204 memcpy(p_dst, p_src + offset, length); in ce_t4t_read_binary() 205 p_dst += length; in ce_t4t_read_binary() 208 UINT16_TO_BE_STREAM(p_dst, T4T_RSP_CMD_CMPLTED); in ce_t4t_read_binary()
|
D | rw_t3t.cc | 1817 uint8_t *p_dst, *p_cmd_start; in rw_t3t_update_block() local 1823 p_dst = p_cmd_start = (uint8_t*)(p_cmd_buf + 1) + p_cmd_buf->offset; in rw_t3t_update_block() 1826 UINT8_TO_STREAM(p_dst, T3T_MSG_OPC_UPDATE_CMD); in rw_t3t_update_block() 1829 ARRAY_TO_STREAM(p_dst, p_cb->peer_nfcid2, NCI_NFCID2_LEN); in rw_t3t_update_block() 1832 UINT8_TO_STREAM(p_dst, 1); /* Number of services (only 1 service: NDEF) */ in rw_t3t_update_block() 1834 p_dst, T3T_MSG_NDEF_SC_RW); /* Service code (little-endian format) */ in rw_t3t_update_block() 1837 UINT8_TO_STREAM(p_dst, 1); in rw_t3t_update_block() 1840 UINT8_TO_STREAM(p_dst, T3T_MSG_MASK_TWO_BYTE_BLOCK_DESC_FORMAT); in rw_t3t_update_block() 1841 UINT8_TO_STREAM(p_dst, block_id); in rw_t3t_update_block() 1844 ARRAY_TO_STREAM(p_dst, p_block_data, T3T_MSG_BLOCKSIZE); in rw_t3t_update_block() [all …]
|
/system/chre/apps/nearby/location/lbs/contexthub/nanoapps/nearby/crypto/ |
D | aes.c | 284 uint32_t *p_dst; in aesCtr() local 311 p_dst = (uint32_t *)(void *)p_dst_pos; in aesCtr() 313 p_dst = aligned_dst; in aesCtr() 320 aesEncr(&ctx->aes, ctx->iv, p_dst); in aesCtr() 322 p_dst[i] ^= p_src[i]; in aesCtr() 327 if (p_dst == aligned_dst) { in aesCtr()
|