diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2025-11-09 15:47:21 -0800 |
|---|---|---|
| committer | Eric Biggers <ebiggers@kernel.org> | 2025-11-11 11:03:38 -0800 |
| commit | d35abc0b1ddff64934dc6ab637f7b5ce1cd1d91f (patch) | |
| tree | 1c5de0b47a549e4fe26ecfa37c57cc5299478669 /scripts/livepatch/init.c | |
| parent | 4d8da35579daad0392d238460ed7e9629d49ca35 (diff) | |
crypto: hctr2 - Convert to use POLYVAL library
The "hash function" in hctr2 is fixed at POLYVAL; it can never vary.
Just use the POLYVAL library, which is much easier to use than the
crypto_shash API. It's faster, uses fixed-size structs, and never fails
(all the functions return void).
Note that this eliminates the only known user of the polyval support in
crypto_shash. A later commit will remove support for polyval from
crypto_shash, given that the library API is sufficient.
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20251109234726.638437-7-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'scripts/livepatch/init.c')
0 files changed, 0 insertions, 0 deletions
