1. 25 May, 2010 1 commit
    • Niels Möller's avatar
      * testsuite/testutils.h (struct nettle_mac): New struct, currently · 71f687df
      Niels Möller authored
      unused.
      
      * testsuite/testutils.c (test_mac): New function (currently not
      used).
      (test_dsa): Replaced by two new functions...
      (test_dsa160): New function.
      (test_dsa256): New function.
      (test_dsa_key): New argument q_size.
      (DSA_VERIFY): Generalized.
      
      Rev: nettle/testsuite/testutils.c:1.7
      Rev: nettle/testsuite/testutils.h:1.4
      71f687df
  2. 30 Mar, 2010 1 commit
  3. 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
      c72c16b7
  4. 23 Mar, 2010 1 commit
  5. 01 Nov, 2008 1 commit
    • Niels Möller's avatar
      Moved all typedefs for function types to nettle-types.h. Use · e6782e05
      Niels Möller authored
      non-pointer types, so that the types can be used to declare functions.
      Updated all users.
      
      Rev: nettle/arcfour-meta.c:1.2
      Rev: nettle/cbc.h:1.2
      Rev: nettle/des-compat.c:1.2
      Rev: nettle/examples/nettle-benchmark.c:1.3
      Rev: nettle/examples/nettle-openssl.c:1.2
      Rev: nettle/examples/rsa-encrypt.c:1.2
      Rev: nettle/examples/rsa-keygen.c:1.2
      Rev: nettle/nettle-internal.c:1.2
      Rev: nettle/nettle-meta.h:1.2
      Rev: nettle/nettle-types.h:1.2
      Rev: nettle/testsuite/dsa-keygen-test.c:1.3
      Rev: nettle/testsuite/rsa-encrypt-test.c:1.3
      Rev: nettle/testsuite/rsa-keygen-test.c:1.3
      Rev: nettle/testsuite/testutils.c:1.3
      e6782e05
  6. 14 May, 2007 1 commit
  7. 27 Nov, 2006 1 commit
  8. 21 Nov, 2005 1 commit
  9. 10 Oct, 2005 1 commit
  10. 02 Jul, 2005 1 commit
  11. 01 Mar, 2004 1 commit
  12. 17 Feb, 2004 1 commit
  13. 07 Feb, 2004 1 commit
  14. 05 Feb, 2004 1 commit
    • Niels Möller's avatar
      * testsuite/arcfour-test.c (test_main): Use test_cipher_stream. · e2c15604
      Niels Möller authored
      * testsuite/testutils.c (test_cipher_stream): New function, that
      tries dividing the input into varying size blocks before
      processing.
      
      Rev: src/nettle/testsuite/arcfour-test.c:1.3
      Rev: src/nettle/testsuite/testutils.c:1.23
      Rev: src/nettle/testsuite/testutils.h:1.19
      e2c15604
  15. 01 Sep, 2003 1 commit
  16. 26 Aug, 2003 1 commit
  17. 21 Nov, 2002 1 commit
  18. 08 Nov, 2002 1 commit
  19. 30 Oct, 2002 1 commit
  20. 19 Oct, 2002 1 commit
  21. 09 Oct, 2002 3 commits
  22. 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
      38f04a78
  23. 29 Sep, 2002 1 commit
  24. 05 Mar, 2002 1 commit
  25. 14 Feb, 2002 1 commit
  26. 06 Feb, 2002 1 commit
    • Dan Egnor's avatar
      Applied patch from Dan Egnor improving the base64 code. · 55aa7d9d
      Dan Egnor authored and Niels Möller's avatar Niels Möller committed
      * base64.h (BASE64_ENCODE_LENGTH): New macro.
      (struct base64_ctx): New context struct, for decoding.
      (BASE64_DECODE_LENGTH): New macro.
      * base64.c (base64_decode_init): New function.
      (base64_decode_update): New function, replacing base64_decode.
      Takes a struct base64_ctx argument.
      * nettle-meta.h: Updated nettle_armor, and related typedefs and
      macros.
      * testsuite/testutils.c (test_armor): Updated.
      * configure.in: Use AC_PREREQ(2.50).
      
      Rev: src/nettle/testsuite/testutils.c:1.9
      55aa7d9d
  27. 22 Jan, 2002 1 commit
  28. 16 Jan, 2002 1 commit
  29. 14 Jan, 2002 1 commit
    • 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
      f9e3fbf9
  30. 12 Jan, 2002 1 commit
    • Niels Möller's avatar
      Don't use m4 for geneerating test programs, it's way overkill. Use · 9d4b4dfe
      Niels Möller authored
      	the C preprocessor instead.
      	* testsuite/*-test.c: New file.
      
      Rev: src/nettle/testsuite/.cvsignore:1.12
      Rev: src/nettle/testsuite/Makefile.am:1.17
      Rev: src/nettle/testsuite/aes-test.c:1.1
      Rev: src/nettle/testsuite/aes-test.m4:1.4(DEAD)
      Rev: src/nettle/testsuite/arcfour-test.c:1.1
      Rev: src/nettle/testsuite/arcfour-test.m4:1.2(DEAD)
      Rev: src/nettle/testsuite/bignum-test.c:1.1
      Rev: src/nettle/testsuite/bignum-test.m4:1.2(DEAD)
      Rev: src/nettle/testsuite/blowfish-test.c:1.1
      Rev: src/nettle/testsuite/blowfish-test.m4:1.5(DEAD)
      Rev: src/nettle/testsuite/cast128-test.c:1.1
      Rev: src/nettle/testsuite/cast128-test.m4:1.2(DEAD)
      Rev: src/nettle/testsuite/cbc-test.c:1.1
      Rev: src/nettle/testsuite/cbc-test.m4:1.3(DEAD)
      Rev: src/nettle/testsuite/des-test.c:1.1
      Rev: src/nettle/testsuite/des-test.m4:1.3(DEAD)
      Rev: src/nettle/testsuite/des3-test.c:1.1
      Rev: src/nettle/testsuite/des3-test.m4:1.3(DEAD)
      Rev: src/nettle/testsuite/macros.m4:1.3(DEAD)
      Rev: src/nettle/testsuite/md5-compat-test.c:1.1
      Rev: src/nettle/testsuite/md5-compat-test.m4:1.2(DEAD)
      Rev: src/nettle/testsuite/md5-test.c:1.1
      Rev: src/nettle/testsuite/md5-test.m4:1.4(DEAD)
      Rev: src/nettle/testsuite/serpent-test.c:1.1
      Rev: src/nettle/testsuite/serpent-test.m4:1.3(DEAD)
      Rev: src/nettle/testsuite/sha1-test.c:1.1
      Rev: src/nettle/testsuite/sha1-test.m4:1.4(DEAD)
      Rev: src/nettle/testsuite/sha256-test.c:1.1
      Rev: src/nettle/testsuite/sha256-test.m4:1.3(DEAD)
      Rev: src/nettle/testsuite/testutils.c:1.5
      Rev: src/nettle/testsuite/testutils.h:1.3
      Rev: src/nettle/testsuite/twofish-test.c:1.1
      Rev: src/nettle/testsuite/twofish-test.m4:1.3(DEAD)
      9d4b4dfe
  31. 03 Jul, 2001 1 commit
  32. 17 Jun, 2001 2 commits
  33. 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