From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/libssh: add support for mbedtls crypto backend
Date: Mon, 23 Sep 2019 09:22:18 +0200 [thread overview]
Message-ID: <20190923092218.72ad7121@windsurf.home> (raw)
In-Reply-To: <CAKpO6uFOE2ShN1JupQoiupNF-SVnWzMiJ5x9twcAueGG5p9how@mail.gmail.com>
Hello,
On Mon, 23 Sep 2019 09:11:40 +0300
Mircea Gliga <gliga.mircea@gmail.com> wrote:
> Hi Thomas and thanks for the review,
>
> The Config.in also has this part that automatically selects the OpenSSL
> package if no crypto backend is already available:
>
> > - select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_LIBGCRYPT
> > + select BR2_PACKAGE_OPENSSL if !(BR2_PACKAGE_MBEDTLS ||
> BR2_PACKAGE_LIBGCRYPT)
>
> This is in sync with the old behavior, when mbedtls was not in scope.
> And then in case there are multiple crypto backends available it will
> prefer Libgcrypt, then OpenSSL and in the end mbedTLS:
>
> > + default BR2_PACKAGE_LIBSSH_LIBGCRYPT if BR2_PACKAGE_LIBGCRYPT
> > + default BR2_PACKAGE_LIBSSH_OPENSSL if BR2_PACKAGE_OPENSSL
> > + default BR2_PACKAGE_LIBSSH_MBEDTLS if BR2_PACKAGE_MBEDTLS
>
> The default will be to select the first enabled crypto backend provider
> in the same preference order as is used now, i.e. no change from current
> behavior.
Thanks, but that was not my point. My point was: is it really useful to
provide an explicit choice vs. simply selecting a preferred crypto
provider automatically, with no explicit choice in Config.in.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2019-09-23 7:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-18 11:06 [Buildroot] [PATCH 1/1] package/libssh: add support for mbedtls crypto backend Mircea Gliga
2019-09-18 15:48 ` Thomas Petazzoni
2019-09-23 6:11 ` Mircea Gliga
2019-09-23 7:22 ` Thomas Petazzoni [this message]
2019-09-23 10:22 ` Mircea Gliga
2019-09-23 13:31 ` Arnout Vandecappelle
2019-09-23 14:20 ` Mircea Gliga
2019-09-23 15:19 ` Arnout Vandecappelle
2019-09-24 13:26 ` [Buildroot] [PATCH v2] " Mircea Gliga
2019-10-02 5:16 ` Mircea Gliga
2020-02-02 19:36 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190923092218.72ad7121@windsurf.home \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox