diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | rsa-internal.h | 5 |
2 files changed, 6 insertions, 2 deletions
@@ -1,5 +1,8 @@ 2018-08-09 Niels Möller <nisse@lysator.liu.se> + * rsa-internal.h (_rsa_blind, _rsa_unblind): Mark with + _NETTLE_ATTRIBUTE_DEPRECATED. + * nettle-types.h (_NETTLE_ATTRIBUTE_PURE) (_NETTLE_ATTRIBUTE_DEPRECATED): New macros, for gcc and lookalikes. diff --git a/rsa-internal.h b/rsa-internal.h index 1f98f95f..5c97eaa1 100644 --- a/rsa-internal.h +++ b/rsa-internal.h @@ -61,8 +61,9 @@ _rsa_check_size(mpz_t n); void _rsa_blind (const struct rsa_public_key *pub, void *random_ctx, nettle_random_func *random, - mpz_t c, mpz_t ri); + mpz_t c, mpz_t ri) _NETTLE_ATTRIBUTE_DEPRECATED; void -_rsa_unblind (const struct rsa_public_key *pub, mpz_t c, const mpz_t ri); +_rsa_unblind (const struct rsa_public_key *pub, mpz_t c, const mpz_t ri) + _NETTLE_ATTRIBUTE_DEPRECATED; #endif /* NETTLE_RSA_INTERNAL_H_INCLUDED */ |