Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Nettle
nettle
Commits
fbd97af9
Commit
fbd97af9
authored
Nov 20, 2005
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use rsa-sign to create signature.
Rev: src/nettle/examples/rsa-verify-test:1.2
parent
ecc49d8d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
examples/rsa-verify-test
examples/rsa-verify-test
+3
-5
No files found.
examples/rsa-verify-test
View file @
fbd97af9
...
...
@@ -7,11 +7,9 @@ fi
data
=
"
$srcdir
/nettle-benchmark.c"
if
[
-x
rsa-verify
]
;
then
if
./rsa-verify testkey.pub testsignature <
"
$data
"
;
then
:
else
exit
1
;
fi
./rsa-sign testkey <
"
$data
"
>
testsignature
\
&&
./rsa-verify testkey.pub testsignature <
"
$data
"
\
||
exit
1
;
# Try modifying the data
sed
s/128/129/ <
"
$data
"
>
testdata
...
...
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