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