On 4/11/25 14:03, Jan Kiszka wrote:
From: Jan Kiszka <[email protected]>

Implement correct setting of the MAC field when passing RPMB frames back
to the guest. Also check the MAC on authenticated write requests.

This depends on HMAC support for QCRYPTO_HASH_ALGO_SHA256 which is
always available via glib - assert this, just to be safe.

Signed-off-by: Jan Kiszka <[email protected]>
---
  hw/sd/sd.c | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
  1 file changed, 83 insertions(+)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


Reply via email to