Commit c290ac01 authored by Niels Möller's avatar Niels Möller
Browse files

* testsuite/ (TS_NETTLE_SOURCES): Added sha512-test.c.

* testsuite/sha512-test.c: New file.

Rev: nettle/testsuite/
Rev: nettle/testsuite/sha512-test.c:1.1
parent f59da697
......@@ -15,7 +15,7 @@ TS_NETTLE_SOURCES = aes-test.c arcfour-test.c arctwo-test.c \
base16-test.c base64-test.c \
des-test.c des3-test.c des-compat-test.c \
md2-test.c md4-test.c md5-test.c md5-compat-test.c \
sha1-test.c sha256-test.c \
sha1-test.c sha256-test.c sha512-test.c \
serpent-test.c twofish-test.c \
buffer-test.c yarrow-test.c
#include "testutils.h"
#include "sha.h"
test_hash(&nettle_sha512, 3, "abc",
H("ddaf35a193617aba cc417349ae204131"
"12e6fa4e89a97ea2 0a9eeee64b55d39a"
"2192992a274fc1a8 36ba3c23a3feebbd"
"454d4423643ce80e 2a9ac94fa54ca49f"));
test_hash(&nettle_sha512, 112,
H("8e959b75dae313da 8cf4f72814fc143f"
"8f7779c6eb9f7fa1 7299aeadb6889018"
"501d289e4900f7e4 331b99dec4b5433a"
"c7d329eeb6dd2654 5e96e55b874be909"));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment