Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nettle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Carlier
nettle
Commits
845f3cf4
Commit
845f3cf4
authored
15 years ago
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
New file.
Rev: nettle/testsuite/sha384-test.c:1.1
parent
a8e38bdf
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
testsuite/sha384-test.c
+22
-0
22 additions, 0 deletions
testsuite/sha384-test.c
with
22 additions
and
0 deletions
testsuite/sha384-test.c
0 → 100644
+
22
−
0
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
();
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment