grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Kiper <dkiper@net-space.pl>
To: Gary Lin <glin@suse.com>
Cc: grub-devel@gnu.org,
	Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>,
	Glenn Washburn <development@efficientek.com>,
	Michael Chang <mchang@suse.com>,
	Steffen Winterfeldt <snwint@suse.com>
Subject: Re: [PATCH 0/2] Optimize PBKDF2
Date: Thu, 16 Oct 2025 20:02:00 +0200	[thread overview]
Message-ID: <20251016180200.xpfifmvc4phqwhbc@tomti.i.net-space.pl> (raw)
In-Reply-To: <20250814063242.21644-1-glin@suse.com>

On Thu, Aug 14, 2025 at 02:32:40PM +0800, Gary Lin via Grub-devel wrote:
> This patch series addresses performance issues in the PBKDF2
> implementation, which previously caused significant delays when
> unlocking encrypted partitions. The code has been optimized to eliminate
> redundant memory allocations and unnecessary hash operations.
>
> These changes result in a substantial improvement: in local testing, the
> disk unlocking time was reduced from 15 seconds to 4 seconds.
>
> Credit to Steffen Winterfeldt for providing a custom PBKDF2 implementation
> that helped identify these bottlenecks.
>
> Gary Lin (2):
>   lib/crypto: Introduce new HMAC functions to reuse buffers
>   lib/pbkdf2: Optimize PBKDF2 by reusing HMAC handle

For both patches Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>...

Daniel

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

      parent reply	other threads:[~2025-10-16 18:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-14  6:32 [PATCH 0/2] Optimize PBKDF2 Gary Lin via Grub-devel
2025-08-14  6:32 ` [PATCH 1/2] lib/crypto: Introduce new HMAC functions to reuse buffers Gary Lin via Grub-devel
2025-08-14  6:32 ` [PATCH 2/2] lib/pbkdf2: Optimize PBKDF2 by reusing HMAC handle Gary Lin via Grub-devel
2025-08-14  8:32 ` [PATCH 0/2] Optimize PBKDF2 Gary Lin via Grub-devel
2025-10-16 18:02 ` Daniel Kiper [this message]

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=20251016180200.xpfifmvc4phqwhbc@tomti.i.net-space.pl \
    --to=dkiper@net-space.pl \
    --cc=development@efficientek.com \
    --cc=glin@suse.com \
    --cc=grub-devel@gnu.org \
    --cc=mchang@suse.com \
    --cc=phcoder@gmail.com \
    --cc=snwint@suse.com \
    /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 NNTP newsgroup(s).