summaryrefslogtreecommitdiff
path: root/rsa.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2018-11-25 19:46:30 +0100
committerNiels Möller <nisse@lysator.liu.se>2018-11-25 19:46:30 +0100
commitdbaf6abb9ce830d74559d2eab13ca0799f3baeb8 (patch)
tree7d8951cd17bfa97caec3109e9eaee535ba6bbda7 /rsa.h
parentf2bbbc280212702e837c154d9c7b598ff795afd7 (diff)
downloadnettle-dbaf6abb9ce830d74559d2eab13ca0799f3baeb8.tar.gz
Move decl. of rsa_sec_compute_root_tr to internal header.
Also renamed with leading underscore, and updated all callers.
Diffstat (limited to 'rsa.h')
-rw-r--r--rsa.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/rsa.h b/rsa.h
index 108bc7da..0aac6a26 100644
--- a/rsa.h
+++ b/rsa.h
@@ -91,7 +91,6 @@ extern "C" {
#define rsa_sec_decrypt nettle_rsa_sec_decrypt
#define rsa_compute_root nettle_rsa_compute_root
#define rsa_compute_root_tr nettle_rsa_compute_root_tr
-#define rsa_sec_compute_root_tr _nettle_rsa_sec_compute_root_tr
#define rsa_generate_keypair nettle_rsa_generate_keypair
#define rsa_keypair_to_sexp nettle_rsa_keypair_to_sexp
#define rsa_keypair_from_sexp_alist nettle_rsa_keypair_from_sexp_alist
@@ -447,14 +446,6 @@ rsa_compute_root_tr(const struct rsa_public_key *pub,
void *random_ctx, nettle_random_func *random,
mpz_t x, const mpz_t m);
-/* Safe side-channel silent variant, using RSA blinding, and checking the
- * result after CRT. */
-int
-rsa_sec_compute_root_tr(const struct rsa_public_key *pub,
- const struct rsa_private_key *key,
- void *random_ctx, nettle_random_func *random,
- mp_limb_t *x, const mp_limb_t *m, size_t mn);
-
/* Key generation */
/* Note that the key structs must be initialized first. */