Eric Biggers
8bc79ab67d
crypto: sha1 - Wrap library and add HMAC support
...
Like I did for crypto/sha512.c, rework crypto/sha1_generic.c (renamed to
crypto/sha1.c) to simply wrap the normal library functions instead of
accessing the low-level block function directly. Also add support for
HMAC-SHA1, again just wrapping the library functions.
Since the replacement crypto_shash algorithms are implemented using the
(potentially arch-optimized) library functions, give them driver names
ending with "-lib" rather than "-generic". Update crypto/testmgr.c and
an odd driver to take this change in driver name into account.
Note: to see the diff from crypto/sha1_generic.c to crypto/sha1.c, view
this commit with 'git show -M10'.
Reviewed-by: Ard Biesheuvel <ardb@kernel.org >
Link: https://lore.kernel.org/r/20250712232329.818226-6-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org >
2025-07-14 08:59:20 -07:00
..
2025-06-09 07:16:32 -07:00
2025-06-18 21:12:13 +02:00
2025-06-06 11:50:47 -07:00
2025-06-25 15:17:57 +02:00
2025-06-25 15:28:57 -07:00
2025-06-08 09:07:37 +02:00
2025-06-10 19:23:25 +02:00
2025-06-27 09:02:33 -07:00
2025-06-20 11:55:03 -04:00
2025-06-08 09:07:37 +02:00
2025-07-04 10:18:53 -07:00
2025-05-30 09:15:40 -07:00
2025-06-03 11:53:55 -07:00
2025-06-08 09:07:37 +02:00
2025-05-24 08:29:32 +02:00
2025-06-12 10:31:28 +05:30
2025-05-30 20:21:36 +02:00
2025-07-14 08:59:20 -07:00
2025-06-25 12:05:45 -07:00
2025-06-08 09:07:37 +02:00
2025-06-11 13:18:07 +02:00
2025-06-25 16:40:03 +02:00
2025-06-08 09:07:37 +02:00
2025-06-07 10:05:35 -07:00
2025-05-21 14:08:44 +02:00
2025-06-18 12:19:39 +02:00
2025-06-28 06:53:00 +10:00
2025-06-08 09:07:37 +02:00
2025-06-26 17:06:01 -07:00
2025-06-08 09:07:37 +02:00
2025-06-03 08:39:20 -07:00
2025-06-16 06:30:58 -07:00
2025-05-22 18:04:43 +02:00
2025-06-27 12:28:33 +02:00
2025-05-24 22:49:07 +02:00
2025-06-10 21:09:28 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-05-19 17:09:50 +03:00
2025-06-13 17:02:31 +02:00
2025-06-20 21:38:52 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-23 15:02:57 -07:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-03 11:53:55 -07:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-19 19:13:21 +02:00
2025-06-26 11:02:23 +02:00
2025-06-08 09:07:37 +02:00
2025-06-27 09:02:33 -07:00
2025-06-06 11:50:47 -07:00
2025-05-31 15:44:16 -07:00
2025-05-19 15:37:53 +05:30
2025-06-08 09:07:37 +02:00
2025-06-27 20:17:48 -07:00
2025-06-08 09:07:37 +02:00
2025-05-28 14:55:35 -07:00
2025-06-05 08:20:21 -07:00
2025-06-10 14:35:40 +02:00
2025-06-25 23:39:22 +02:00
2025-05-19 16:11:05 +02:00
2025-05-31 19:12:53 -07:00
2025-06-08 09:07:37 +02:00
2025-06-17 16:13:09 -07:00
2025-06-06 13:16:50 -07:00
2025-06-11 22:42:36 -07:00
2025-06-16 13:26:23 +01:00
2025-06-02 11:04:29 -07:00
2025-05-20 21:46:10 -05:00
2025-06-08 09:07:37 +02:00
2025-06-16 16:15:24 +02:00
2025-06-19 23:07:57 -04:00
2025-05-31 07:53:30 -07:00
2025-06-05 08:07:24 -07:00
2025-06-24 16:40:31 +01:00
2025-05-21 14:53:17 +02:00
2025-06-19 17:33:43 +02:00
2025-06-16 14:35:57 -04:00
2025-05-27 16:28:02 -07:00
2025-05-21 12:26:51 +02:00
2025-06-24 15:34:21 +01:00
2025-06-19 22:51:51 -04:00
2025-06-06 11:50:47 -07:00
2025-06-08 09:07:37 +02:00
2025-05-27 10:27:53 -04:00
2025-06-04 11:26:17 -07:00
2025-05-29 08:15:35 -07:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-05-27 10:27:54 -04:00
2025-06-06 11:50:47 -07:00
2025-06-08 09:07:37 +02:00
2025-05-23 07:09:00 +02:00