1. 26 May, 2010 1 commit
    • Niels Möller's avatar
      (_nettle_generate_pocklington_prime): New · 6ce825c7
      Niels Möller authored
      function. Rely on mpz_probab_prime_p (for lack of a trial division
      function) for trial division.
      (nettle_random_prime): Rewritten. Uses the prime table for the
      smallest sizes, then trial division using a new set of tables, and
      then Maurer's algorithm, calling the new
      _nettle_generate_pocklington_prime for the final search.
      Rev: nettle/ChangeLog:1.80
      Rev: nettle/bignum-random-prime.c:1.4
      Rev: nettle/bignum.h:1.5
  2. 25 May, 2010 1 commit
  3. 20 May, 2010 1 commit
  4. 09 Apr, 2010 3 commits
  5. 31 Mar, 2010 2 commits
  6. 30 Mar, 2010 2 commits
    • Niels Möller's avatar
      *** empty log message *** · 01d379c6
      Niels Möller authored
      Rev: nettle/ChangeLog:1.72
    • Niels Möller's avatar
      * Makefile.in (hogweed_SOURCES): Added dsa-sha1-sign.c, · ed5015c3
      Niels Möller authored
      dsa-sha1-verify.c, dsa-sha256-sign.c, and dsa-sha256-verify.c.
      * dsa.h: Updated and added dsa declarations.
      * dsa-sha256-verify.c (dsa_sha256_verify_digest): New file, new
      (dsa_sha256_verify): New function.
      * dsa-sha256-sign.c (dsa_sha256_sign_digest): New file, new
      (dsa_sha256_sign): New function.
      * dsa-sha1-verify.c (dsa_sha1_verify_digest): New file. Moved and
      renamed function, from dsa_verify_digest, rewrote to use
      (dsa_sha1_verify): Analogous change, renamed from dsa_verify.
      * dsa-sha1-sign.c (dsa_sha1_sign_digest): New file. Moved and
      renamed function, from dsa_sign_digest, rewrote to use _dsa_sign,
      and added return value.
      (dsa_sha1_sign): Analogous change, renamed from dsa_sign.
      * dsa-verify.c (_dsa_verify): New general verification function,
      for any hash.
      * dsa-sign.c (_dsa_sign): New general signing function, for any
      hash. Returns success code, like the rsa signture functions.
      Rev: nettle/ChangeLog:1.71
      Rev: nettle/Makefile.in:1.22
      Rev: nettle/dsa-sha1-sign.c:1.1
      Rev: nettle/dsa-sha1-verify.c:1.1
      Rev: nettle/dsa-sha256-sign.c:1.1
      Rev: nettle/dsa-sha256-verify.c:1.1
      Rev: nettle/dsa-sign.c:1.3
      Rev: nettle/dsa-verify.c:1.3
      Rev: nettle/dsa.h:1.4
  7. 29 Mar, 2010 3 commits
  8. 28 Mar, 2010 1 commit
  9. 27 Mar, 2010 2 commits
  10. 26 Mar, 2010 2 commits
  11. 25 Mar, 2010 4 commits
  12. 24 Mar, 2010 5 commits
    • Niels Möller's avatar
      * sha512.c: (sha512_digest): Simplified handling of any final · a43c6468
      Niels Möller authored
      partial word of the digest.
      Rev: nettle/ChangeLog:1.58
      Rev: nettle/sha512.c:1.3
    • Niels Möller's avatar
      * sha512.c: Reorganized to use _nettle_sha512_compress. · d35e6f95
      Niels Möller authored
      * sha512-compress.c (_nettle_sha512_compress): Compression
      function extracted from sha512.c to a new file.
      * Makefile.in (nettle_SOURCES): Added sha256-compress.c and
      Rev: nettle/ChangeLog:1.57
      Rev: nettle/Makefile.in:1.18
      Rev: nettle/sha.h:1.4
      Rev: nettle/sha512-compress.c:1.1
      Rev: nettle/sha512.c:1.2
    • Niels Möller's avatar
      * Makefile.in (nettle_SOURCES): Added sha256-compress.c. · 343b4bad
      Niels Möller authored
      * sha256.c: Reorganized to use _nettle_sha256_compress.
      * sha256-compress.c (_nettle_sha256_compress): Compression
      function extracted from sha256.c to a new file.
      Rev: nettle/ChangeLog:1.56
      Rev: nettle/Makefile.in:1.17
      Rev: nettle/sha.h:1.3
      Rev: nettle/sha256-compress.c:1.1
      Rev: nettle/sha256.c:1.4
    • Niels Möller's avatar
      *** empty log message *** · 97aca948
      Niels Möller authored
      Rev: nettle/ChangeLog:1.55
    • 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
  13. 23 Mar, 2010 2 commits
    • Niels Möller's avatar
      *** empty log message *** · 7ccb9c4a
      Niels Möller authored
      Rev: nettle/ChangeLog:1.53
    • 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
  14. 22 Mar, 2010 2 commits
  15. 06 Mar, 2010 1 commit
  16. 20 Jan, 2010 1 commit
  17. 13 Jan, 2010 1 commit
    • Niels Möller's avatar
      * Makefile.in ($(LIBHOGWEED_FORLINK)): Depend on · fc0ca95a
      Niels Möller authored
      * configure.ac (LIBHOGWEED_LIBS): Added -lnettle -lgmp for the
      default case. Follows debian, and also makes dlopen of
      libhogweed.so work, without having to use RTLD_GLOBAL.
      (LIBHOGWEED_LINK): Added -L., to find our libnettle.so.
      Rev: nettle/ChangeLog:1.47
      Rev: nettle/Makefile.in:1.12
      Rev: nettle/configure.ac:1.12
  18. 21 Oct, 2009 1 commit
  19. 19 Oct, 2009 1 commit
    • Niels Möller's avatar
      * tools/pkcs1-conv.c: Updated for dsa/der interface change. · e218daf9
      Niels Möller authored
      * der2dsa.c (dsa_public_key_from_der_iterators): Split into two
      new functions...
      (dsa_params_from_der_iterator): New function.
      (dsa_public_key_from_der_iterator): New function.
      (dsa_openssl_private_key_from_der_iterator): Renamed, was
      (dsa_openssl_private_key_from_der): Likewise.
      * dsa.h: Corresponding changees to prototypes and #defines.
      Rev: nettle/ChangeLog:1.45
      Rev: nettle/der2dsa.c:1.3
      Rev: nettle/dsa.h:1.3
      Rev: nettle/tools/pkcs1-conv.c:1.3
  20. 12 Oct, 2009 3 commits
  21. 11 Oct, 2009 1 commit