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
1efe68ad
Commit
1efe68ad
authored
Aug 28, 2014
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test case for ecdsa_verify using curve25519.
parent
a7770022
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
ChangeLog
ChangeLog
+2
-0
testsuite/ecdsa-verify-test.c
testsuite/ecdsa-verify-test.c
+13
-0
No files found.
ChangeLog
View file @
1efe68ad
...
...
@@ -16,6 +16,8 @@
* testsuite/ecdsa-sign-test.c (test_main): Added test for the
obscure case of ecdsa using curve25519.
* testsuite/ecdsa-verify-test.c (test_main): Likewise (depends on
above changes).
* ecc-ecdsa-sign.c (ecc_ecdsa_sign): Use mul_g and h_to_a function
pointers. Implies (obscure) support for curve25519.
...
...
testsuite/ecdsa-verify-test.c
View file @
1efe68ad
...
...
@@ -145,4 +145,17 @@ test_main (void)
"97536710 1F67D1CF 9BCCBF2F 3D239534"
"FA509E70 AAC851AE 01AAC68D 62F86647"
"2660"
);
/* s */
test_ecdsa
(
&
nettle_curve25519
,
/* Public key corresponding to the key in ecdsa-sign-test */
" eb07d9c7931d614 2669124e12273e1f"
"b9f9555f52bed369 a71cdac173da0ceb"
,
/* x */
"2e726b0b1ff3abc4 d50798ebc246399e"
"365777c0900a0d5b 425f819278d4281d"
,
/* y */
SHEX
(
"e99df2a098c3c590 ea1e1db6d9547339"
"ae760d5331496119 5d967fd881e3b0f5"
),
/* h */
" 62cbc248a549765 3641d1cbedda2733"
"a7357821dca43727 d8081448d608030d"
,
/* r */
" 14726f472f44f84 63fe82c2712231cd"
"937f2aecdcfe9c39 e2ab0d68c390ccf4"
);
/* s */
}
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