diff options
| author | Eric Biggers <ebiggers@google.com> | 2025-04-28 12:16:06 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-05-01 17:59:32 -0700 |
| commit | 7a4f15cadc5670dbc5fc01d7d75ee8b9443b64fe (patch) | |
| tree | 2f9fef53343b05dc28ac84d7f31d5625055b96c9 /drivers/net/usb/Kconfig | |
| parent | 7840e4d6f48a75413470935ebdc4bab4fc0c035e (diff) | |
| download | lwn-7a4f15cadc5670dbc5fc01d7d75ee8b9443b64fe.tar.gz lwn-7a4f15cadc5670dbc5fc01d7d75ee8b9443b64fe.zip | |
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>
Diffstat (limited to 'drivers/net/usb/Kconfig')
| -rw-r--r-- | drivers/net/usb/Kconfig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/usb/Kconfig b/drivers/net/usb/Kconfig index 3c360d4f0635..370b32fc2588 100644 --- a/drivers/net/usb/Kconfig +++ b/drivers/net/usb/Kconfig @@ -101,9 +101,7 @@ config USB_RTL8152 select MII select PHYLIB select CRC32 - select CRYPTO - select CRYPTO_HASH - select CRYPTO_SHA256 + select CRYPTO_LIB_SHA256 help This option adds support for Realtek RTL8152 based USB 2.0 10/100 Ethernet adapters and RTL8153 based USB 3.0 10/100/1000 |
