[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 00/24] clean up + expose some buffer functions (the ones necessary for writing an ssh-agent).


Fabiano Fidêncio (24):
  cleanup: use ssh_ prefix in the agent (non-static) functions
  cleanup: use ssh_ prefix in the bignum (non-static) functions
  cleanup: use ssh_ prefix in the blf (non-static) functions
  cleanup: use ssh_ prefix in the buffer (non-static) functions
  cleanup: use ssh_ prefix in the channels (non-static) functions
  cleanup: use ssh_ prefix in the dh (non-static) functions
  cleanup: use ssh_ prefix in the kex (non-static) functions
  cleanup: use ssh_ prefix in the gcrypt missing functions
  cleanup: use ssh_ prefix in the packet (non-static) functions
  pki_gcrypt: Fix warning about not handled values in switch
  tests: Fix warning about expected format for printf
  buffer: fix documentation for ssh_buffer_get_u32()
  buffer: cosmetic change in ssh_buffer_get_u8() documentation
  buffer: rename ssh_buffer_get_rest() to ssh_buffer_get()
  buffer: make ssh_buffer_get_len() call ssh_buffer_get_rest_len()
  pki_gcrypt: adapt to the new behavior of ssh_buffer_get_len()
  buffer: do not use ssh_buffer_get_rest_len()
  buffer: remove ssh_buffer_get_rest_len()
  buffer: use ssh_buffer_get() instead of ssh_buffer_get_begin()
  buffer: remove ssh_buffer_get_begin()
  libssh.h: move LIBSSH_API buffer' functions to libssh.h
  buffer: expose ssh_buffer_reinit()
  buffer: expose ssh_buffer_{add,get}_data()
  buffer: expose ssh_buffer_get()

 examples/sample.c                |   4 +-
 include/libssh/agent.h           |   8 +--
 include/libssh/bignum.h          |   6 +-
 include/libssh/blf.h             |  26 +++----
 include/libssh/buffer.h          |  46 +++++-------
 include/libssh/channels.h        |  12 ++--
 include/libssh/dh.h              |  28 ++++----
 include/libssh/kex.h             |   6 +-
 include/libssh/libgcrypt.h       |   8 +--
 include/libssh/libssh.h          |   8 +++
 include/libssh/packet.h          |  18 ++---
 src/agent.c                      |  40 +++++------
 src/auth.c                       |  22 +++---
 src/auth1.c                      |  12 ++--
 src/bignum.c                     |   6 +-
 src/buffer.c                     | 147 +++++++++++++++------------------------
 src/channels.c                   |  88 +++++++++++------------
 src/channels1.c                  |  66 +++++++++---------
 src/client.c                     |   6 +-
 src/curve25519.c                 |  30 ++++----
 src/dh.c                         |  92 ++++++++++++------------
 src/ecdh.c                       |  26 +++----
 src/external/bcrypt_pbkdf.c      |   4 +-
 src/external/blowfish.c          |  42 +++++------
 src/gcrypt_missing.c             |   4 +-
 src/gssapi.c                     |  34 ++++-----
 src/gzip.c                       |  14 ++--
 src/kex.c                        |  34 ++++-----
 src/kex1.c                       |  36 +++++-----
 src/known_hosts.c                |  22 +++---
 src/legacy.c                     |   2 +-
 src/messages.c                   |  28 ++++----
 src/options.c                    |   2 +-
 src/packet.c                     |  54 +++++++-------
 src/packet1.c                    |  44 ++++++------
 src/packet_cb.c                  |  10 +--
 src/packet_crypt.c               |  12 ++--
 src/pcap.c                       |  44 ++++++------
 src/pki.c                        |  52 +++++++-------
 src/pki_container_openssh.c      |  22 +++---
 src/pki_crypto.c                 |  78 ++++++++++-----------
 src/pki_gcrypt.c                 |  42 +++++------
 src/server.c                     |  50 ++++++-------
 src/session.c                    |   8 +--
 src/sftp.c                       | 130 +++++++++++++++++-----------------
 src/sftpserver.c                 |  48 ++++++-------
 src/socket.c                     |  18 ++---
 tests/benchmarks/bench_scp.c     |   4 +-
 tests/client/torture_auth.c      |   4 +-
 tests/unittests/torture_buffer.c |  70 +++++++++----------
 50 files changed, 789 insertions(+), 828 deletions(-)

