Home
last modified time | relevance | path

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

/system/core/trusty/utils/rpmb_dev/
Drpmb_protocol.h47 #define RPMB_PACKET_DATA_SIZE (256) macro
52 uint8_t data[RPMB_PACKET_DATA_SIZE];
Drpmb_dev.c126 int pos = addr * RPMB_PACKET_DATA_SIZE + sizeof(s->header); in rpmb_file_seek()
196 ret = write(s->data_fd, s->cmd[i].data, RPMB_PACKET_DATA_SIZE); in rpmb_dev_data_write()
197 if (ret != RPMB_PACKET_DATA_SIZE) { in rpmb_dev_data_write()
233 ret = read(s->data_fd, s->res[i].data, RPMB_PACKET_DATA_SIZE); in rpmb_dev_data_read()
234 if (ret != 0 && ret != RPMB_PACKET_DATA_SIZE) { in rpmb_dev_data_read()