1. 01 Nov, 2002 7 commits
  2. 31 Oct, 2002 8 commits
    • Niels Möller's avatar
      *** empty log message *** · d8882d54
      Niels Möller authored
      Rev: src/nettle/ChangeLog:1.139
      d8882d54
    • Niels Möller's avatar
      * examples/sexp-conv.c(sexp_put_list_start): Deleted function. · 0e2e530f
      Niels Möller authored
      (sexp_put_list_end): Likewise.
      (sexp_put_display_start): Likewise.
      (sexp_put_display_end): Likewise.
      (sexp_puts): Likewise.
      
      Rev: src/nettle/examples/sexp-conv.c:1.15
      0e2e530f
    • Niels Möller's avatar
      Some reorder of the functions. · 3596546f
      Niels Möller authored
      Rev: src/nettle/examples/sexp-conv.c:1.14
      3596546f
    • Niels Möller's avatar
      * examples/sexp-conv.c (sexp_get_quoted_string): Deleted function. · dbad519e
      Niels Möller authored
      Merged with sexp_get_String.
      (sexp_get_hex_string): Likewise.
      (sexp_get_base64_string): Likewise.
      (sexp_get_string): Do hex and base64 decoding.
      
      Rev: src/nettle/examples/sexp-conv.c:1.13
      dbad519e
    • Niels Möller's avatar
      Added test for transport mode input. · 6b1d6abf
      Niels Möller authored
      Rev: src/nettle/examples/sexp-conv-test:1.6
      6b1d6abf
    • Niels Möller's avatar
      * examples/sexp-conv.c (enum sexp_char_type): New enum, for end · fb9cd7d7
      Niels Möller authored
      markers in the input strem.
      (struct sexp_input): Deleted LEVEL attribute. Deleted all usage of
      it.
      (sexp_get_raw_char): Use INPUT->c and INPUT->ctype to store
      results. Deleted OUT argument.
      (sexp_get_char): Likewise. Also removed the
      INPUT->coding->decode_final call, for symmetry.
      (sexp_input_end_coding): Call INPUT->coding->decode_final.
      (sexp_next_char): New function.
      (sexp_push_char): New function.
      (sexp_get_token_char): Deleted function.
      (sexp_get_quoted_char): Simplified. Deleted output argument.
      (sexp_get_quoted_string): Simplified.
      (sexp_get_base64_string): Likewise.
      (sexp_get_token_string): Likewise.
      (sexp_get_string_length): Skip the character that terminates the
      string.
      (sexp_get_token): Cleared upp calling conventions. Always consume
      the final character of the token.
      (sexp_convert_list): Take responsibility for converting the start
      and end of the list.
      (sexp_convert_file): Call sexp_get_char first, to get the token
      reading started.
      (sexp_convert_item): Cleared up calling conventions. Should be
      called with INPUT->token being the first token of the expression,
      and returns with INPUT->token being the final token of the
      expression. Return value changed to void..
      
      Rev: src/nettle/examples/sexp-conv.c:1.12
      fb9cd7d7
    • Niels Möller's avatar
      (sexp_get_char): Use the nettle_armor · 2049dbed
      Niels Möller authored
      interface for decoding.
      (sexp_input_start_coding): New function.
      (sexp_input_end_coding): New function.
      (sexp_get_base64_string): Rewrote to use sexp_input_start_coding
      and sexp_input_end_coding.
      (sexp_get_token): Generate SEXP_TRANSPORT_START tokens.
      (sexp_convert_list): Lists are ended only by SEXP_LIST_END.
      (sexp_convert_item): Implemented transport mode, using
      sexp_input_start_coding and sexp_input_end_coding.
      
      Rev: src/nettle/examples/sexp-conv.c:1.11
      2049dbed
    • Niels Möller's avatar
      Added Austrian mirror. · 28f745b5
      Niels Möller authored
      Rev: doc/index.html:1.3
      28f745b5
  3. 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
  4. 28 Oct, 2002 2 commits
  5. 26 Oct, 2002 3 commits
  6. 25 Oct, 2002 7 commits
  7. 24 Oct, 2002 1 commit