1
1
libssh/cmake/Modules
Juraj Vijtiuk 778652460f add mbedtls crypto support
Summary:
This patch adds support for mbedTLS as a crypto backend for libssh.
mbedTLS is an SSL/TLS library that has been designed to mainly be used
in embedded systems.  It is loosely coupled and has a low memory
footprint.  mbedTLS also provides a cryptography library (libmbedcrypto)
that can be used without the TLS modules.
The patch is unfortunately quite big, since several new files had to
be added.
DSA is disabled at compile time, since mbedTLS doesn't support DSA
Patch review and feedback would be appreciated, and if any issues or
suggestions appear, I'm willing to work on them.

Signed-off-by: Juraj Vijtiuk <juraj.vijtiuk@sartura.hr>

Test Plan:
* The patch has been tested with a Debug and MinSizeRel build, with
libssh unit tests, client tests and the pkd tests.
* All the tests have been run with valgrind's memcheck, drd and helgrind
tools.
* The examples/samplessh client works when built with the patch.

Reviewers: asn, aris

Subscribers: simonsj

Differential Revision: https://bugs.libssh.org/D1
2017-12-28 11:17:39 +01:00
..
AddCMockaTest.cmake cmake: Add support for Address Sanitizer 2015-05-04 15:25:17 +02:00
CheckCCompilerFlagSSP.cmake cmake: Make CHECK_C_COMPILER_FLAG_SSP a function. 2011-07-29 11:37:52 +02:00
COPYING-CMAKE-SCRIPTS Add Makefiles for the CMake build system. 2009-02-02 14:44:46 +00:00
DefineCMakeDefaults.cmake cmake: Enable creation of the compile command database by default. 2014-04-04 10:03:43 +02:00
DefineCompilerFlags.cmake build: remove OSX deprecated warnings for openssl 2014-02-02 21:41:32 +01:00
DefineInstallationPaths.cmake cmake: Fix installation path for some strange platforms. 2013-03-20 09:38:03 +01:00
DefinePlatformDefaults.cmake Fix examples compilation on OSX (libargp) 2013-11-03 13:49:27 +01:00
FindArgp.cmake cmake: Try to fix FindArgp module 2016-03-17 10:42:52 +01:00
FindCMocka.cmake cmake: Add CMOCKA_ROOT_DIR with hints and paths. 2013-08-01 16:55:40 +02:00
FindGCrypt.cmake cmake: Fix parsing the gcrypt version 2017-10-12 10:16:23 +02:00
FindGSSAPI.cmake cmake: detect MIT gssapi shim on osx 2016-03-14 22:27:38 +01:00
FindMbedTLS.cmake add mbedtls crypto support 2017-12-28 11:17:39 +01:00
FindNaCl.cmake src: Update my mail address. 2014-01-07 16:08:23 +01:00
FindNSIS.cmake cmake: Update FindNSIS module. 2013-07-24 11:17:30 +02:00
MacroEnsureOutOfSourceBuild.cmake Add Makefiles for the CMake build system. 2009-02-02 14:44:46 +00:00
UseDoxygen.cmake cmake: Fix doxygen. 2014-04-10 08:54:10 +02:00