1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-29 01:03:57 +03:00
Files
libssh/include/libssh
Justus Winter e3a866b8c1 ecdh: Implement ECDH using libgcrypt
* 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-11-03 15:20:36 +01:00
..
2013-07-13 14:41:20 +02:00
2016-01-19 11:31:08 +01:00
2013-01-23 00:22:46 +01:00
2016-11-03 15:20:36 +01:00
2016-11-03 15:20:36 +01:00
2013-01-23 00:22:46 +01:00
2013-01-23 00:22:46 +01:00
2013-01-23 00:22:46 +01:00
2013-01-23 00:22:46 +01:00
2016-05-02 16:40:43 +02:00
2013-01-23 00:22:46 +01:00
2016-10-06 16:26:52 +02:00
2013-11-09 12:26:19 +01:00
2005-07-05 01:21:44 +00:00
2013-07-13 14:12:06 +02:00
2013-01-23 00:22:46 +01:00
2013-01-23 00:22:46 +01:00