Searched refs:res_count (Results 1 – 2 of 2) sorted by relevance
/system/core/trusty/utils/rpmb_dev/ |
D | rpmb_dev.c | 77 uint16_t res_count; member 221 block_count = s->res_count; in rpmb_dev_data_read() 290 assert(s->res_count > 0); in rpmb_dev_process_cmd() 338 block_count = s->res_count; in rpmb_dev_process_cmd() 373 if (!cmd->multi_packet_res && s->res_count != 1) { in rpmb_dev_process_cmd() 375 ALOGE("rpmb_dev: Request %d, bad res count %d, expected 1\n", req_resp, s->res_count); in rpmb_dev_process_cmd() 402 for (int i = 0; i < s->res_count; i++) { in rpmb_dev_process_cmd() 410 rpmb_mac(s->header.key, s->res, s->res_count, &s->res[s->res_count - 1].key_mac); in rpmb_dev_process_cmd() 451 ret = recv_until(conn_sock, &s->res_count, sizeof(s->res_count)); in handle_conn() 460 if (s->res_count > MAX_PACKET_COUNT) { in handle_conn() [all …]
|
/system/core/trusty/storage/proxy/ |
D | rpmb.c | 490 uint16_t res_count = read_size / MMC_BLOCK_SIZE; in send_virt_rpmb_req() local 492 rc = write(rpmb_fd, &res_count, sizeof(res_count)); in send_virt_rpmb_req()
|