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
Dmitry Baryshkov
nettle
Commits
d1404928
Commit
d1404928
authored
20 years ago
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
(test_main): Added first half of a
collision test case. Rev: src/nettle/testsuite/md5-test.c:1.3
parent
07312ba4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testsuite/md5-test.c
+8
-0
8 additions, 0 deletions
testsuite/md5-test.c
with
8 additions
and
0 deletions
testsuite/md5-test.c
+
8
−
0
View file @
d1404928
...
...
@@ -29,6 +29,14 @@ test_main(void)
"1234567890123456789012345678901234567890"
"1234567890123456789012345678901234567890"
,
H
(
"57EDF4A22BE3C955 AC49DA2E2107B67A"
));
#if 0
/* Collisions, reported by Xiaoyun Wang1, Dengguo Feng2, Xuejia
Lai3, Hongbo Yu1, http://eprint.iacr.org/2004/199 */
test_hash(&nettle_md5,
HL("d131dd02 c5e6eec4 693d9a06 98aff95c 2fcab587 12467eab 4004583e b8fb7f89"
"55ad3406 09f4b302 83e48883 2571415a 085125e8 f7cdc99f d91dbdf2 80373c5b"),
H("1f160396 efc71ff4 bcff659f bf9d0fa3"));
#endif
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