Searched refs:res_count (Results 1 – 2 of 2) sorted by relevance
/system/core/trusty/utils/rpmb_dev/ |
D | rpmb_dev.c | 84 uint16_t res_count; member 228 block_count = s->res_count; in rpmb_dev_data_read() 296 assert(s->res_count > 0); in rpmb_dev_process_cmd() 344 block_count = s->res_count; in rpmb_dev_process_cmd() 379 if (!cmd->multi_packet_res && s->res_count != 1) { in rpmb_dev_process_cmd() 381 ALOGE("rpmb_dev: Request %d, bad res count %d, expected 1\n", req_resp, s->res_count); in rpmb_dev_process_cmd() 408 for (int i = 0; i < s->res_count; i++) { in rpmb_dev_process_cmd() 416 rpmb_mac(s->header.key, s->res, s->res_count, &s->res[s->res_count - 1].key_mac); in rpmb_dev_process_cmd() 457 ret = recv_until(conn_sock, &s->res_count, sizeof(s->res_count)); in handle_conn() 466 if (s->res_count > MAX_PACKET_COUNT) { in handle_conn() [all …]
|
/system/core/trusty/storage/proxy/ |
D | rpmb.c | 249 uint16_t res_count = read_size / MMC_BLOCK_SIZE; in send_virt_rpmb_req() local 251 rc = write(rpmb_fd, &res_count, sizeof(res_count)); in send_virt_rpmb_req()
|