]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Renamed rsa-sec-compute-root-test --> rsa-compute-root-test.
authorNiels Möller <nisse@lysator.liu.se>
Sun, 25 Nov 2018 19:29:07 +0000 (20:29 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Sun, 25 Nov 2018 19:29:07 +0000 (20:29 +0100)
ChangeLog
testsuite/.gitignore
testsuite/.test-rules.make
testsuite/Makefile.in
testsuite/rsa-compute-root-test.c [moved from testsuite/rsa-sec-compute-root-test.c with 98% similarity]

index 11d55ed0e7fa3c55e71ded82b859db068c4e890a..8575ecd30c03aeee72d4e76381fbf0ab910e561a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 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...
index b140ee3476cb3e9de02402acd8dc2b51c169e80a..f98a949af87ccff9989517e859893806399ccf6b 100644 (file)
@@ -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
index 9b329b5f923ae6ade471fd2fcc5a663980b1f9fb..82270e970db415b738c5d9b8e580e8f044f0e5b0 100644 (file)
@@ -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)
index 5a4174e9acbf5fd17381dc02121be739285b9556..100997fabd9a112fb80e25323979649ed2312730 100644 (file)
@@ -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 \
similarity index 98%
rename from testsuite/rsa-sec-compute-root-test.c
rename to testsuite/rsa-compute-root-test.c
index baaa7ff4530fc1b1c300660dad21af5e90cc8875..3c20e45adab0199522a48e56b42b0143cf6d02b5 100644 (file)
@@ -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);