Commit e6a16d16 authored by Niels Möller's avatar Niels Möller

Renamed rsa-sec-compute-root-test --> rsa-compute-root-test.

parent f9e3227f
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...
......
......@@ -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
......
......@@ -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)
......
......@@ -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 \
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment