]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ipe: use SHA-256 library API instead of crypto_shash API
authorEric Biggers <ebiggers@google.com>
Wed, 14 May 2025 05:05:46 +0000 (22:05 -0700)
committerFan Wu <wufan@kernel.org>
Tue, 29 Jul 2025 01:54:18 +0000 (18:54 -0700)
commitb90bb6dbf1d60d70969f8f8f2f30033f49711594
tree0934f9779333d47677dd178e6e26d6ae9f9936cd
parent038d61fd642278bab63ee8ef722c50d10ab01e8f
ipe: use SHA-256 library API instead of crypto_shash API

audit_policy() 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: Fan Wu <wufan@kernel.org>
security/ipe/Kconfig
security/ipe/audit.c