Displaying 2 results from an estimated 2 matches for "flash_map".
Did you mean:
flag_map
2020 Sep 28
0
[RFC PATCH 15/19] tools/vhost-user-rpmb: implement VIRTIO_RPMB_REQ_DATA_WRITE
...cated write request
>> + * so the counter can incremented and we can attempt to
>> + * update the backing device.
>> + */
>> + r->write_count++;
>> + for (i = 0; i < block_count; i++) {
>> + void *blk = r->flash_map + offset;
>> + g_debug("%s: writing block %d", __func__, i);
>> + if (mprotect(blk, RPMB_BLOCK_SIZE, PROT_WRITE) != 0) {
>> + r->last_result = VIRTIO_RPMB_RES_WRITE_FAILURE;
>> + break;
>> + }...
2020 Sep 25
20
[RFC PATCH 00/19] vhost-user-rpmb (Replay Protected Memory Block)
Hi,
This is an initial implementation of a vhost-user backend for the
VirtIO RPMB device. The device is currently in the draft of the next
VirtIO specification and describes block device which uses combination
of a key, nonce, hashing and a persistent write counter to prevent
replay attacks (hence Replay Protected Memory Block).
It is implemented as a vhost-user device because we want to