Re: [PATCH] Supporting AST2600 HACE engine accumulative mode

2022-01-06 Thread Troy Lee
On Thu, Jan 6, 2022 at 11:27 PM Peter Maydell wrote: > > On Tue, 28 Dec 2021 at 03:34, Troy Lee wrote: > > > > Hi Klaus, > > > > On Thu, Dec 23, 2021 at 11:57 PM Klaus Heinrich Kiwi > > wrote: > > > > > > Em qui., 23 de dez. de 2021 às 09:54, Cédric Le Goater > > > escreveu: > > > > > > > > [

Re: [PATCH] Supporting AST2600 HACE engine accumulative mode

2022-01-06 Thread Peter Maydell
On Tue, 28 Dec 2021 at 03:34, Troy Lee wrote: > > Hi Klaus, > > On Thu, Dec 23, 2021 at 11:57 PM Klaus Heinrich Kiwi > wrote: > > > > Em qui., 23 de dez. de 2021 às 09:54, Cédric Le Goater > > escreveu: > > > > > > [ Adding Klaus ] > > > > Thanks Cedric. It's been a while since I've looked at t

Re: [PATCH] Supporting AST2600 HACE engine accumulative mode

2021-12-27 Thread Troy Lee
Hi Klaus, On Thu, Dec 23, 2021 at 11:57 PM Klaus Heinrich Kiwi wrote: > > Em qui., 23 de dez. de 2021 às 09:54, Cédric Le Goater > escreveu: > > > > [ Adding Klaus ] > > Thanks Cedric. It's been a while since I've looked at this but I'll do my > best.. > > > > > On 12/22/21 03:22, Troy Lee wro

Re: [PATCH] Supporting AST2600 HACE engine accumulative mode

2021-12-23 Thread Klaus Heinrich Kiwi
Em qui., 23 de dez. de 2021 às 09:54, Cédric Le Goater escreveu: > > [ Adding Klaus ] Thanks Cedric. It's been a while since I've looked at this but I'll do my best.. > > On 12/22/21 03:22, Troy Lee wrote: > > Accumulative mode will supply a initial state and append padding bit at > > the end of

Re: [PATCH] Supporting AST2600 HACE engine accumulative mode

2021-12-23 Thread Cédric Le Goater
[ Adding Klaus ] On 12/22/21 03:22, Troy Lee wrote: Accumulative mode will supply a initial state and append padding bit at the end of hash stream. However, the crypto library will padding those bit automatically, so ripped it off from iov array. Signed-off-by: Troy Lee --- hw/misc/aspeed_h

[PATCH] Supporting AST2600 HACE engine accumulative mode

2021-12-21 Thread Troy Lee
Accumulative mode will supply a initial state and append padding bit at the end of hash stream. However, the crypto library will padding those bit automatically, so ripped it off from iov array. Signed-off-by: Troy Lee --- hw/misc/aspeed_hace.c | 30 -- inclu