1. 07 Jul, 2018 1 commit
    • Nikos Mavrogiannopoulos's avatar
      abi: explicitly export intended symbols and hide others · da81c86a
      Nikos Mavrogiannopoulos authored
      This adds all exported symbols in the map files explicitly under
      the following rules:
       - Symbols mentioned in internal headers go in a section which is
         valid only for testing, and linking with these symbols will break
         in library updates.
       - Symbols mentioned in installed headers go in the exported sections
         and are considered part of the ABI.
       - All internal symbols move to internal headers.
       - The _nettle_md5_compress and _nettle_sha1_compress become exported
         without the _nettle prefix, due to existing usage.
  2. 12 Apr, 2014 1 commit
  3. 15 Dec, 2013 1 commit
  4. 26 Apr, 2013 1 commit
  5. 07 Jul, 2012 1 commit
  6. 25 Jun, 2012 1 commit
  7. 03 Jun, 2012 1 commit
  8. 23 Apr, 2012 1 commit
  9. 18 Feb, 2012 1 commit
  10. 24 Mar, 2010 1 commit
    • Niels Möller's avatar
      Interface change, let all rsa signature functions have a return value. · c72c16b7
      Niels Möller authored
      Rev: nettle/ChangeLog:1.54
      Rev: nettle/NEWS:1.4
      Rev: nettle/examples/rsa-sign.c:1.2
      Rev: nettle/pgp-encode.c:1.3
      Rev: nettle/pkcs1-rsa-md5.c:1.3
      Rev: nettle/pkcs1-rsa-sha1.c:1.3
      Rev: nettle/pkcs1-rsa-sha256.c:1.3
      Rev: nettle/pkcs1-rsa-sha512.c:1.2
      Rev: nettle/pkcs1.c:1.3
      Rev: nettle/pkcs1.h:1.3
      Rev: nettle/rsa-compat.c:1.3
      Rev: nettle/rsa-md5-sign.c:1.3
      Rev: nettle/rsa-md5-verify.c:1.3
      Rev: nettle/rsa-sha1-sign.c:1.3
      Rev: nettle/rsa-sha1-verify.c:1.3
      Rev: nettle/rsa-sha256-sign.c:1.3
      Rev: nettle/rsa-sha256-verify.c:1.3
      Rev: nettle/rsa-sha512-sign.c:1.2
      Rev: nettle/rsa-sha512-verify.c:1.2
      Rev: nettle/rsa.h:1.4
      Rev: nettle/testsuite/cxx-test.cxx:1.3
      Rev: nettle/testsuite/pkcs1-test.c:1.3
      Rev: nettle/testsuite/testutils.c:1.5
  11. 23 Mar, 2010 1 commit
    • Niels Möller's avatar
      * Makefile.in (hogweed_SOURCES): Added pkcs1-rsa-sha512.c, · 3eebb3fd
      Niels Möller authored
      rsa-sha512-sign.c and rsa-sha512-verify.c.
      * rsa.h: Added prototypes for sha512-related functions.
      * pkcs1.h: Added prototypes for sha512-related functions.
      * rsa-sha512-verify.c: New file.
      * rsa-sha512-sign.c: New file.
      * pkcs1-rsa-sha512.c: New file.
      Rev: nettle/ChangeLog:1.52
      Rev: nettle/Makefile.in:1.16
      Rev: nettle/pkcs1-rsa-sha512.c:1.1
      Rev: nettle/pkcs1.h:1.2
      Rev: nettle/rsa-sha512-sign.c:1.1
      Rev: nettle/rsa-sha512-verify.c:1.1
      Rev: nettle/rsa.h:1.3
  12. 14 May, 2007 1 commit
    • Niels Möller's avatar
      Don't use WITH_PUBLIC_KEY / WITH_HOGWEED, then Makefile sorts out · 9ce9c53e
      Niels Möller authored
      which files should be compiled.
      Rev: nettle/der2rsa.c:1.2
      Rev: nettle/dsa-keygen.c:1.2
      Rev: nettle/dsa-sign.c:1.2
      Rev: nettle/dsa-verify.c:1.2
      Rev: nettle/dsa.c:1.2
      Rev: nettle/pkcs1-rsa-md5.c:1.2
      Rev: nettle/pkcs1-rsa-sha1.c:1.2
      Rev: nettle/pkcs1-rsa-sha256.c:1.2
      Rev: nettle/pkcs1.c:1.2
      Rev: nettle/rsa-compat.c:1.2
      Rev: nettle/rsa-decrypt.c:1.2
      Rev: nettle/rsa-encrypt.c:1.2
      Rev: nettle/rsa-keygen.c:1.2
      Rev: nettle/rsa-md5-sign.c:1.2
      Rev: nettle/rsa-md5-verify.c:1.2
      Rev: nettle/rsa-sha1-sign.c:1.2
      Rev: nettle/rsa-sha1-verify.c:1.2
      Rev: nettle/rsa-sha256-sign.c:1.2
      Rev: nettle/rsa-sha256-verify.c:1.2
      Rev: nettle/rsa-sign.c:1.2
      Rev: nettle/rsa-verify.c:1.2
      Rev: nettle/rsa.c:1.2
      Rev: nettle/rsa2openpgp.c:1.2
      Rev: nettle/rsa2sexp.c:1.2
      Rev: nettle/sexp2dsa.c:1.2
      Rev: nettle/sexp2rsa.c:1.2
  13. 27 Nov, 2006 1 commit
    • Niels Möller's avatar
      New files. · 81a88203
      Niels Möller authored
      Rev: src/nettle/pkcs1-rsa-sha256.c:1.1
      Rev: src/nettle/rsa-sha256-sign.c:1.1
      Rev: src/nettle/rsa-sha256-verify.c:1.1
  14. 26 Sep, 2005 1 commit
  15. 08 Jan, 2004 1 commit
    • Niels Möller's avatar
      (TMP_DECL, TMP_ALLOC): New macros. When alloca is unavailable, they · 21ee1904
      Niels Möller authored
      work by allocating a fix amount of stack and imposing a hard limit on
      what can be allocated. Updated all users of alloca.
      Rev: src/nettle/bignum-random.c:1.4
      Rev: src/nettle/cbc.c:1.8
      Rev: src/nettle/dsa-keygen.c:1.7
      Rev: src/nettle/hmac.c:1.6
      Rev: src/nettle/pkcs1-rsa-md5.c:1.3
      Rev: src/nettle/pkcs1-rsa-sha1.c:1.3
      Rev: src/nettle/rsa-decrypt.c:1.5
      Rev: src/nettle/rsa-encrypt.c:1.8
      Rev: src/nettle/sexp.c:1.15
  16. 12 May, 2003 1 commit
    • Niels Möller's avatar
      * Reordered includes in most or all .c-files. All should now include · c5c15385
      Niels Möller authored
      Rev: src/nettle/ChangeLog:1.195
      Rev: src/nettle/aes-decrypt-table.c:1.4
      Rev: src/nettle/aes-decrypt.c:1.5
      Rev: src/nettle/aes-encrypt-table.c:1.4
      Rev: src/nettle/aes-encrypt.c:1.5
      Rev: src/nettle/aes-meta.c:1.3
      Rev: src/nettle/aes-set-decrypt-key.c:1.2
      Rev: src/nettle/aes-set-encrypt-key.c:1.2
      Rev: src/nettle/aes.c:1.12
      Rev: src/nettle/aesdata.c:1.2
      Rev: src/nettle/arcfour-meta.c:1.2
      Rev: src/nettle/arcfour.c:1.3
      Rev: src/nettle/base16-decode.c:1.2
      Rev: src/nettle/base16-encode.c:1.2
      Rev: src/nettle/base16-meta.c:1.3
      Rev: src/nettle/base64-decode.c:1.5
      Rev: src/nettle/base64-encode.c:1.3
      Rev: src/nettle/base64-meta.c:1.4
      Rev: src/nettle/bignum-random.c:1.3
      Rev: src/nettle/bignum.c:1.7
      Rev: src/nettle/blowfish.c:1.4
      Rev: src/nettle/buffer-init.c:1.3
      Rev: src/nettle/buffer.c:1.8
      Rev: src/nettle/cast128-meta.c:1.3
      Rev: src/nettle/cast128.c:1.4
      Rev: src/nettle/cbc.c:1.6
      Rev: src/nettle/des-compat.c:1.10
      Rev: src/nettle/des.c:1.7
      Rev: src/nettle/des3.c:1.2
      Rev: src/nettle/dsa-keygen.c:1.6
      Rev: src/nettle/dsa-sign.c:1.7
      Rev: src/nettle/dsa-verify.c:1.4
      Rev: src/nettle/dsa.c:1.5
      Rev: src/nettle/examples/io.c:1.4
      Rev: src/nettle/examples/nettle-benchmark.c:1.8
      Rev: src/nettle/examples/nettle-openssl.c:1.2
      Rev: src/nettle/examples/rsa-keygen.c:1.10
      Rev: src/nettle/examples/rsa-sign.c:1.5
      Rev: src/nettle/examples/rsa-verify.c:1.4
      Rev: src/nettle/hmac-md5.c:1.5
      Rev: src/nettle/hmac-sha1.c:1.2
      Rev: src/nettle/hmac-sha256.c:1.2
      Rev: src/nettle/hmac.c:1.4
      Rev: src/nettle/knuth-lfib.c:1.2
      Rev: src/nettle/md5-compat.c:1.3
      Rev: src/nettle/md5-meta.c:1.2
      Rev: src/nettle/md5.c:1.6
      Rev: src/nettle/memxor.c:1.2
      Rev: src/nettle/nettle-internal.c:1.3
      Rev: src/nettle/pgp-encode.c:1.4
      Rev: src/nettle/pkcs1-rsa-md5.c:1.2
      Rev: src/nettle/pkcs1-rsa-sha1.c:1.2
      Rev: src/nettle/pkcs1.c:1.2
      Rev: src/nettle/realloc.c:1.3
      Rev: src/nettle/rsa-compat.c:1.8
      Rev: src/nettle/rsa-decrypt.c:1.4
      Rev: src/nettle/rsa-encrypt.c:1.5
      Rev: src/nettle/rsa-keygen.c:1.5
      Rev: src/nettle/rsa-md5-sign.c:1.2
      Rev: src/nettle/rsa-md5-verify.c:1.2
      Rev: src/nettle/rsa-sha1-sign.c:1.2
      Rev: src/nettle/rsa-sha1-verify.c:1.2
      Rev: src/nettle/rsa-sign.c:1.3
      Rev: src/nettle/rsa-verify.c:1.2
      Rev: src/nettle/rsa.c:1.12
      Rev: src/nettle/rsa2openpgp.c:1.2
      Rev: src/nettle/rsa2sexp.c:1.7
      Rev: src/nettle/serpent-meta.c:1.2
      Rev: src/nettle/serpent.c:1.4
      Rev: src/nettle/sexp-format.c:1.9
      Rev: src/nettle/sexp-transport-format.c:1.2
      Rev: src/nettle/sexp-transport.c:1.4
      Rev: src/nettle/sexp.c:1.14
      Rev: src/nettle/sexp2bignum.c:1.5
      Rev: src/nettle/sexp2dsa.c:1.4
      Rev: src/nettle/sexp2rsa.c:1.11
      Rev: src/nettle/sha1-meta.c:1.2
      Rev: src/nettle/sha1.c:1.8
      Rev: src/nettle/sha256-meta.c:1.2
      Rev: src/nettle/sha256.c:1.3
      Rev: src/nettle/tools/input.c:1.2
      Rev: src/nettle/tools/misc.c:1.2
      Rev: src/nettle/tools/output.c:1.3
      Rev: src/nettle/tools/parse.c:1.2
      Rev: src/nettle/tools/sexp-conv.c:1.14
      Rev: src/nettle/twofish-meta.c:1.2
      Rev: src/nettle/twofish.c:1.6
      Rev: src/nettle/yarrow256.c:1.17
      Rev: src/nettle/yarrow_key_event.c:1.4
  17. 23 Jan, 2003 1 commit
    • Niels Möller's avatar
      New files. · 97453327
      Niels Möller authored
      (pkcs1_signature_prefix): New function.
      Rev: src/nettle/pkcs1-rsa-md5.c:1.1
      Rev: src/nettle/pkcs1-rsa-sha1.c:1.1
      Rev: src/nettle/pkcs1.c:1.1
      Rev: src/nettle/pkcs1.h:1.1
  18. 15 Nov, 2002 1 commit
    • Niels Möller's avatar
      * bignum.c (nettle_mpz_sizeinbase_256_u): New name, was · 75fa6750
      Niels Möller authored
      nettle_mpz_sizeinbase_256. Updated all callers.
      Rev: src/nettle/bignum-random.c:1.2
      Rev: src/nettle/dsa-keygen.c:1.4
      Rev: src/nettle/dsa.c:1.3
      Rev: src/nettle/pgp-encode.c:1.3
      Rev: src/nettle/rsa-compat.c:1.5
      Rev: src/nettle/rsa-encrypt.c:1.3
      Rev: src/nettle/rsa_md5.c:1.7
      Rev: src/nettle/rsa_sha1.c:1.7
  19. 09 Oct, 2002 1 commit
    • Niels Möller's avatar
      * rsa-decrypt.c (rsa_decrypt): Constification. · 6322f02b
      Niels Möller authored
      * rsa-encrypt.c (rsa_encrypt): Likewise.
      * rsa.c (rsa_compute_root): Likewise.
      * rsa_md5.c (rsa_md5_sign): Likewise.
      (rsa_md5_verify): Likewise.
      * rsa_sha1.c (rsa_sha1_sign): Likewise.
      (rsa_sha1_verify): Likewise.
      Rev: src/nettle/rsa-decrypt.c:1.2
      Rev: src/nettle/rsa-encrypt.c:1.2
      Rev: src/nettle/rsa.c:1.9
      Rev: src/nettle/rsa.h:1.15
      Rev: src/nettle/rsa_md5.c:1.6
      Rev: src/nettle/rsa_sha1.c:1.6
  20. 01 Oct, 2002 1 commit
    • Niels Möller's avatar
      New define WITH_PUBLIC_KEY, and new configure flag · 38f04a78
      Niels Möller authored
      --disable-public-key. Updated rsa-files to check for that, rather
      than for HAVE_LIBGMP.
      Rev: src/nettle/rsa-keygen.c:1.3
      Rev: src/nettle/rsa.c:1.8
      Rev: src/nettle/rsa2sexp.c:1.2
      Rev: src/nettle/rsa_md5.c:1.5
      Rev: src/nettle/rsa_sha1.c:1.5
      Rev: src/nettle/sexp2rsa.c:1.3
      Rev: src/nettle/testsuite/rsa-keygen-test.c:1.4
      Rev: src/nettle/testsuite/rsa-test.c:1.5
      Rev: src/nettle/testsuite/rsa2sexp-test.c:1.2
      Rev: src/nettle/testsuite/sexp2rsa-test.c:1.2
      Rev: src/nettle/testsuite/testutils.c:1.13
      Rev: src/nettle/testsuite/testutils.h:1.11
  21. 14 Jan, 2002 2 commits
    • Niels Möller's avatar
      * rsa-compat.c: Adapted to new private key struct. · bf2749fb
      Niels Möller authored
      * rsa_md5.c: Likesize.
      * rsa_sha1.c: Likesize.
      Rev: src/nettle/rsa_md5.c:1.4
      Rev: src/nettle/rsa_sha1.c:1.4
    • Niels Möller's avatar
      rsa.h is now obsolete. · f9e3fbf9
      Niels Möller authored
      Rev: src/nettle/hmac-md5.h:1.1
      Rev: src/nettle/rsa.h:1.5
      Rev: src/nettle/rsa_md5.c:1.3
      Rev: src/nettle/rsa_sha1.c:1.3
      Rev: src/nettle/testsuite/Makefile.am:1.18
      Rev: src/nettle/testsuite/aes-test.c:1.2
      Rev: src/nettle/testsuite/arcfour-test.c:1.2
      Rev: src/nettle/testsuite/bignum-test.c:1.2
      Rev: src/nettle/testsuite/blowfish-test.c:1.2
      Rev: src/nettle/testsuite/cast128-test.c:1.2
      Rev: src/nettle/testsuite/cbc-test.c:1.2
      Rev: src/nettle/testsuite/des-compat-test.c:1.3
      Rev: src/nettle/testsuite/des-test.c:1.2
      Rev: src/nettle/testsuite/des3-test.c:1.2
      Rev: src/nettle/testsuite/md5-compat-test.c:1.2
      Rev: src/nettle/testsuite/md5-test.c:1.2
      Rev: src/nettle/testsuite/serpent-test.c:1.2
      Rev: src/nettle/testsuite/sha1-test.c:1.2
      Rev: src/nettle/testsuite/sha256-test.c:1.2
      Rev: src/nettle/testsuite/testutils.c:1.6
      Rev: src/nettle/testsuite/testutils.h:1.4
      Rev: src/nettle/testsuite/twofish-test.c:1.2
      Rev: src/nettle/testsuite/yarrow-test.c:1.11
  22. 09 Jan, 2002 1 commit
    • Niels Möller's avatar
      * rsa_md5.c: Represent a signature as an mpz_t, not a string. · 6e0c5d8e
      Niels Möller authored
      Updated calls of md5 functions.
      * rsa_sha1.c: Likewise.
      * rsa.c (rsa_prepare_public_key): Renamed function, was
      (rsa_prepare_private_key): Renamed function, was
      Rev: src/nettle/rsa.c:1.2
      Rev: src/nettle/rsa.h:1.3
      Rev: src/nettle/rsa_md5.c:1.2
      Rev: src/nettle/rsa_sha1.c:1.2
  23. 30 Oct, 2001 1 commit