aboutsummaryrefslogtreecommitdiffstats
path: root/rust/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2025-11-09 15:47:21 -0800
committerEric Biggers <ebiggers@kernel.org>2025-11-11 11:03:38 -0800
commitd35abc0b1ddff64934dc6ab637f7b5ce1cd1d91f (patch)
tree1c5de0b47a549e4fe26ecfa37c57cc5299478669 /rust/ssh:/git@git.zx2c4.com
parentlib/crypto: x86/polyval: Migrate optimized code into library (diff)
downloadlinux-rng-d35abc0b1ddff64934dc6ab637f7b5ce1cd1d91f.tar.xz
linux-rng-d35abc0b1ddff64934dc6ab637f7b5ce1cd1d91f.zip
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 'rust/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions