diff options
author | Niels Möller <nisse@lysator.liu.se> | 2018-11-25 19:46:30 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2018-11-25 19:46:30 +0100 |
commit | dbaf6abb9ce830d74559d2eab13ca0799f3baeb8 (patch) | |
tree | 7d8951cd17bfa97caec3109e9eaee535ba6bbda7 /rsa.h | |
parent | f2bbbc280212702e837c154d9c7b598ff795afd7 (diff) | |
download | nettle-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.h | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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. */ |