1. 26 May, 2010 2 commits
    • Niels Möller's avatar
      * examples/random-prime.c (main): Allow sizes down to 3 bits. · 51b8c1e4
      Niels Möller authored
      Rev: nettle/examples/random-prime.c:1.2
      51b8c1e4
    • 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
      6ce825c7
  2. 25 May, 2010 6 commits
  3. 20 May, 2010 3 commits
  4. 09 Apr, 2010 13 commits
  5. 31 Mar, 2010 4 commits
  6. 30 Mar, 2010 3 commits
    • Niels Möller's avatar
      *** empty log message *** · 01d379c6
      Niels Möller authored
      Rev: nettle/ChangeLog:1.72
      01d379c6
    • Niels Möller's avatar
      (DSA_VERIFY): Updated for dsa_sha1_verify rename. · 3f4f7df3
      Niels Möller authored
      (test_dsa): Check return value from dsa_sha1_sign.
      
      Rev: nettle/testsuite/testutils.c:1.6
      3f4f7df3
    • 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
      function.
      (dsa_sha256_verify): New function.
      * dsa-sha256-sign.c (dsa_sha256_sign_digest): New file, new
      function.
      (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_verify.
      (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
      ed5015c3
  7. 29 Mar, 2010 5 commits
  8. 28 Mar, 2010 1 commit
  9. 27 Mar, 2010 3 commits