Eric Biggers
11d7956d52
crypto: x86/sha256 - implement library instead of shash
...
Instead of providing crypto_shash algorithms for the arch-optimized
SHA-256 code, instead implement the SHA-256 library. This is much
simpler, it makes the SHA-256 library functions be arch-optimized, and
it fixes the longstanding issue where the arch-optimized SHA-256 was
disabled by default. SHA-256 still remains available through
crypto_shash, but individual architectures no longer need to handle it.
To match sha256_blocks_arch(), change the type of the nblocks parameter
of the assembly functions from int to size_t. The assembly functions
actually already treated it as size_t.
Signed-off-by: Eric Biggers <ebiggers@google.com >
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au >
2025-05-05 18:20:44 +08:00
..
2020-03-25 11:50:48 +01:00
2024-10-28 18:33:10 +08:00
2025-04-07 13:22:27 +08:00
2025-04-07 13:22:27 +08:00
2024-06-07 19:47:58 +08:00
2024-12-21 22:46:24 +08:00
2025-04-07 13:22:28 +08:00
2025-02-14 10:32:05 +01:00
2025-04-07 13:22:27 +08:00
2025-04-07 13:22:27 +08:00
2025-04-07 13:22:27 +08:00
2025-04-07 13:22:27 +08:00
2023-04-20 18:20:04 +08:00
2023-05-24 18:10:27 +08:00
2023-01-06 17:15:47 +08:00
2023-04-20 18:20:04 +08:00
2024-12-14 17:21:44 +08:00
2023-02-10 17:20:19 +08:00
2025-04-07 13:22:27 +08:00
2025-04-07 13:22:27 +08:00
2024-12-14 17:21:44 +08:00
2025-02-14 10:32:05 +01:00
2025-02-14 10:32:05 +01:00
2025-02-14 10:32:05 +01:00
2021-01-14 17:10:30 +11:00
2025-04-07 13:22:27 +08:00
2024-10-10 17:08:02 +08:00
2025-04-07 13:22:27 +08:00
2023-04-20 18:20:04 +08:00
2024-06-07 19:46:39 +08:00
2025-03-15 16:21:22 +08:00
2023-04-20 18:20:04 +08:00
2023-02-03 12:54:54 +08:00
2025-04-23 11:33:47 +08:00
2025-04-23 11:33:47 +08:00
2021-01-14 17:10:28 +11:00
2021-01-14 17:10:28 +11:00
2025-05-05 18:20:44 +08:00
2025-05-05 18:20:44 +08:00
2024-04-12 15:07:52 +08:00
2022-11-25 17:39:19 +08:00
2023-10-20 13:39:25 +08:00
2023-10-20 13:39:25 +08:00
2022-06-10 16:40:17 +08:00
2025-04-28 19:40:54 +08:00
2025-04-07 13:22:27 +08:00
2025-04-07 13:22:27 +08:00
2025-04-07 13:22:27 +08:00
2022-10-17 16:41:01 +02:00
2025-02-14 10:32:05 +01:00
2021-01-14 17:10:30 +11:00
2021-12-08 12:25:37 +01:00
2021-12-08 12:25:37 +01:00
2021-01-14 17:10:30 +11:00
2023-04-20 18:20:04 +08:00
2022-12-14 15:03:00 -08:00
2022-11-25 17:39:19 +08:00
2025-04-23 11:33:47 +08:00
2025-04-23 15:52:46 +08:00
2024-04-12 15:07:52 +08:00
2024-01-03 11:46:22 +01:00
2024-01-03 11:46:22 +01:00
2025-04-23 15:52:47 +08:00
2022-12-14 15:03:00 -08:00
2025-04-07 13:22:27 +08:00
2025-04-07 13:22:27 +08:00
2023-12-08 11:59:45 +08:00
2023-12-08 11:59:45 +08:00
2023-12-08 11:59:45 +08:00
2025-04-07 13:22:27 +08:00
2024-05-31 17:12:21 +08:00
2024-12-14 17:21:44 +08:00
2022-10-17 16:41:03 +02:00
2021-12-08 12:25:37 +01:00
2025-02-14 10:32:05 +01:00
2025-02-14 10:32:05 +01:00
2021-01-14 17:10:30 +11:00