1. 24 Jan, 2003 1 commit
  2. 23 Jan, 2003 10 commits
    • Niels Möller's avatar
      *** empty log message *** · 36d98c6e
      Niels Möller authored
      Rev: src/spki/ChangeLog:1.34
      36d98c6e
    • Niels Möller's avatar
      (spki_parse_string): Made non-static. · b3a1f7f5
      Niels Möller authored
      Rev: src/spki/parse.c:1.15
      Rev: src/spki/parse.h:1.14
      b3a1f7f5
    • Niels Möller's avatar
      * Makefile.am (libnettle_a_SOURCES): Added new rsa and pkcs1 · c0426782
      Niels Möller authored
      files. Removed old rsa_md5.c and rsa_sha1.c.
      
      Rev: src/nettle/ChangeLog:1.166
      Rev: src/nettle/Makefile.am:1.57
      c0426782
    • Niels Möller's avatar
      * testsuite/Makefile.am (TS_PROGS): Added pkcs1-test. · f72bf68a
      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
      f72bf68a
    • Niels Möller's avatar
      * rsa_md5.c, rsa_sha1.c: Deleted files, contents spread over · 4e6473cd
      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)
      4e6473cd
    • Niels Möller's avatar
      * dsa-verify.c (dsa_verify_digest): New function. · d7384fb5
      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
      d7384fb5
    • Niels Möller's avatar
      * dsa.c (_dsa_hash): Deleted function. · 79733ee2
      Niels Möller authored
      Rev: src/nettle/dsa.c:1.4
      Rev: src/nettle/dsa.h:1.5
      79733ee2
    • Niels Möller's avatar
      * rsa_md5.c, rsa_sha1.c: Deleted files, contents spread over · 639ebc8f
      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
      639ebc8f
    • Niels Möller's avatar
      New files. · 44b12110
      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
      44b12110
    • Niels Möller's avatar
      *** empty log message *** · 45564329
      Niels Möller authored
      Rev: src/nettle/ChangeLog:1.165
      45564329
  3. 22 Jan, 2003 12 commits
    • Niels Möller's avatar
      *** empty log message *** · a8f0855c
      Niels Möller authored
      Rev: ChangeLog:1.595
      Rev: src/spki/ChangeLog:1.33
      a8f0855c
    • Niels Möller's avatar
      (spki_add_acl): Use spki_acl_process. · b3d96a6a
      Niels Möller authored
      (spki_authorize): Adapted to changed spki_acl_by_subject_first and
      spki_acl_by_subject_next.
      
      Rev: src/spki.c:1.46
      b3d96a6a
    • Niels Möller's avatar
      (read_acl): Use spki_acl_process. · 7cf06ff9
      Niels Möller authored
      Rev: src/spki/testsuite/testutils.c:1.4
      7cf06ff9
    • Niels Möller's avatar
      (test_main): Updated to use · 3ad0df1c
      Niels Möller authored
      spki_5_tuple_list.
      
      Rev: src/spki/testsuite/lookup-acl-test.c:1.5
      3ad0df1c
    • Niels Möller's avatar
      (filter_by_tag): Rewritten to be · f5f85694
      Niels Möller authored
      used with spki_5_tuple_list_filter.
      (filter_by_subject): Likewise.
      (filter_by_date): Likewise.
      (test_main): Updated to use spki_5_tuple_list.
      
      Rev: src/spki/testsuite/cdsa-reduce-test.c:1.5
      f5f85694
    • Niels Möller's avatar
      (reduce_with_list): Now results in zero or more · 744a5550
      Niels Möller authored
      certificates, that are consed onto the "known" list.
      (spki_5_tuple_reduce): Adapted to use spki_5_tuple_list.
      
      Rev: src/spki/reduce.c:1.4
      744a5550
    • Niels Möller's avatar
      (spki_parse_acl): Moved function. Was · 8677a348
      Niels Möller authored
      certificate.c:spki_acl_parse.
      
      Rev: src/spki/parse.c:1.14
      Rev: src/spki/parse.h:1.13
      8677a348
    • Niels Möller's avatar
      (spki_5_tuple_init): Initialize refs to zero. · 0426b66f
      Niels Möller authored
      (spki_5_tuple_cons_new): New function.
      (spki_5_tuple_list_release): New function. Replaces
      spki_5_tuple_free_chain.
      (spki_5_tuple_list_nappend): New function.
      (spki_5_tuple_list_nreverse): New function.
      (spki_5_tuple_list_filter): New function.
      (spki_5_tuple_by_subject_next): Renamed function. Was
      spki_5_tuple_by_subject. Added spki_5_tuple_list ** argument, used
      as an iterator.
      (spki_acl_by_subject_first): Added iterator argument.
      (spki_5_tuple_by_authorization_next): Renamed, was acl_by_auth.
      Made non-static.
      (spki_acl_by_authorization_first): Added iterator argument.
      (spki_acl_process): New function, replacing spki_acl_parse.
      (format_valid): Use const argument.
      (spki_acl_format): Use a spki_5_tuple_list argument.
      (spki_parse_sequence_no_signatures): Renamed function, was
      spki_process_sequence_no_signatures. Now returns a
      spki_5_tuple_list.
      
      Rev: src/spki/certificate.c:1.22
      0426b66f
    • Niels Möller's avatar
      (struct spki_5_tuple): Deleted attribute next. · 3db3c038
      Niels Möller authored
      Added a reference counter.
      (struct spki_5_tuple_list): New struct.
      (struct spki_acl_db): Renamed attribute first_acl to acl. Now
      points at a spki_5_tuple_list.
      
      Rev: src/spki/certificate.h:1.21
      3db3c038
    • Niels Möller's avatar
      (nettle_benchmark_LDADD): Use OPENSSL_LIBFLAGS. · b40e1cf8
      Niels Möller authored
      Rev: src/nettle/examples/Makefile.am:1.16
      b40e1cf8
    • Niels Möller's avatar
      (OPENSSL_LIBFLAGS): If libcrypto is found, add · 2d3becc4
      Niels Möller authored
      -lcrypto to OPENSSL_LIBFLAGS, not the plain LDFLAGS.
      
      Rev: src/nettle/configure.ac:1.16
      2d3becc4
    • Niels Möller's avatar
      Moved comment. · 068f9728
      Niels Möller authored
      Rev: src/nettle/Makefile.am:1.56
      068f9728
  4. 21 Jan, 2003 2 commits
  5. 20 Jan, 2003 9 commits
  6. 19 Jan, 2003 3 commits
  7. 17 Jan, 2003 3 commits