1. 14 May, 2007 1 commit
    • Niels Möller's avatar
      Don't use WITH_PUBLIC_KEY / WITH_HOGWEED, then Makefile sorts out · 9ce9c53e
      Niels Möller authored
      which files should be compiled.
      Rev: nettle/der2rsa.c:1.2
      Rev: nettle/dsa-keygen.c:1.2
      Rev: nettle/dsa-sign.c:1.2
      Rev: nettle/dsa-verify.c:1.2
      Rev: nettle/dsa.c:1.2
      Rev: nettle/pkcs1-rsa-md5.c:1.2
      Rev: nettle/pkcs1-rsa-sha1.c:1.2
      Rev: nettle/pkcs1-rsa-sha256.c:1.2
      Rev: nettle/pkcs1.c:1.2
      Rev: nettle/rsa-compat.c:1.2
      Rev: nettle/rsa-decrypt.c:1.2
      Rev: nettle/rsa-encrypt.c:1.2
      Rev: nettle/rsa-keygen.c:1.2
      Rev: nettle/rsa-md5-sign.c:1.2
      Rev: nettle/rsa-md5-verify.c:1.2
      Rev: nettle/rsa-sha1-sign.c:1.2
      Rev: nettle/rsa-sha1-verify.c:1.2
      Rev: nettle/rsa-sha256-sign.c:1.2
      Rev: nettle/rsa-sha256-verify.c:1.2
      Rev: nettle/rsa-sign.c:1.2
      Rev: nettle/rsa-verify.c:1.2
      Rev: nettle/rsa.c:1.2
      Rev: nettle/rsa2openpgp.c:1.2
      Rev: nettle/rsa2sexp.c:1.2
      Rev: nettle/sexp2dsa.c:1.2
      Rev: nettle/sexp2rsa.c:1.2
  2. 12 May, 2003 1 commit
    • Niels Möller's avatar
      * Reordered includes in most or all .c-files. All should now include · c5c15385
      Niels Möller authored
      Rev: src/nettle/ChangeLog:1.195
      Rev: src/nettle/aes-decrypt-table.c:1.4
      Rev: src/nettle/aes-decrypt.c:1.5
      Rev: src/nettle/aes-encrypt-table.c:1.4
      Rev: src/nettle/aes-encrypt.c:1.5
      Rev: src/nettle/aes-meta.c:1.3
      Rev: src/nettle/aes-set-decrypt-key.c:1.2
      Rev: src/nettle/aes-set-encrypt-key.c:1.2
      Rev: src/nettle/aes.c:1.12
      Rev: src/nettle/aesdata.c:1.2
      Rev: src/nettle/arcfour-meta.c:1.2
      Rev: src/nettle/arcfour.c:1.3
      Rev: src/nettle/base16-decode.c:1.2
      Rev: src/nettle/base16-encode.c:1.2
      Rev: src/nettle/base16-meta.c:1.3
      Rev: src/nettle/base64-decode.c:1.5
      Rev: src/nettle/base64-encode.c:1.3
      Rev: src/nettle/base64-meta.c:1.4
      Rev: src/nettle/bignum-random.c:1.3
      Rev: src/nettle/bignum.c:1.7
      Rev: src/nettle/blowfish.c:1.4
      Rev: src/nettle/buffer-init.c:1.3
      Rev: src/nettle/buffer.c:1.8
      Rev: src/nettle/cast128-meta.c:1.3
      Rev: src/nettle/cast128.c:1.4
      Rev: src/nettle/cbc.c:1.6
      Rev: src/nettle/des-compat.c:1.10
      Rev: src/nettle/des.c:1.7
      Rev: src/nettle/des3.c:1.2
      Rev: src/nettle/dsa-keygen.c:1.6
      Rev: src/nettle/dsa-sign.c:1.7
      Rev: src/nettle/dsa-verify.c:1.4
      Rev: src/nettle/dsa.c:1.5
      Rev: src/nettle/examples/io.c:1.4
      Rev: src/nettle/examples/nettle-benchmark.c:1.8
      Rev: src/nettle/examples/nettle-openssl.c:1.2
      Rev: src/nettle/examples/rsa-keygen.c:1.10
      Rev: src/nettle/examples/rsa-sign.c:1.5
      Rev: src/nettle/examples/rsa-verify.c:1.4
      Rev: src/nettle/hmac-md5.c:1.5
      Rev: src/nettle/hmac-sha1.c:1.2
      Rev: src/nettle/hmac-sha256.c:1.2
      Rev: src/nettle/hmac.c:1.4
      Rev: src/nettle/knuth-lfib.c:1.2
      Rev: src/nettle/md5-compat.c:1.3
      Rev: src/nettle/md5-meta.c:1.2
      Rev: src/nettle/md5.c:1.6
      Rev: src/nettle/memxor.c:1.2
      Rev: src/nettle/nettle-internal.c:1.3
      Rev: src/nettle/pgp-encode.c:1.4
      Rev: src/nettle/pkcs1-rsa-md5.c:1.2
      Rev: src/nettle/pkcs1-rsa-sha1.c:1.2
      Rev: src/nettle/pkcs1.c:1.2
      Rev: src/nettle/realloc.c:1.3
      Rev: src/nettle/rsa-compat.c:1.8
      Rev: src/nettle/rsa-decrypt.c:1.4
      Rev: src/nettle/rsa-encrypt.c:1.5
      Rev: src/nettle/rsa-keygen.c:1.5
      Rev: src/nettle/rsa-md5-sign.c:1.2
      Rev: src/nettle/rsa-md5-verify.c:1.2
      Rev: src/nettle/rsa-sha1-sign.c:1.2
      Rev: src/nettle/rsa-sha1-verify.c:1.2
      Rev: src/nettle/rsa-sign.c:1.3
      Rev: src/nettle/rsa-verify.c:1.2
      Rev: src/nettle/rsa.c:1.12
      Rev: src/nettle/rsa2openpgp.c:1.2
      Rev: src/nettle/rsa2sexp.c:1.7
      Rev: src/nettle/serpent-meta.c:1.2
      Rev: src/nettle/serpent.c:1.4
      Rev: src/nettle/sexp-format.c:1.9
      Rev: src/nettle/sexp-transport-format.c:1.2
      Rev: src/nettle/sexp-transport.c:1.4
      Rev: src/nettle/sexp.c:1.14
      Rev: src/nettle/sexp2bignum.c:1.5
      Rev: src/nettle/sexp2dsa.c:1.4
      Rev: src/nettle/sexp2rsa.c:1.11
      Rev: src/nettle/sha1-meta.c:1.2
      Rev: src/nettle/sha1.c:1.8
      Rev: src/nettle/sha256-meta.c:1.2
      Rev: src/nettle/sha256.c:1.3
      Rev: src/nettle/tools/input.c:1.2
      Rev: src/nettle/tools/misc.c:1.2
      Rev: src/nettle/tools/output.c:1.3
      Rev: src/nettle/tools/parse.c:1.2
      Rev: src/nettle/tools/sexp-conv.c:1.14
      Rev: src/nettle/twofish-meta.c:1.2
      Rev: src/nettle/twofish.c:1.6
      Rev: src/nettle/yarrow256.c:1.17
      Rev: src/nettle/yarrow_key_event.c:1.4
  3. 27 Jan, 2003 1 commit
    • Niels Möller's avatar
      * rsa-sign.c (rsa_private_key_init, rsa_private_key_clear) · d41a05cb
      Niels Möller authored
      (rsa_private_key_prepare): Renamed functions.
      * rsa.c (rsa_public_key_init, rsa_public_key_clear)
      (rsa_public_key_prepare): Renamed functions.
      Rev: src/nettle/NEWS:1.9
      Rev: src/nettle/rsa-sign.c:1.2
      Rev: src/nettle/rsa.c:1.11
      Rev: src/nettle/rsa.h:1.19
  4. 23 Jan, 2003 1 commit
    • Niels Möller's avatar
      * rsa_md5.c, rsa_sha1.c: Deleted files, contents spread over · 5e6440f0
      Niels Möller authored
      several files for signing and verification.
      * rsa-sign.c, rsa-sha1-verify.c, rsa-sha1-sign.c,
      rsa-md5-verify.c, rsa-md5-sign.c:  New files.
      * rsa-sha1-verify.c (rsa_sha1_verify_digest): New function.
      * rsa-sha1-sign.c (rsa_sha1_sign_digest):  New function.
      * rsa-md5-verify.c (rsa_md5_verify_digest):  New function.
      * rsa-md5-sign.c (rsa_md5_sign_digest):  New function.
      * rsa-verify.c (_rsa_verify): New file, new function.
      * rsa.c (_rsa_check_size): Renamed from rsa_check_size, and made
      non-static. Private key functions moved to rsa-sign.c.
      Rev: src/nettle/rsa-md5-sign.c:1.1
      Rev: src/nettle/rsa-md5-verify.c:1.1
      Rev: src/nettle/rsa-sha1-sign.c:1.1
      Rev: src/nettle/rsa-sha1-verify.c:1.1
      Rev: src/nettle/rsa-sign.c:1.1
      Rev: src/nettle/rsa-verify.c:1.1
      Rev: src/nettle/rsa.c:1.10
      Rev: src/nettle/rsa.h:1.18
  5. 09 Oct, 2002 1 commit
    • Niels Möller's avatar
      * rsa-decrypt.c (rsa_decrypt): Constification. · 6322f02b
      Niels Möller authored
      * rsa-encrypt.c (rsa_encrypt): Likewise.
      * rsa.c (rsa_compute_root): Likewise.
      * rsa_md5.c (rsa_md5_sign): Likewise.
      (rsa_md5_verify): Likewise.
      * rsa_sha1.c (rsa_sha1_sign): Likewise.
      (rsa_sha1_verify): Likewise.
      Rev: src/nettle/rsa-decrypt.c:1.2
      Rev: src/nettle/rsa-encrypt.c:1.2
      Rev: src/nettle/rsa.c:1.9
      Rev: src/nettle/rsa.h:1.15
      Rev: src/nettle/rsa_md5.c:1.6
      Rev: src/nettle/rsa_sha1.c:1.6
  6. 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
  7. 16 Jan, 2002 1 commit
  8. 14 Jan, 2002 3 commits
    • Niels Möller's avatar
      * rsa.c (rsa_init_private_key, rsa_clear_private_key): Handle d. · d47dccb1
      Niels Möller authored
      * rsa.c (rsa_check_size): Changed argument to an mpz_t. Updated
      (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.6
    • Niels Möller's avatar
      * rsa.c (rsa_check_size): Changed argument to an mpz_t. Updated · 5c707978
      Niels Möller authored
      (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
    • 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
  9. 12 Jan, 2002 1 commit
    • 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
  10. 09 Jan, 2002 1 commit
    • Niels Möller's avatar
      * rsa_md5.c: Represent a signature as an mpz_t, not a string. · 6e0c5d8e
      Niels Möller authored
      Updated calls of md5 functions.
      * rsa_sha1.c: Likewise.
      * rsa.c (rsa_prepare_public_key): Renamed function, was
      (rsa_prepare_private_key): Renamed function, was
      Rev: src/nettle/rsa.c:1.2
      Rev: src/nettle/rsa.h:1.3
      Rev: src/nettle/rsa_md5.c:1.2
      Rev: src/nettle/rsa_sha1.c:1.2
  11. 30 Oct, 2001 1 commit