1. 31 Oct, 2002 1 commit
  2. 30 Oct, 2002 12 commits
    • Niels Möller's avatar
      *** empty log message *** · 578681f0
      Niels Möller authored
      Rev: src/nettle/ChangeLog:1.138
      578681f0
    • Niels Möller's avatar
      * Makefile.am: Added base16 files. · ae5f5893
      Niels Möller authored
      Rev: src/nettle/Makefile.am:1.49
      ae5f5893
    • Niels Möller's avatar
      New tests for transport output. · 892c90d6
      Niels Möller authored
      Rev: src/nettle/examples/sexp-conv-test:1.5
      892c90d6
    • Niels Möller's avatar
      Deleted hex functions, moved to Nettle's · bb847280
      Niels Möller authored
      base16 files.
      (struct sexp_output): Represent the current encoding as a
      nettle_armor pointer and a state struct.
      (sexp_output_init): Deleted MODE argument. Now passed to functions
      that need it.
      (sexp_get_char): Updated to new base64 conventions.
      (sexp_get_base64_string): Likewise.
      (sexp_put_raw_char): New function.
      (sexp_put_newline): Use sexp_put_raw_char.
      (sexp_put_char): Use nettle_armor interface for encoding data.
      Use OUTPUT->coding_indent for line breaking, so the INDENT
      argument was deleted.
      (sexp_put_code_start): New function, replacing sexp_put_base64_start.
      (sexp_put_code_end): New function, replacing sexp_put_base64_end.
      (sexp_put_data): Deleted argument INDENT.
      (sexp_puts): Likewise.
      (sexp_put_length): Likewise.
      (sexp_put_list_start): Likewise.
      (sexp_put_list_end): Likewise.
      (sexp_put_display_start): Likewise.
      (sexp_put_display_end): Likewise.
      (sexp_put_string): Likewise. Also changed base64 handling.
      (sexp_convert_string): Deleted argument INDENT. New argument
      MODE_OUT.
      (sexp_convert_list): New argument MODE_OUT.
      (sexp_convert_file): Likewise.
      (sexp_convert_item): Likewise. Also handle output in transport
      mode.
      (match_argument): Simple string comparison.
      (main): Adapted to above changes.
      
      Rev: src/nettle/examples/sexp-conv.c:1.10
      bb847280
    • Niels Möller's avatar
      (test_armor): Allocate a larger buffer · dbe80bc1
      Niels Möller authored
      CHECK, to make decode_update happy. Updated to new base64
      conventions.
      
      Rev: src/nettle/testsuite/testutils.c:1.18
      dbe80bc1
    • Niels Möller's avatar
      (test_main): Fixed overlap test to not · b51a3803
      Niels Möller authored
      change the base64 before decoding. Updated to new base64
      conventions.
      
      Rev: src/nettle/testsuite/base64-test.c:1.4
      b51a3803
    • Niels Möller's avatar
      *** empty log message *** · 9f93d031
      Niels Möller authored
      Rev: src/nettle/testsuite/.cvsignore:1.21
      9f93d031
    • Niels Möller's avatar
      * testsuite/Makefile.am (TS_PROGS): Added base16-test. · 696f4d45
      Niels Möller authored
      * testsuite/base16-test.c: New test.
      
      Rev: src/nettle/testsuite/Makefile.am:1.27
      Rev: src/nettle/testsuite/base16-test.c:1.1
      696f4d45
    • Niels Möller's avatar
      (sexp_transport_iterator_first): Updated to new · 80575e82
      Niels Möller authored
      conventions for base64_decode_update and base64_decode_final.
      
      Rev: src/nettle/sexp-transport.c:1.2
      80575e82
    • Niels Möller's avatar
      Updated ascii armor declarations. New declaration · 878e1faf
      Niels Möller authored
      for nettle_base16.
      
      Rev: src/nettle/nettle-meta.h:1.9
      878e1faf
    • Niels Möller's avatar
      * base64-decode.c (base64_decode_single): Return -1 on error. · 4e9385d1
      Niels Möller authored
      Also keep track of the number of padding characters ('=') seen.
      (base64_decode_update): New argument dst_length. Return -1 on error.
      (base64_decode_status):  Renamed function...
      (base64_decode_final): ... to this.
      
      * base64.h (struct base64_decode_ctx): Deleted STATUS attribute.
      Added PADDING attribute.
      
      Rev: src/nettle/base64-decode.c:1.4
      Rev: src/nettle/base64.h:1.11
      4e9385d1
    • Niels Möller's avatar
      New files. · c31e934c
      Niels Möller authored
      Rev: src/nettle/base16-decode.c:1.1
      Rev: src/nettle/base16-encode.c:1.1
      Rev: src/nettle/base16-meta.c:1.1
      Rev: src/nettle/base16.h:1.1
      c31e934c
  3. 28 Oct, 2002 2 commits
  4. 26 Oct, 2002 3 commits
  5. 25 Oct, 2002 7 commits
  6. 24 Oct, 2002 2 commits
    • Niels Möller's avatar
      Doesn't need echo -n anymore. · 5724f1f2
      Niels Möller authored
      Rev: src/nettle/examples/sexp-conv-test:1.3
      5724f1f2
    • Niels Möller's avatar
      (die): New function. · f12ea3a6
      Niels Möller authored
      (struct sexp_input): Deleted field ITEM.
      (sexp_get_char): Die on failure, never return -1.
      (sexp_get_quoted_char): Likewise.
      (sexp_get_quoted_string): Die on failure, no returned value.
      (sexp_get_base64_string): Likewise.
      (sexp_get_token_string): Likewise.
      (sexp_get_string): Likewise.
      (sexp_get_string_length): Likewise.
      (sexp_get_token): Likewise.
      (sexp_convert_string): Adapted to sexp_get_token.
      (sexp_convert_list): Likewise.
      (sexp_convert_file): New function.
      (main): Use sexp_convert_file.
      
      Rev: src/nettle/examples/sexp-conv.c:1.4
      f12ea3a6
  7. 23 Oct, 2002 7 commits
  8. 22 Oct, 2002 6 commits