[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 1/5] Import libgcrypt 1.10.3
From: |
Vladimir 'phcoder' Serbinenko |
Subject: |
Re: [PATCH v5 1/5] Import libgcrypt 1.10.3 |
Date: |
Sun, 8 Sep 2024 18:46:14 +0300 |
On Thu, Sep 5, 2024 at 3:53 PM Daniel Kiper <dkiper@net-space.pl> wrote:
>
> On Tue, Sep 03, 2024 at 08:29:30PM +0300, Vladimir Serbinenko wrote:
> > We currently use an old version of libcrypt which
> > results in us having fewer ciphers and missing on many
> > other improvements.
> >
> > Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
>
> Now at least it builds but...
>
> Could you update libgcrypt to the latest version, 1.11.0?
>
Done
> When I apply the patches git complains in the following way:
> I am OK with warnings from original libgcrypt import but our patches
> should be clean.
>
Warnings come from the fact that spaces are needed in .patch files.
Otherwise they're broken.
> When I run bootstrap I can see this:
>
> Importing libgcrypt...
> WARNING: C file isn't a module: blake2.c
> WARNING: C file isn't a module: ecc-curves.c
> WARNING: C file isn't a module: ecc-ecdh.c
> WARNING: C file isn't a module: ecc-ecdsa.c
> WARNING: C file isn't a module: ecc-eddsa.c
> WARNING: C file isn't a module: ecc-gost.c
> WARNING: C file isn't a module: ecc-misc.c
> WARNING: C file isn't a module: ecc-sm2.c
> WARNING: C file isn't a module: gost-s-box.c
> WARNING: C file isn't a module: poly1305.c
> WARNING: C file isn't a module: primegen.c
> patching file grub-core/lib/libgcrypt-grub/cipher/md.c
> patching file grub-core/lib/libgcrypt-grub/cipher/keccak.c
> Hunk #1 succeeded at 253 (offset 2 lines).
>
> Please fix the warnings and hunk complaint.
I silenced the warnings but they do refer to a real problem: we don't
import some of ciphers. Changed to TODO.
- [PATCH v5 1/5] Import libgcrypt 1.10.3, Vladimir Serbinenko, 2024/09/03
- [PATCH v5 2/5] Import b64dec from gpg-error, Vladimir Serbinenko, 2024/09/03
- [PATCH v5 4/5] Add DSA and RSA SEXP tests, Vladimir Serbinenko, 2024/09/03
- [PATCH v5 5/5] keccak: Disable acceleration with SSE asm, Vladimir Serbinenko, 2024/09/03
- [PATCH v5 3/5] Adjust import script, definitions and API users for libgcrypt 1.10, Vladimir Serbinenko, 2024/09/03
- Re: [PATCH v5 1/5] Import libgcrypt 1.10.3, Daniel Kiper, 2024/09/05
- Re: [PATCH v5 1/5] Import libgcrypt 1.10.3,
Vladimir 'phcoder' Serbinenko <=