[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).
[Thread Prev] | [Thread Next]
- Subject: [PATCH 00/24] clean up + expose some buffer functions (the ones necessary for writing an ssh-agent).
- From: Fabiano Fidêncio <fidencio@xxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Mon, 18 Jan 2016 10:06:41 +0100
- To: libssh@xxxxxxxxxx
- Cc: Fabiano Fidêncio <fidencio@xxxxxxxxxx>
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