]> git.ipfire.org Git - thirdparty/linux.git/commit
r8152: use SHA-256 library API instead of crypto_shash API
authorEric Biggers <ebiggers@google.com>
Mon, 28 Apr 2025 19:16:06 +0000 (12:16 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 2 May 2025 00:59:32 +0000 (17:59 -0700)
commit7a4f15cadc5670dbc5fc01d7d75ee8b9443b64fe
tree2f9fef53343b05dc28ac84d7f31d5625055b96c9
parent7840e4d6f48a75413470935ebdc4bab4fc0c035e
r8152: 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>
Link: https://patch.msgid.link/20250428191606.856198-1-ebiggers@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/usb/Kconfig
drivers/net/usb/r8152.c