]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Mark obsolete helpers _rsa_blind and _rsa_unblind as deprecated. attribute-deprecated
authorNiels Möller <nisse@lysator.liu.se>
Thu, 9 Aug 2018 20:00:03 +0000 (22:00 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Thu, 9 Aug 2018 20:00:03 +0000 (22:00 +0200)
ChangeLog
rsa-internal.h

index 8fa99a4740b7879efd7b4714fb1e559dc249d51d..83e96789f76bf48d3d6061c04084b3beffb5bab9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 1f98f95fd7e1ab34e85ac6fafb15205e47d401ff..5c97eaa13f3007f67a404f3f598965cb97958f70 100644 (file)
@@ -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 */