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_...@aspeedtech.com>
Signed-off-by: Steven Lee <steven_...@aspeedtech.com>
---
tests/qtest/aspeed_hace-test.c | 145 +++++++++++++++++++++++++++++++++
1 file changed, 145 insertions(+)
Acked-by: Thomas Huth <th...@redhat.com>