]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
apparmor: use SHA-256 library API instead of crypto_shash API
authorEric Biggers <ebiggers@google.com>
Mon, 28 Apr 2025 19:04:30 +0000 (12:04 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Sat, 17 May 2025 08:42:01 +0000 (01:42 -0700)
commite9ed1eb8f6217e53843d82ecf2d50f8d1a93e77c
treefae3e0720d3314883d5ea2f42283d3c579dc4e05
parent2b270e2f43d7498ba00117c60d196435983d83d7
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.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/Kconfig
security/apparmor/crypto.c