1. 14 Jan, 2002 11 commits
    • Niels Möller's avatar
      * hmac-md5.c: First working version. · 2d0830f8
      Niels Möller authored
      * Makefile.am (libnettle_a_SOURCES): Added hmac.c and hmac-md5.c.
      (libnettleinclude_HEADERS): Added hmac.h.
      
      Rev: src/nettle/hmac-md5.c:1.2
      2d0830f8
    • Niels Möller's avatar
      (libnettle_a_SOURCES): Added hmac.c and hmac-md5.c. · 3eda2d42
      Niels Möller authored
      (libnettleinclude_HEADERS): Added hmac.h.
      
      Rev: src/nettle/Makefile.am:1.24
      3eda2d42
    • Niels Möller's avatar
      Also test a 777-bit key. · e2e1b5cf
      Niels Möller authored
      Rev: src/nettle/testsuite/rsa-test.c:1.2
      e2e1b5cf
    • Niels Möller's avatar
      * rsa.c (rsa_check_size): Changed argument to an mpz_t. Updated · 5c707978
      Niels Möller authored
      callers.
      (rsa_prepare_private_key): Compute the size of the key by
      computing n = p * q.
      
      * rsa.c (rsa_check_size): New function, for computing and checking
      the size of the modulo in octets.
      (rsa_prepare_public_key): Usa rsa_check_size.
      (rsa_init_private_key): Removed code handling n, e and d.
      (rsa_clear_private_key): Likewise.
      (rsa_compute_root): Always use CRT.
      
      Rev: src/nettle/rsa.c:1.5
      5c707978
    • Niels Möller's avatar
      *** empty log message *** · c608af6c
      Niels Möller authored
      Rev: src/nettle/testsuite/.cvsignore:1.13
      c608af6c
    • Niels Möller's avatar
      * rsa-compat.c: Adapted to new private key struct. · ecda782b
      Niels Möller authored
      Rev: src/nettle/testsuite/rsa-test.c:1.1
      ecda782b
    • 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
      bf2749fb
    • Niels Möller's avatar
      Adapted to new private key struct. · 917b9d20
      Niels Möller authored
      Rev: src/nettle/rsa-compat.c:1.4
      917b9d20
    • Niels Möller's avatar
      (rsa_check_size): New function, for computing and checking · 17c7e236
      Niels Möller authored
      the size of the modulo in octets.
      (rsa_prepare_public_key): Usa rsa_check_size.
      (rsa_init_private_key): Removed code handling n, e and d.
      (rsa_clear_private_key): Likewise.
      (rsa_compute_root): Always use CRT.
      
      Rev: src/nettle/rsa.c:1.4
      17c7e236
    • Niels Möller's avatar
      (struct rsa_private_key): Deleted public key and d from · 010df288
      Niels Möller authored
      the struct, as they are not needed. Added size attribute.
      
      Rev: src/nettle/rsa.h:1.6
      010df288
    • 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
  2. 12 Jan, 2002 6 commits
    • Niels Möller's avatar
      *** empty log message *** · 84ccbaa5
      Niels Möller authored
      Rev: src/nettle/.cvsignore:1.6
      Rev: src/nettle/ChangeLog:1.53
      84ccbaa5
    • Niels Möller's avatar
      Added *-meta files. · 5f4cca5a
      Niels Möller authored
      Rev: src/nettle/Makefile.am:1.23
      5f4cca5a
    • Niels Möller's avatar
      (rsa_init_public_key): New function. · 0fb4bd32
      Niels Möller authored
      (rsa_clear_public_key): Likewise.
      (rsa_init_private_key): Likewise.
      (rsa_clear_private_key): Likewise.
      
      Rev: src/nettle/rsa.c:1.3
      Rev: src/nettle/rsa.h:1.4
      0fb4bd32
    • Niels Möller's avatar
      Use the interface in nettle-meta.h. · 87e63ab1
      Niels Möller authored
      Rev: src/nettle/examples/nettle-benchmark.c:1.3
      Rev: src/nettle/nettle-meta.h:1.2
      87e63ab1
    • Niels Möller's avatar
      * aes-meta.c: New file. · 788920ec
      Niels Möller authored
      * arcfour-meta.c: New file.
      * cast128-meta.c: New file.
      * serpent-meta.c: New file.
      * twofish-meta.c: New file.
      
      Rev: src/nettle/aes-meta.c:1.1
      Rev: src/nettle/arcfour-meta.c:1.1
      Rev: src/nettle/cast128-meta.c:1.1
      Rev: src/nettle/serpent-meta.c:1.1
      Rev: src/nettle/twofish-meta.c:1.1
      788920ec
    • 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
  3. 11 Jan, 2002 1 commit
    • Niels Möller's avatar
      New files. · 7699f2d5
      Niels Möller authored
      Rev: src/nettle/hmac-md5.c:1.1
      Rev: src/nettle/hmac.c:1.1
      Rev: src/nettle/hmac.h:1.1
      Rev: src/nettle/md5-meta.c:1.1
      Rev: src/nettle/nettle-meta.h:1.1
      Rev: src/nettle/sha1-meta.c:1.1
      Rev: src/nettle/sha256-meta.c:1.1
      7699f2d5
  4. 09 Jan, 2002 11 commits
  5. 14 Dec, 2001 2 commits
  6. 12 Dec, 2001 4 commits
  7. 07 Dec, 2001 1 commit
  8. 05 Dec, 2001 4 commits