]> git.ipfire.org Git - thirdparty/linux.git/commit
apparmor: use SHA-256 library API instead of crypto_shash API
authorEric Biggers <ebiggers@kernel.org>
Mon, 30 Jun 2025 17:48:05 +0000 (10:48 -0700)
committerEric Biggers <ebiggers@kernel.org>
Mon, 14 Jul 2025 18:29:31 +0000 (11:29 -0700)
commitf93c27092a5b61b2ac1a29f1d063a15eb09512f2
treea3befc45f546af39db54d3155a9c418ba0601803
parentc76ed8790b3018fe36647d9aae96e0373f321184
apparmor: use SHA-256 library API instead of crypto_shash API

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.

Acked-by: John Johansen <john.johansen@canonical.com>
Link: https://lore.kernel.org/r/20250630174805.59010-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
security/apparmor/Kconfig
security/apparmor/crypto.c