1. 23 Jan, 2003 7 commits
    • Niels Möller's avatar
      * testsuite/Makefile.am (TS_PROGS): Added pkcs1-test. · ef49f309
      Niels Möller authored
      * testsuite/pkcs1-test.c: New test.
      
      Rev: src/nettle/testsuite/.cvsignore:1.22
      Rev: src/nettle/testsuite/Makefile.am:1.37
      Rev: src/nettle/testsuite/pkcs1-test.c:1.1
      ef49f309
    • Niels Möller's avatar
      * rsa_md5.c, rsa_sha1.c: Deleted files, contents spread over · c6a942a9
      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.
      
      Rev: src/nettle/rsa_md5.c:1.8(DEAD)
      Rev: src/nettle/rsa_sha1.c:1.8(DEAD)
      c6a942a9
    • Niels Möller's avatar
      * dsa-verify.c (dsa_verify_digest): New function. · a3399cff
      Niels Möller authored
      (dsa_verify): Most of the code moved to dsa_verify_digest, which
      is used here.
      * dsa-sign.c (dsa_sign_digest): New function.
      (dsa_sign): Most of the code moved to dsa_sign_digest, which is
      used here.
      * dsa.c (_dsa_hash): Deleted function.
      
      Rev: src/nettle/dsa-sign.c:1.5
      Rev: src/nettle/dsa-verify.c:1.3
      a3399cff
    • Niels Möller's avatar
      * dsa.c (_dsa_hash): Deleted function. · ed7977cb
      Niels Möller authored
      Rev: src/nettle/dsa.c:1.4
      Rev: src/nettle/dsa.h:1.5
      ed7977cb
    • 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
      5e6440f0
    • Niels Möller's avatar
      New files. · 97453327
      Niels Möller authored
      (pkcs1_signature_prefix): New function.
      
      Rev: src/nettle/pkcs1-rsa-md5.c:1.1
      Rev: src/nettle/pkcs1-rsa-sha1.c:1.1
      Rev: src/nettle/pkcs1.c:1.1
      Rev: src/nettle/pkcs1.h:1.1
      97453327
    • Niels Möller's avatar
      *** empty log message *** · fbc4af20
      Niels Möller authored
      Rev: src/nettle/ChangeLog:1.165
      fbc4af20
  2. 22 Jan, 2003 3 commits
  3. 20 Jan, 2003 2 commits
  4. 17 Jan, 2003 2 commits
  5. 16 Jan, 2003 2 commits
  6. 14 Jan, 2003 3 commits
  7. 12 Jan, 2003 9 commits
    • Niels Möller's avatar
      *** empty log message *** · 7b19e978
      Niels Möller authored
      Rev: src/nettle/ChangeLog:1.160
      Rev: src/nettle/tools/.gdbinit:1.1
      7b19e978
    • Niels Möller's avatar
      (nettle_buffer_reset): New function. · 3b665789
      Niels Möller authored
      (nettle_buffer_copy): New function.
      
      Rev: src/nettle/buffer.c:1.5
      Rev: src/nettle/buffer.h:1.4
      3b665789
    • Niels Möller's avatar
      * tools/input.c, tools/input.h, tools/output.c, tools/output.h, · e563d808
      Niels Möller authored
      tools/parse.c, tools/parse.h, tools/misc.c, tools/misc.h: Moved
      parts ov sexp-conv.c to separate files
      
      Rev: src/nettle/tools/Makefile.am:1.3
      Rev: src/nettle/tools/input.c:1.1
      Rev: src/nettle/tools/input.h:1.1
      Rev: src/nettle/tools/misc.c:1.1
      Rev: src/nettle/tools/misc.h:1.1
      Rev: src/nettle/tools/output.c:1.1
      Rev: src/nettle/tools/output.h:1.1
      Rev: src/nettle/tools/parse.c:1.1
      Rev: src/nettle/tools/parse.h:1.1
      Rev: src/nettle/tools/sexp-conv.c:1.13
      e563d808
    • Niels Möller's avatar
      * tools/sexp-conv.c (sexp_parse): Take a struct sexp_compound_token * · bd7386a1
      Niels Möller authored
      as argument. Updated all callers. Simplified handling of display types
      and transport encoding.
      
      Rev: src/nettle/tools/sexp-conv.c:1.12
      bd7386a1
    • Niels Möller's avatar
      * tools/sexp-conv.c (struct sexp_input): Deleted string attribute. · a9495490
      Niels Möller authored
      Changed all related functions to take a struct nettle_buffer *
      argument instead.
      (struct sexp_compound_token): New struct.
      (sexp_compound_token_init, sexp_compound_token_clear): New
      functions.
      (struct sexp_parser): Added a struct sexp_compound_token
      attribute, as a temporary measure.
      
      Rev: src/nettle/tools/sexp-conv.c:1.11
      a9495490
    • Niels Möller's avatar
      * tools/sexp-conv.c (struct sexp_parser): Renamed struct (was · b4476c72
      Niels Möller authored
      struct sexp_parse_state). Added input pointer. Updated users to
      not pass around both parser and input.
      (sexp_check_token): handle token == 0.
      (sexp_parse): Simplified a little by calling sexp_check_token
      unconditionally.
      
      * tools/sexp-conv.c (sexp_convert_string): Deleted function.
      (sexp_skip_token): Likewise.
      
      * tools/sexp-conv.c (enum sexp_token): New constant SEXP_DISPLAY.
      Start constants from 1, to keep 0 free for special uses.
      (struct sexp_parse_state): New struct for keeping track of parser
      state.
      (sexp_parse_init): New function.
      (sexp_check_token): New function, replacing sexp_skip_token.
      (sexp_parse): New function.
      (sexp_convert_item): Simplified by using sexp_parse.
      (sexp_convert_list): Use sexp_parse.
      (main): Likewise.
      
      Rev: src/nettle/tools/sexp-conv.c:1.10
      b4476c72
    • Niels Möller's avatar
      (struct sexp_parser): Renamed struct (was struct · 0dcdec81
      Niels Möller authored
      sexp_parse_state). Added input pointer. Updated users to not pass
      around both parser and input.
      
      Rev: src/nettle/tools/sexp-conv.c:1.9
      0dcdec81
    • Niels Möller's avatar
      * tools/sexp-conv.c (sexp_convert_string): Deleted function. · aed9c008
      Niels Möller authored
      (sexp_skip_token): Likewise.
      
      * tools/sexp-conv.c (enum sexp_token): New constant SEXP_DISPLAY.
      Start constants from 1, to keep 0 free for special uses.
      (struct sexp_parse_state): New struct for keeping track of parser
      state.
      (sexp_parse_init): New function.
      (sexp_check_token): New function, replacing sexp_skip_token.
      (sexp_parse): New function.
      (sexp_convert_item): Simplified by using sexp_parse.
      (sexp_convert_list): Use sexp_parse.
      (main): Likewise.
      
      Rev: src/nettle/tools/sexp-conv.c:1.8
      aed9c008
    • Niels Möller's avatar
      (enum sexp_token): New constant SEXP_DISPLAY. · 4689295c
      Niels Möller authored
      Start constants from 1, to keep 0 free for special uses.
      (struct sexp_parse_state): New struct for keeping track of parser
      state.
      (sexp_parse_init): New function.
      (sexp_check_token): New function, replacing sexp_skip_token.
      (sexp_parse): New function.
      (sexp_convert_item): Simplified by using sexp_parse.
      (sexp_convert_list): Use sexp_parse.
      (main): Likewise.
      
      Rev: src/nettle/tools/sexp-conv.c:1.7
      4689295c
  8. 08 Jan, 2003 4 commits
  9. 07 Jan, 2003 1 commit
  10. 01 Jan, 2003 3 commits
  11. 30 Dec, 2002 4 commits