1. 01 Jun, 2010 1 commit
    • Niels Möller's avatar
      (_nettle_generate_pocklington_prime): New · f7695101
      Niels Möller authored
      argument top_bits_set, to optionally generate primes with the two
      most significant bits set. Reordered argument list.
      (nettle_random_prime): Likewise, added top_bits_set argument.
      Invoke progress callback when a prime is generated.
      
      Rev: nettle/bignum-random-prime.c:1.6
      Rev: nettle/bignum.h:1.7
      f7695101
  2. 26 May, 2010 2 commits
    • Niels Möller's avatar
      * bignum-random-prime.c (_nettle_generate_pocklington_prime): Also · 734dbdfa
      Niels Möller authored
      return the used r. Updated caller.
      
      Rev: nettle/bignum-random-prime.c:1.5
      Rev: nettle/bignum.h:1.6
      734dbdfa
    • 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
  3. 09 Apr, 2010 1 commit
  4. 15 Sep, 2008 1 commit
    • Niels Möller's avatar
      Reviewed FIXME-comments. · 7dcba661
      Niels Möller authored
      Rev: nettle/aes-decrypt-internal.c:1.2
      Rev: nettle/aes-encrypt-internal.c:1.2
      Rev: nettle/aes-internal.h:1.2
      Rev: nettle/arctwo.h:1.2
      Rev: nettle/base16-decode.c:1.2
      Rev: nettle/base16-encode.c:1.2
      Rev: nettle/base16.h:1.2
      Rev: nettle/base64.h:1.2
      Rev: nettle/bignum-random.c:1.2
      Rev: nettle/bignum.c:1.2
      Rev: nettle/bignum.h:1.3
      Rev: nettle/rsa-sign.c:1.3
      Rev: nettle/rsa-verify.c:1.3
      Rev: nettle/rsa.c:1.3
      Rev: nettle/rsa.h:1.2
      Rev: nettle/sexp-transport-format.c:1.2
      Rev: nettle/sexp.c:1.2
      Rev: nettle/sexp.h:1.2
      7dcba661
  5. 05 Jan, 2008 1 commit
  6. 24 Nov, 2006 1 commit
    • Niels Möller's avatar
      Added C++ guards. · 82cb285e
      Niels Möller authored
      Rev: src/nettle/aes.h:1.8
      Rev: src/nettle/arcfour.h:1.6
      Rev: src/nettle/arctwo.h:1.3
      Rev: src/nettle/asn1.h:1.3
      Rev: src/nettle/base16.h:1.4
      Rev: src/nettle/base64.h:1.15
      Rev: src/nettle/bignum.h:1.11
      Rev: src/nettle/blowfish.h:1.10
      Rev: src/nettle/buffer.h:1.6
      Rev: src/nettle/cast128.h:1.6
      Rev: src/nettle/cbc.h:1.9
      Rev: src/nettle/ctr.h:1.3
      Rev: src/nettle/des-compat.h:1.13
      Rev: src/nettle/des.h:1.11
      Rev: src/nettle/dsa.h:1.10
      Rev: src/nettle/hmac.h:1.6
      Rev: src/nettle/knuth-lfib.h:1.4
      Rev: src/nettle/md2.h:1.4
      Rev: src/nettle/md4.h:1.4
      Rev: src/nettle/md5-compat.h:1.3
      Rev: src/nettle/md5.h:1.9
      Rev: src/nettle/memxor.h:1.5
      Rev: src/nettle/nettle-meta.h:1.15
      Rev: src/nettle/nettle-types.h:1.2
      Rev: src/nettle/pgp.h:1.8
      Rev: src/nettle/pkcs1.h:1.4
      Rev: src/nettle/realloc.h:1.3
      Rev: src/nettle/rsa-compat.h:1.4
      Rev: src/nettle/rsa.h:1.26
      Rev: src/nettle/serpent.h:1.8
      Rev: src/nettle/sexp.h:1.18
      Rev: src/nettle/sha.h:1.7
      Rev: src/nettle/testsuite/testutils.h:1.24
      Rev: src/nettle/twofish.h:1.7
      Rev: src/nettle/yarrow.h:1.12
      82cb285e
  7. 20 Nov, 2005 1 commit
  8. 13 Nov, 2005 1 commit
  9. 07 Jan, 2004 1 commit
    • Niels Möller's avatar
      * nettle-types.h: New (generated) file, to be used instead of including · 121313f4
      Niels Möller authored
      <inttypes.h> directly. Updated all users of inttypes.h.
      
      Rev: src/nettle/aes.h:1.7
      Rev: src/nettle/aesdata.c:1.3
      Rev: src/nettle/arcfour.h:1.5
      Rev: src/nettle/base16.h:1.3
      Rev: src/nettle/base64.h:1.14
      Rev: src/nettle/bignum.h:1.8
      Rev: src/nettle/blowfish.h:1.9
      Rev: src/nettle/cast128.h:1.5
      Rev: src/nettle/cbc.h:1.5
      Rev: src/nettle/des.h:1.9
      Rev: src/nettle/dsa.h:1.9
      Rev: src/nettle/knuth-lfib.h:1.3
      Rev: src/nettle/md2.h:1.3
      Rev: src/nettle/md4.h:1.3
      Rev: src/nettle/md5.h:1.7
      Rev: src/nettle/memxor.h:1.3
      Rev: src/nettle/nettle-meta.h:1.11
      Rev: src/nettle/pkcs1.h:1.3
      Rev: src/nettle/realloc.h:1.2
      Rev: src/nettle/rsa.h:1.24
      Rev: src/nettle/serpent.h:1.7
      Rev: src/nettle/sexp.h:1.16
      Rev: src/nettle/sha.h:1.4
      Rev: src/nettle/twofish.h:1.6
      121313f4
  10. 30 Jan, 2003 1 commit
  11. 15 Nov, 2002 1 commit
    • Niels Möller's avatar
      (nettle_mpz_sizeinbase_256_s): New function. · 43152353
      Niels Möller authored
      (nettle_mpz_sizeinbase_256_u): New name, was
      nettle_mpz_sizeinbase_256.
      (nettle_mpz_to_octets): New function.
      (nettle_mpz_get_str_256): Handle negative numbers.
      (nettle_mpz_from_octets): New function.
      (nettle_mpz_set_str_256_u): New name, was nettle_mpz_set_str_256.
      (nettle_mpz_init_set_str_256_u): New name, was
      nettle_mpz_init_set_str_256.
      (nettle_mpz_set_str_256_s): New function, handling negative two's
      complement numbers.
      (nettle_mpz_init_set_str_256_s): And an init variant.
      
      Rev: src/nettle/bignum.c:1.5
      Rev: src/nettle/bignum.h:1.6
      43152353
  12. 07 Nov, 2002 1 commit
  13. 09 Oct, 2002 1 commit
  14. 29 Sep, 2002 1 commit
  15. 09 Jan, 2002 1 commit
  16. 30 Oct, 2001 1 commit
  17. 04 Oct, 2001 1 commit
    • Niels Möller's avatar
      New files. · c31a6ec5
      Niels Möller authored
      Rev: src/nettle/rsa-compat.h:1.1
      Rev: src/nettle/rsa.h:1.1
      Rev: src/nettle/yarrow.h:1.1
      c31a6ec5
  18. 05 Sep, 2001 1 commit
  19. 17 Jun, 2001 2 commits
    • Niels Möller's avatar
      *** empty log message *** · ef3668b2
      Niels Möller authored
      Rev: src/nettle/ChangeLog:1.10
      Rev: src/nettle/aes.h:1.4
      Rev: src/nettle/arcfour.h:1.3
      Rev: src/nettle/blowfish.h:1.7
      Rev: src/nettle/cast128.h:1.3
      Rev: src/nettle/des.h:1.4
      Rev: src/nettle/md5.h:1.3
      Rev: src/nettle/memxor.h:1.2
      Rev: src/nettle/serpent.h:1.5
      Rev: src/nettle/sha1.h:1.3
      Rev: src/nettle/twofish.h:1.4
      ef3668b2
    • Niels Möller's avatar
      Fixed copyright notice. · 63241173
      Niels Möller authored
      Rev: src/nettle/aes.c:1.3
      Rev: src/nettle/aes.h:1.3
      Rev: src/nettle/arcfour.c:1.2
      Rev: src/nettle/arcfour.h:1.2
      Rev: src/nettle/blowfish.h:1.5
      Rev: src/nettle/cast128.c:1.2
      Rev: src/nettle/cast128.h:1.2
      Rev: src/nettle/des.c:1.3
      Rev: src/nettle/des.h:1.3
      Rev: src/nettle/macros.h:1.3
      Rev: src/nettle/md5.c:1.2
      Rev: src/nettle/md5.h:1.2
      Rev: src/nettle/serpent.h:1.4
      Rev: src/nettle/sha1.c:1.3
      Rev: src/nettle/sha1.h:1.2
      Rev: src/nettle/twofish.c:1.3
      Rev: src/nettle/twofish.h:1.3
      63241173
  20. 12 Apr, 2001 1 commit
    • Niels Möller's avatar
      * Initial checkin. · 8ae5b576
      Niels Möller authored
      Rev: src/nettle/.bootstrap:1.1
      Rev: src/nettle/.c-style:1.1
      Rev: src/nettle/AUTHORS:1.1
      Rev: src/nettle/ChangeLog:1.1
      Rev: src/nettle/Makefile.am:1.1
      Rev: src/nettle/NEWS:1.1
      Rev: src/nettle/README:1.1
      Rev: src/nettle/aes.c:1.1
      Rev: src/nettle/aes.h:1.1
      Rev: src/nettle/arcfour.c:1.1
      Rev: src/nettle/arcfour.h:1.1
      Rev: src/nettle/configure.in:1.1
      Rev: src/nettle/macros.h:1.1
      Rev: src/nettle/md5.c:1.1
      Rev: src/nettle/md5.h:1.1
      Rev: src/nettle/memxor.c:1.1
      Rev: src/nettle/memxor.h:1.1
      Rev: src/nettle/testsuite/.c-style:1.1
      Rev: src/nettle/testsuite/Makefile.am:1.1
      Rev: src/nettle/testsuite/aes-test.m4:1.1
      Rev: src/nettle/testsuite/arcfour-test.m4:1.1
      Rev: src/nettle/testsuite/macros.m4:1.1
      Rev: src/nettle/testsuite/md5-test.m4:1.1
      Rev: src/nettle/testsuite/run-tests:1.1
      Rev: src/nettle/testsuite/testutils.c:1.1
      Rev: src/nettle/testsuite/testutils.h:1.1
      8ae5b576