Re: [PATCH v5 16/16] hw/misc/aspeed_hace: Fix SG Accumulative hashing

2024-10-10 Thread Daniel P . Berrangé
On Tue, Oct 08, 2024 at 09:57:23AM +0200, Cédric Le Goater wrote: > From: Alejandro Zeise > > Make the Aspeed HACE module use the new qcrypto accumulative hashing functions > when in scatter-gather accumulative mode. A hash context will maintain a > "running-hash" as each scatter-gather chunk is

[PATCH v5 16/16] hw/misc/aspeed_hace: Fix SG Accumulative hashing

2024-10-08 Thread Cédric Le Goater
From: Alejandro Zeise Make the Aspeed HACE module use the new qcrypto accumulative hashing functions when in scatter-gather accumulative mode. A hash context will maintain a "running-hash" as each scatter-gather chunk is received. Previously each scatter-gather "chunk" was cached so the hash cou