1. 15 Nov, 2002 5 commits
    • Niels Möller's avatar
      * bignum.c (nettle_mpz_sizeinbase_256_u): New name, was · 75fa6750
      Niels Möller authored
      nettle_mpz_sizeinbase_256. Updated all callers.
      
      Rev: src/nettle/bignum-random.c:1.2
      Rev: src/nettle/dsa-keygen.c:1.4
      Rev: src/nettle/dsa.c:1.3
      Rev: src/nettle/pgp-encode.c:1.3
      Rev: src/nettle/rsa-compat.c:1.5
      Rev: src/nettle/rsa-encrypt.c:1.3
      Rev: src/nettle/rsa_md5.c:1.7
      Rev: src/nettle/rsa_sha1.c:1.7
      75fa6750
    • Niels Möller's avatar
      (nettle_mpz_set_sexp): Use · d33e5b41
      Niels Möller authored
      nettle_mpz_set_str_256_s, to handle negative numbers correctly.
      
      Rev: src/nettle/sexp2bignum.c:1.2
      d33e5b41
    • Niels Möller's avatar
      (sexp_iterator_get_uint32): New function. · 899af3c0
      Niels Möller authored
      Rev: src/nettle/sexp.c:1.12
      Rev: src/nettle/sexp.h:1.9
      899af3c0
    • Niels Möller's avatar
      (sexp_vformat): For %i, output a leading zero when · f75832a1
      Niels Möller authored
      needed to get a correct, positive, sign. For %b, use
      nettle_mpz_sizeinbase_256_s, to handle negative numbers properly.
      
      Rev: src/nettle/sexp-format.c:1.4
      f75832a1
    • 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
  2. 13 Nov, 2002 1 commit
  3. 11 Nov, 2002 1 commit
  4. 10 Nov, 2002 7 commits
    • Niels Möller's avatar
      *** empty log message *** · 05db89b1
      Niels Möller authored
      Rev: src/nettle/ChangeLog:1.148
      05db89b1
    • Niels Möller's avatar
      Use input files without any trailing · ab31bf13
      Niels Möller authored
      newline character, in order to stress the end of file handling.
      
      Rev: src/nettle/testsuite/sexp-conv-test:1.3
      ab31bf13
    • Niels Möller's avatar
      * tools/sexp-conv.c (sexp_get_token_string): Fixed end of file · 35632b67
      Niels Möller authored
      handling.
      (sexp_get_string): Fixed end of encoding/end of file handling.
      (parse_options): Check for negative width and complain.
      
      Rev: src/nettle/tools/sexp-conv.c:1.3
      35632b67
    • Niels Möller's avatar
      *** empty log message *** · 8ada538c
      Niels Möller authored
      Rev: src/nettle/ChangeLog:1.147
      Rev: src/nettle/tools/.cvsignore:1.2
      8ada538c
    • Niels Möller's avatar
      Use supplied getopt. · e5380bdf
      Niels Möller authored
      (werror): New function.
      (sexp_output_hash_init): New function.
      (sexp_put_char): Made base64 linebreaking configurable.
      Implemented hashing.
      (sexp_put_code_start, sexp_put_code_end): Don't output any
      delimiters here.
      (sexp_put_string): Output base64 delimiters.
      (sexp_put_digest): New function.
      (sexp_convert_item): Output transport delimiters.
      (sexp_convert_file): Deleted function, folded with main.
      (parse_options): New function.
      (main): Implemented --hash and --once, needed by lsh-authorize.
      
      Rev: src/nettle/tools/sexp-conv.c:1.2
      e5380bdf
    • Niels Möller's avatar
      * sexp.h (struct sexp_iterator): New field start. · 1343434e
      Niels Möller authored
      * sexp.c (sexp_iterator_subexpr): New function.
      (sexp_iterator_parse): Initialize ITERATOR->start.
      
      Rev: src/nettle/sexp.c:1.11
      Rev: src/nettle/sexp.h:1.8
      1343434e
    • Niels Möller's avatar
      (sexp_vformat): Abort if format string contains · a8ff1805
      Niels Möller authored
      unhandled characters.
      
      Rev: src/nettle/sexp-format.c:1.3
      a8ff1805
  5. 08 Nov, 2002 5 commits
  6. 07 Nov, 2002 21 commits