qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] eif: Use stateful qcrypto apis


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] eif: Use stateful qcrypto apis
Date: Fri, 13 Dec 2024 20:16:21 +0100
User-agent: Mozilla Thunderbird

On 9/11/24 13:30, Dorjoy Chowdhury wrote:
We were storing the pointers to buffers in a GList due to lack of
stateful crypto apis and instead doing the final hash computation at
the end after we had all the necessary buffers. Now that we have the
stateful qcrypto apis available, we can instead update the hashes
inline in the read_eif_* functions which makes the code much simpler.

Signed-off-by: Dorjoy Chowdhury <dorjoychy111@gmail.com>
---
  hw/core/eif.c                   | 202 ++++++++++++--------------------
  hw/i386/nitro_enclave.c         |  12 +-
  include/hw/i386/nitro_enclave.h |  16 +--
  3 files changed, 91 insertions(+), 139 deletions(-)

Queued, thanks!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]