qemu-arm
[Top][All Lists]
Advanced

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

Re: [PATCH v4 3/3] tests/qtest: Add test for Aspeed HACE accumulative mo


From: Thomas Huth
Subject: Re: [PATCH v4 3/3] tests/qtest: Add test for Aspeed HACE accumulative mode
Date: Wed, 20 Apr 2022 11:50:32 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0

On 31/03/2022 09.48, Steven Lee wrote:
This add two addition test cases for accumulative mode under sg enabled.

The input vector was manually craft with "abc" + bit 1 + padding zeros + L.
The padding length depends on algorithm, i.e. SHA512 (1024 bit),
SHA256 (512 bit).

The result was calculated by command line sha512sum/sha256sum utilities
without padding, i.e. only "abc" ascii text.

Signed-off-by: Troy Lee <troy_lee@aspeedtech.com>
Signed-off-by: Steven Lee <steven_lee@aspeedtech.com>
---
  tests/qtest/aspeed_hace-test.c | 145 +++++++++++++++++++++++++++++++++
  1 file changed, 145 insertions(+)

Acked-by: Thomas Huth <thuth@redhat.com>




reply via email to

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