Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-11-03 | ecdh: Implement ECDH using libgcrypt | Justus Winter | 1 | -265/+0 | |
* include/libssh/crypto.h (struct ssh_crypto_struct): Provide a suitable 'ecdh_privkey'. * include/libssh/ecdh.h: Also define 'HAVE_ECDH' if we do ECC using libgcrypt. (ecdh_build_k): New prototype. * src/CMakeLists.txt (libssh_SRCS): Add backend-specific files. * src/ecdh.c: Move backend-specific parts to... * src/ecdh_crypto.c: ... this file. * src/ecdh_gcrypt.c: New file. * src/wrapper.c (crypto_free): Free 'ecdh_privkey'. Signed-off-by: Justus Winter <justus@g10code.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-01-19 | cleanup: use ssh_ prefix in the packet (non-static) functions | Fabiano Fidêncio | 1 | -4/+4 | |
Having "ssh_" prefix in the functions' name will avoid possible clashes when compiling libssh statically. Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-01-19 | cleanup: use ssh_ prefix in the dh (non-static) functions | Fabiano Fidêncio | 1 | -1/+1 | |
Having "ssh_" prefix in the functions' name will avoid possible clashes when compiling libssh statically. Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2016-01-19 | cleanup: use ssh_ prefix in the buffer (non-static) functions | Fabiano Fidêncio | 1 | -8/+8 | |
Having "ssh_" prefix in the functions' name will avoid possible clashes when compiling libssh statically. Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2014-08-18 | ec: Fix build on CentOS. | Andreas Schneider | 1 | -0/+1 | |
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> | |||||
2014-08-06 | buffers: adapt ecdh.c to ssh_buffer_(un)pack() | Aris Adamantiadis | 1 | -23/+9 | |
Reviewed-by: Andreas Schneider <asn@samba.org> | |||||
2014-01-07 | update copyright information | Aris Adamantiadis | 1 | -1/+1 | |
2013-11-27 | ecdh: Use bignum_bin2bn. | Andreas Schneider | 1 | -1/+1 | |
2013-08-13 | ecdh: Refactor ecdh_build_k to check errors codes. | Andreas Schneider | 1 | -14/+40 | |
2013-07-14 | src: Migrate to SSH_LOG. | Andreas Schneider | 1 | -3/+3 | |
2013-07-13 | Server: fix rekeying | Aris Adamantiadis | 1 | -10/+0 | |
2013-06-19 | ecdh: Add missing return in ssh_client_ecdh_init(). | Andreas Schneider | 1 | -0/+1 | |
2013-06-19 | ecdh: Avoid memory leaks in ssh_server_ecdh_init(). | Andreas Schneider | 1 | -36/+69 | |
2013-06-18 | ecdh: Make sure we don't leak memory in ssh_client_ecdh_init(). | Andreas Schneider | 1 | -12/+27 | |
This also adds more checks for return values. | |||||
2013-06-17 | ecdh: Check return values of buffer_add_* functions. | Andreas Schneider | 1 | -4/+23 | |
2012-02-05 | dh: Fix build with DEBUG_CRYPTO. | Andreas Schneider | 1 | -3/+5 | |
2012-02-04 | ecdh: Fix a memory leak in ecdh_build_k(). | Andreas Schneider | 1 | -5/+9 | |
Thanks to Tom Judge for the report. | |||||
2012-02-04 | ecdh: Fix a memory leak in ssh_server_ecdh_init(). | Andreas Schneider | 1 | -0/+1 | |
Thanks to Tom Judge for the report. | |||||
2011-09-23 | Fix bugs found by clang | Aris Adamantiadis | 1 | -1/+2 | |
2011-09-18 | ECDH key exchange working | Aris Adamantiadis | 1 | -10/+103 | |
2011-09-18 | kex: split key selection and sending | Aris Adamantiadis | 1 | -0/+8 | |
2011-08-20 | pki: Fix build warnings. | Andreas Schneider | 1 | -0/+1 | |
2011-06-13 | Fix memory leak | Aris Adamantiadis | 1 | -1/+2 | |
2011-06-13 | [crypto] initial support for ecdh-sha2-nistp256 | Aris Adamantiadis | 1 | -0/+167 | |
Works with openssl Still requires work for libgcrypt and other modes |