Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Nettle
nettle
Commits
e6a16d16
Commit
e6a16d16
authored
Nov 25, 2018
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed rsa-sec-compute-root-test --> rsa-compute-root-test.
parent
f9e3227f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
5 deletions
+8
-5
ChangeLog
ChangeLog
+3
-0
testsuite/.gitignore
testsuite/.gitignore
+1
-1
testsuite/.test-rules.make
testsuite/.test-rules.make
+2
-2
testsuite/Makefile.in
testsuite/Makefile.in
+1
-1
testsuite/rsa-compute-root-test.c
testsuite/rsa-compute-root-test.c
+1
-1
No files found.
ChangeLog
View file @
e6a16d16
2018-11-25 Niels Möller <nisse@lysator.liu.se>
* testsuite/rsa-compute-root-test.c: Renamed, from ...
* testsuite/rsa-sec-compute-root-test.c: ... old name.
* rsa.h (rsa_sec_compute_root_tr): Deleted declaration, moved to ...
* rsa-internal.h (_rsa_sec_compute_root_tr): ... new location.
* rsa-sign-tr.c (_rsa_sec_compute_root_tr): Renamed, from...
...
...
testsuite/.gitignore
View file @
e6a16d16
...
...
@@ -66,7 +66,7 @@
/random-prime-test
/ripemd160-test
/rsa-sec-decrypt-test
/rsa-
sec-
compute-root-test
/rsa-compute-root-test
/rsa-encrypt-test
/rsa-keygen-test
/rsa-pss-sign-tr-test
...
...
testsuite/.test-rules.make
View file @
e6a16d16
...
...
@@ -214,8 +214,8 @@ rsa-keygen-test$(EXEEXT): rsa-keygen-test.$(OBJEXT)
rsa-sec-decrypt-test$(EXEEXT)
:
rsa-sec-decrypt-test.$(OBJEXT)
$(LINK)
rsa-sec-decrypt-test.
$(OBJEXT)
$(TEST_OBJS)
-o
rsa-sec-decrypt-test
$(EXEEXT)
rsa-
sec-
compute-root-test$(EXEEXT)
:
rsa-
sec-
compute-root-test.$(OBJEXT)
$(LINK)
rsa-
sec-
compute-root-test.
$(OBJEXT)
$(TEST_OBJS)
-o
rsa-
sec-
compute-root-test
$(EXEEXT)
rsa-compute-root-test$(EXEEXT)
:
rsa-compute-root-test.$(OBJEXT)
$(LINK)
rsa-compute-root-test.
$(OBJEXT)
$(TEST_OBJS)
-o
rsa-compute-root-test
$(EXEEXT)
dsa-test$(EXEEXT)
:
dsa-test.$(OBJEXT)
$(LINK)
dsa-test.
$(OBJEXT)
$(TEST_OBJS)
-o
dsa-test
$(EXEEXT)
...
...
testsuite/Makefile.in
View file @
e6a16d16
...
...
@@ -41,7 +41,7 @@ TS_HOGWEED_SOURCES = sexp-test.c sexp-format-test.c \
pss-mgf1-test.c rsa-pss-sign-tr-test.c
\
rsa-test.c rsa-encrypt-test.c rsa-keygen-test.c
\
rsa-sec-decrypt-test.c
\
rsa-
sec-
compute-root-test.c
\
rsa-compute-root-test.c
\
dsa-test.c dsa-keygen-test.c
\
curve25519-dh-test.c
\
ecc-mod-test.c ecc-modinv-test.c ecc-redc-test.c
\
...
...
testsuite/rsa-
sec-
compute-root-test.c
→
testsuite/rsa-compute-root-test.c
View file @
e6a16d16
...
...
@@ -34,7 +34,7 @@ test_one (gmp_randstate_t *rands, struct rsa_public_key *pub,
mpz_powm
(
ciphertext
,
plaintext
,
pub
->
e
,
pub
->
n
);
rsa_compute_root_tr
(
pub
,
key
,
rands
,
random_fn
,
decrypted
,
ciphertext
);
if
(
mpz_cmp
(
plaintext
,
decrypted
))
{
fprintf
(
stderr
,
"rsa_
sec_
compute_root_tr failed
\n
"
);
fprintf
(
stderr
,
"rsa_compute_root_tr failed
\n
"
);
fprintf
(
stderr
,
"Public key: size=%lu
\n
n:"
,
pub
->
size
);
mpz_out_str
(
stderr
,
10
,
pub
->
n
);
...
...
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