Displaying 2 results from an estimated 2 matches for "virtio_rpmb_res_general_failur".
Did you mean:
virtio_rpmb_res_general_failure
2020 Sep 28
0
[RFC PATCH 15/19] tools/vhost-user-rpmb: implement VIRTIO_RPMB_REQ_DATA_WRITE
...!r->key) {
>> + g_warning("no key programmed");
>> + r->last_result = VIRTIO_RPMB_RES_NO_AUTH_KEY;
>> + } else if (block_count == 0 ||
>> + block_count > r->virtio_config.max_wr_cnt) {
>> + r->last_result = VIRTIO_RPMB_RES_GENERAL_FAILURE;
>> + } else if (false /* what does an expired write counter mean? */) {
>>
> IIRC, the counter has room for a 32-bit value and the counter will never
> wrap around. So once the counter have reached max for uint32_t, then
> there is an additional bit set (permanently) in th...
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