qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC PATCH 3/4] tests/tcg: add sha512 test


From: Richard Henderson
Subject: Re: [RFC PATCH 3/4] tests/tcg: add sha512 test
Date: Thu, 3 Feb 2022 08:19:01 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 2/3/22 06:12, Alex Bennée wrote:
This imports the sha512 algorithm and related tests from ccan which
offers a cleaner hash implementation with its own validation tests
with which we can exercise TCG code generations.

[AJB: this exercise in copy and paste does raise the question of
should we add ccan as a module to use for writing TCG tests?]

Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
---
  tests/tcg/multiarch/sha512.c | 990 +++++++++++++++++++++++++++++++++++
  1 file changed, 990 insertions(+)
  create mode 100644 tests/tcg/multiarch/sha512.c

I glanced through and didn't see anything odd.
Could be a decent enough test.

Acked-by: Richard Henderson <richard.henderson@linaro.org>


r~



reply via email to

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