grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: "Vladimir 'phcoder' Serbinenko" <phcoder@gmail.com>
To: Gary Lin <glin@suse.com>
Cc: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: [PATCH v3 5/5] keccak: Disable acceleration with SSE asm
Date: Tue, 28 May 2024 11:15:20 +0300	[thread overview]
Message-ID: <CAEaD8JOi4X416j1CqKq7ph9yp+NovLiNZFgGKAYjUkj-m0iUEg@mail.gmail.com> (raw)
In-Reply-To: <20240528054919.zqnotxac7h3zncke@GaryLaptop>


[-- Attachment #1.1: Type: text/plain, Size: 1858 bytes --]

Sorry, sent wrong commit. Will resend in next version

Le mar. 28 mai 2024, 08:49, Gary Lin <glin@suse.com> a écrit :

> On Fri, May 24, 2024 at 08:30:06PM +0300, Vladimir Serbinenko wrote:
> > ---
> >  .../lib/libgcrypt-patches/02_keccak_sse.diff  | 19 +++++++++++++++++++
> >  1 file changed, 19 insertions(+)
> >  create mode 100644 grub-core/lib/libgcrypt-patches/02_keccak_sse.diff
> >
> > diff --git a/grub-core/lib/libgcrypt-patches/02_keccak_sse.diff
> b/grub-core/lib/libgcrypt-patches/02_keccak_sse.diff
> > new file mode 100644
> > index 000000000..980ebb2b7
> > --- /dev/null
> > +++ b/grub-core/lib/libgcrypt-patches/02_keccak_sse.diff
> > @@ -0,0 +1,19 @@
> > +commit b0cf06271da5fe20360953a53a47c69da89669cd
> > +Author: Vladimir Serbinenko <phcoder@gmail.com>
> > +Date:   Sun Apr 7 06:33:11 2024 +0300
> > +
> > +    keccak: Disable acceleration with SSE asm
> > +
> > +diff --git a/grub-core/lib/libgcrypt/cipher/keccak.c
> b/grub-core/lib/libgcrypt/cipher/keccak.c
> Since this patch file is applied after importing libgcrypt to
> libgcrypt-grub,
> the target file has to be libgcrypt-grub/cipher/keccak.c.
>
> Gary Lin
>
> > +index 11e64b3e7..8b570263b 100644
> > +--- a/grub-core/lib/libgcrypt/cipher/keccak.c
> > ++++ b/grub-core/lib/libgcrypt/cipher/keccak.c
> > +@@ -251,7 +251,7 @@ keccak_absorb_lane32bi(u32 *lane, u32 x0, u32 x1)
> > + /* Construct generic 64-bit implementation. */
> > + #ifdef USE_64BIT
> > +
> > +-#if __GNUC__ >= 4 && defined(__x86_64__)
> > ++#if __GNUC__ >= 4 && defined(__x86_64__) && 0
> > +
> > + static inline void absorb_lanes64_8(u64 *dst, const byte *in)
> > + {
> > --
> > 2.39.2
> >
> >
> > _______________________________________________
> > Grub-devel mailing list
> > Grub-devel@gnu.org
> > https://lists.gnu.org/mailman/listinfo/grub-devel
>

[-- Attachment #1.2: Type: text/html, Size: 2622 bytes --]

[-- Attachment #2: Type: text/plain, Size: 141 bytes --]

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

  reply	other threads:[~2024-05-28  8:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-24 17:30 [PATCH v3 1/5] Import libgcrypt 1.10.3 Vladimir Serbinenko
2024-05-24 17:30 ` [PATCH v3 2/5] Import b64dec from gpg-error Vladimir Serbinenko
2024-05-29 14:38   ` Daniel Kiper
2024-05-24 17:30 ` [PATCH v3 3/5] Adjust import script, definitions and API users for libgcrypt 1.10 Vladimir Serbinenko
2024-05-29  2:18   ` Gary Lin via Grub-devel
2024-05-29 14:53   ` Daniel Kiper
2024-05-24 17:30 ` [PATCH v3 4/5] Add DSA and RSA SEXP tests Vladimir Serbinenko
2024-05-29 14:59   ` Daniel Kiper
2024-05-24 17:30 ` [PATCH v3 5/5] keccak: Disable acceleration with SSE asm Vladimir Serbinenko
2024-05-28  5:49   ` Gary Lin via Grub-devel
2024-05-28  8:15     ` Vladimir 'phcoder' Serbinenko [this message]
2024-05-29 15:02   ` Daniel Kiper
2024-05-29 14:35 ` [PATCH v3 1/5] Import libgcrypt 1.10.3 Daniel Kiper

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=CAEaD8JOi4X416j1CqKq7ph9yp+NovLiNZFgGKAYjUkj-m0iUEg@mail.gmail.com \
    --to=phcoder@gmail.com \
    --cc=glin@suse.com \
    --cc=grub-devel@gnu.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).