Displaying 2 results from an estimated 2 matches for "vurpmb".
2020 Sep 28
0
[RFC PATCH 15/19] tools/vhost-user-rpmb: implement VIRTIO_RPMB_REQ_DATA_WRITE
...96];
>> uint8_t key_mac[RPMB_KEY_MAC_SIZE];
>> - uint8_t data[256];
>> + uint8_t data[RPMB_BLOCK_SIZE];
>> uint8_t nonce[16];
>> /* remaining fields are big-endian */
>> uint32_t write_counter;
>> @@ -124,6 +125,7 @@ typedef struct VuRpmb {
>> uint8_t last_nonce[16];
>> uint16_t last_result;
>> uint16_t last_reqresp;
>> + uint16_t last_address;
>> uint32_t write_count;
>> } VuRpmb;
>>
>> @@ -239,17 +241,30 @@ vrpmb_set_config(VuDev *dev, const uint8_t *data,...
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