aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2025-07-12 16:22:58 -0700
committerEric Biggers <ebiggers@kernel.org>2025-07-14 11:11:29 -0700
commit70cb6ca58fddb02e269fe743ba75d53d577b5b1c (patch)
treefc0f7e08c047a35fbf765981731a6b24cb9fc652 /lib/crypto/mpi/mpi-sub-ui.c
parentcrypto: sha1 - Use same state format as legacy drivers (diff)
downloadlinux-70cb6ca58fddb02e269fe743ba75d53d577b5b1c.tar.gz
linux-70cb6ca58fddb02e269fe743ba75d53d577b5b1c.zip
lib/crypto: arm/sha1: Migrate optimized code into library
Instead of exposing the arm-optimized SHA-1 code via arm-specific crypto_shash algorithms, instead just implement the sha1_blocks() library function. This is much simpler, it makes the SHA-1 library functions be arm-optimized, and it fixes the longstanding issue where the arm-optimized SHA-1 code was disabled by default. SHA-1 still remains available through crypto_shash, but individual architectures no longer need to handle it. To match sha1_blocks(), 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. Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20250712232329.818226-8-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
Stephen Haberman1-1/+1 2008-09-26Remove empty directories in recursive mergeAlex Riesen2-3/+12 2008-09-26Documentation: clarify the details of overriding LESS via core.pagerChris Frey1-2/+11 2008-09-25Update release notes for 1.6.0.3Shawn O. Pearce1-1/+17 2008-09-25checkout: Do not show local changes when in quiet modeJonas Fonseca1-1/+1 2008-09-24for-each-ref: Fix --format=%(subject) for log message without newlinesJohan Herland1-2/+2 2008-09-24git-stash.sh: don't default to refs/stash if invalid ref suppliedBrandon Casey1-2/+15 2008-09-24maint: check return of split_cmdline to avoid bad config stringsDeskin Miller3-0/+14 2008-09-23builtin-prune.c: prune temporary packs in <object_dir>/pack directoryBrandon Casey1-10/+12 2008-09-22t4018-diff-funcname: test syntax of builtin xfuncname patternsBrandon Casey1-0/+11 2008-09-22Do not perform cross-directory renames when creating packsPetr Baudis4-5/+5 2008-09-22Use dashless git commands in setgitperms.perlTodd Zullinger1-2/+2 2008-09-22git-remote: do not use user input in a printf format stringJohannes Sixt1-10/+8 2008-09-22make "git remote" report multiple URLsMichael J Gruber1-8/+15 2008-09-20diff hunk pattern: fix misconverted "\{" tex macro introducersJunio C Hamano1-2/+2 2008-09-19diff: use extended regexp to find hunk headersJunio C Hamano1-14/+17 2008-09-19Start draft release notes for 1.6.0.3Junio C Hamano2-1/+30 2008-09-19git-repack uses --no-repack-object, not --no-repack-delta.Mikael Magnusson2-2/+2 2008-09-19Typo "bogos" in format-patch error message.Mikael Magnusson1-1/+1 2008-09-19builtin-clone: fix typoFabrizio Chiarello1-1/+1 2008-09-19Bust the ghost of long-defunct diffcore-pathspec.Yann Dirson2-34/+22 2008-09-19completion: git commit should list --interactiveEric Raible1-1/+1 2008-09-18diff.*.xfuncname which uses "extended" regex's for hunk header selectionBrandon Casey3-3/+8 2008-09-18diff.c: associate a flag with each pattern and use it for compiling regexBrandon Casey3-12/+15 2008-09-18diff.c: return pattern entry pointer rather than just the hunk header patternBrandon Casey1-27/+28 2008-09-18sha1_file: link() returns -1 on failure, not errnoThomas Rast1-1/+3 2008-09-18Make git archive respect core.autocrlf when creating zip format archivesCharles Bailey2-1/+3