[Buildroot] [PATCH v2] package/libssh: add support for mbedtls crypto backend
peter at korsgaard.com
Sun Feb 2 19:36:55 UTC 2020
>>>>> "Mircea" == Mircea Gliga <gliga.mircea at gmail.com> writes:
> At this point Buildroot doesn't allow to use mbedTLS crypto
> backend even though libssh supports it. In case of fully statically
> linked ELF executables the size difference between OpenSSL and mbedTLS
> is significant: it matters for embedded targets with very limited
> This patch adds support for compiling libssh with mbedTLS as a
> crypto backend. It also allows the selection of the crypto backend
> libssh will use through a choice in the package config.
> Currently, the selection of the backend is based on a priority order,
> which is not always desirable, as in some cases multiple backends
> can exists at the same time for various reasons.
> Switch to OpenSSL as the default crypto backend, instead of libgcrypt,
> since OpenSSL is more commonly used.
> Signed-off-by: Mircea Gliga <gliga.mircea at gmail.com>
> Changes V1->V2:
> * choice now selects the crypto provider package
> * more detailed description in commit message
> * switch default crypto backend to OpenSSL
Committed after changing the selects to depends on to match libssh2,
thanks and sorry for the slow response.
Bye, Peter Korsgaard
More information about the buildroot