[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v7 01/24] build: Link user-only with crypto-rng-
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH v7 01/24] build: Link user-only with crypto-rng-obj-y |
Date: |
Wed, 15 May 2019 09:51:55 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
On 5/15/19 9:42 AM, Laurent Vivier wrote:
> On 14/05/2019 21:16, Richard Henderson wrote:
>> For user-only, we require only the random number bits of the
>> crypto subsystem.
>>
>> We need to preserve --static linking, which for many recent Linux
>> distributions precludes using GnuTLS or GCrypt. Instead, use our
>> random-platform module unconditionally.
>>
>
> Perhaps we can rename "crypto-aes-obj" to "crypto-user-obj" and put
> aes.o and random-platform.o into?
>
> The only aim of crypto-aes-obj was to link aes.o with linux-user binaries.
That does seem better. I'll make the change.
r~
>
> Anyway, it's only cosmetic, so you can add:
>
> Reviewed-by: Laurent Vivier <address@hidden>
>
>> Signed-off-by: Richard Henderson <address@hidden>
>> ---
>> Makefile | 6 ++++--
>> Makefile.objs | 1 +
>> Makefile.target | 3 ++-
>> crypto/Makefile.objs | 1 +
>> 4 files changed, 8 insertions(+), 3 deletions(-)
[Qemu-devel] [PATCH v7 02/24] crypto: Reverse code blocks in random-platform.c, Richard Henderson, 2019/05/14
[Qemu-devel] [PATCH v7 03/24] crypto: Do not fail for EINTR during qcrypto_random_bytes, Richard Henderson, 2019/05/14
[Qemu-devel] [PATCH v7 04/24] crypto: Use O_CLOEXEC in qcrypto_random_init, Richard Henderson, 2019/05/14