aboutsummaryrefslogtreecommitdiff
path: root/cpu.c
diff options
context:
space:
mode:
authorSteven Lee <steven_lee@aspeedtech.com>2022-05-02 17:03:04 +0200
committerCédric Le Goater <clg@kaod.org>2022-05-02 17:03:04 +0200
commite0c371a0d23bf2f6740af72cb19eeac53e1623c7 (patch)
tree331d4b52e4eceea5426efbcddb9d3ebef69992f0 /cpu.c
parent5cd7d8564a8b563da724b9e6264c967f0a091afa (diff)
tests/qtest: Add test for Aspeed HACE accumulative mode
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> Acked-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Joel Stanley <joel@jms.id.au> [ clg: checkpatch fixes ] Message-Id: <20220426021120.28255-4-steven_lee@aspeedtech.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'cpu.c')
0 files changed, 0 insertions, 0 deletions