Thread (11 messages) 11 messages, 3 authors, 2025-06-30

Re: [PATCH] apparmor: use SHA-256 library API instead of crypto_shash API

From: John Johansen <john.johansen@canonical.com>
Date: 2025-05-17 07:46:49
Also in: linux-crypto, lkml

On 5/14/25 14:57, Paul Moore wrote:
On Wed, May 14, 2025 at 12:22 AM Eric Biggers [off-list ref] wrote:
quoted
On Mon, Apr 28, 2025 at 12:04:30PM -0700, Eric Biggers wrote:
quoted
From: Eric Biggers <redacted>

This user of SHA-256 does not support any other algorithm, so the
crypto_shash abstraction provides no value.  Just use the SHA-256
library API instead, which is much simpler and easier to use.

Signed-off-by: Eric Biggers <redacted>
---

This patch is targeting the apparmor tree for 6.16.

  security/apparmor/Kconfig  |  3 +-
  security/apparmor/crypto.c | 85 ++++++--------------------------------
  2 files changed, 13 insertions(+), 75 deletions(-)
Any interest in taking this patch through the apparmor or security trees?
Something like this would need to go through the AppArmor tree.  As a
FYI, the AppArmor devs are fairly busy at the moment so it may take a
bit for them to get around to this.
I am going to see how much of the backlog I can get through while traveling
replies might get batch because I will be mostly off line but hopefully
I can deal with most of it this weekend.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help