diff options
| author | Eric Biggers <[email protected]> | 2025-06-30 17:22:24 +0000 |
|---|---|---|
| committer | Eric Biggers <[email protected]> | 2025-07-14 18:29:32 +0000 |
| commit | 998646b3c1129188f1fdffac3779feb9708b4b4a (patch) | |
| tree | d7cce8b2f1073958caca922909e1951ed8b3ef3f /lib/crypto/mpi/mpi-add.c | |
| parent | fsverity: Explicitly include <linux/export.h> (diff) | |
| download | kernel-998646b3c1129188f1fdffac3779feb9708b4b4a.tar.gz kernel-998646b3c1129188f1fdffac3779feb9708b4b4a.zip | |
fsverity: Switch from crypto_shash to SHA-2 library
fsverity supports two hash algorithms: SHA-256 and SHA-512. Since both
of these have a library API now, just use the library API instead of
crypto_shash. Even with multiple algorithms, the library-based code
still ends up being quite a bit simpler, due to how clumsy the
old-school crypto API is. The library-based code is also more
efficient, since it avoids overheads such as indirect calls.
Acked-by: Ard Biesheuvel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Eric Biggers <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