-- 
2.5.0


Follow-Ups:
[PATCH 01/24] cleanup: use ssh_ prefix in the agent (non-static) functionsFabiano Fidêncio <fidencio@xxxxxxxxxx>
[PATCH 02/24] cleanup: use ssh_ prefix in the bignum (non-static) functionsFabiano Fidêncio <fidencio@xxxxxxxxxx>
[PATCH 03/24] cleanup: use ssh_ prefix in the blf (non-static) functionsFabiano Fidêncio <fidencio@xxxxxxxxxx>
[PATCH 04/24] cleanup: use ssh_ prefix in the buffer (non-static) functionsFabiano Fidêncio <fidencio@xxxxxxxxxx>
[PATCH 05/24] cleanup: use ssh_ prefix in the channels (non-static) functionsFabiano Fidêncio <fidencio@xxxxxxxxxx>
[PATCH 06/24] cleanup: use ssh_ prefix in the dh (non-static) functionsFabiano Fidêncio <fidencio@xxxxxxxxxx>
[PATCH 07/24] cleanup: use ssh_ prefix in the kex (non-static) functionsFabiano Fidêncio <fidencio@xxxxxxxxxx>
[PATCH 08/24] cleanup: use ssh_ prefix in the gcrypt missing functionsFabiano Fidêncio <fidencio@xxxxxxxxxx>
[PATCH 09/24] cleanup: use ssh_ prefix in the packet (non-static) functionsFabiano Fidêncio <fidencio@xxxxxxxxxx>
[PATCH 10/24] pki_gcrypt: Fix warning about not handled values in switchFabiano Fidêncio <fidencio@xxxxxxxxxx>
[PATCH 11/24] tests: Fix warning about expected format for printfFabiano Fidêncio <fidencio@xxxxxxxxxx>
[PATCH 12/24] buffer: fix documentation for ssh_buffer_get_u32()Fabiano Fidêncio <fidencio@xxxxxxxxxx>
[PATCH 13/24] buffer: cosmetic change in ssh_buffer_get_u8() documentationFabiano Fidêncio <fidencio@xxxxxxxxxx>
[PATCH 14/24] buffer: rename ssh_buffer_get_rest() to ssh_buffer_get()Fabiano Fidêncio <fidencio@xxxxxxxxxx>
[PATCH 15/24] buffer: make ssh_buffer_get_len() call ssh_buffer_get_rest_len()Fabiano Fidêncio <fidencio@xxxxxxxxxx>
[PATCH 17/24] buffer: do not use ssh_buffer_get_rest_len()Fabiano Fidêncio <fidencio@xxxxxxxxxx>
[PATCH 16/24] pki_gcrypt: adapt to the new behavior of ssh_buffer_get_len()Fabiano Fidêncio <fidencio@xxxxxxxxxx>
[PATCH 18/24] buffer: remove ssh_buffer_get_rest_len()Fabiano Fidêncio <fidencio@xxxxxxxxxx>
[PATCH 19/24] buffer: use ssh_buffer_get() instead of ssh_buffer_get_begin()Fabiano Fidêncio <fidencio@xxxxxxxxxx>
[PATCH 20/24] buffer: remove ssh_buffer_get_begin()Fabiano Fidêncio <fidencio@xxxxxxxxxx>
[PATCH 21/24] libssh.h: move LIBSSH_API buffer' functions to libssh.hFabiano Fidêncio <fidencio@xxxxxxxxxx>
[PATCH 22/24] buffer: expose ssh_buffer_reinit()Fabiano Fidêncio <fidencio@xxxxxxxxxx>
[PATCH 23/24] buffer: expose ssh_buffer_{add,get}_data()Fabiano Fidêncio <fidencio@xxxxxxxxxx>
[PATCH 24/24] buffer: expose ssh_buffer_get()Fabiano Fidêncio <fidencio@xxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org