Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nettle
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
5
Merge Requests
5
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Nettle
nettle
Commits
845f3cf4
Commit
845f3cf4
authored
Mar 25, 2010
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New file.
Rev: nettle/testsuite/sha384-test.c:1.1
parent
a8e38bdf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
testsuite/sha384-test.c
testsuite/sha384-test.c
+22
-0
No files found.
testsuite/sha384-test.c
0 → 100644
View file @
845f3cf4
#include "testutils.h"
#include "sha.h"
int
test_main
(
void
)
{
test_hash
(
&
nettle_sha384
,
3
,
"abc"
,
H
(
"cb00753f45a35e8b b5a03d699ac65007"
"272c32ab0eded163 1a8b605a43ff5bed"
"8086072ba1e7cc23 58baeca134c825a7"
));
test_hash
(
&
nettle_sha384
,
112
,
"abcdefghbcdefghicdefghijdefg"
"hijkefghijklfghijklmghijklmn"
"hijklmnoijklmnopjklmnopqklmn"
"opqrlmnopqrsmnopqrstnopqrstu"
,
H
(
"09330c33f71147e8 3d192fc782cd1b47"
"53111b173b3b05d2 2fa08086e3b0f712"
"fcc7c71a557e2db9 66c3e9fa91746039"
));
SUCCESS
();
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment