Commit Graph

34 Commits (master)

Author SHA1 Message Date
Ævar Arnfjörð Bjarmason 9dc523aa0e Makefile + hash.h: remove PPC_SHA1 implementation 3 weeks ago
brian m. carlson 544d93bc3b block-sha1: remove use of obsolete x86 assembly 7 months ago
René Scharfe 3d8cbbf2c3 block-sha1: drop trailing semicolon from macro definition 2 years ago
Jeff King 9bb4542b8c block-sha1: take a size_t length parameter 2 years ago
Atousa Pahlevan Duprat 3bc72fde3f sha1: provide another level of indirection for the SHA-1 functions 7 years ago
Jeff King 802b123366 block-sha1: factor out get_be and put_be wrappers 9 years ago
Junio C Hamano 6b2dd0e56b block-sha1/sha1.c: have SP around arithmetic operators 9 years ago
Jonathan Nieder 23119ffb4e block-sha1: put expanded macro parameters in parentheses 10 years ago
Jonathan Nieder 5f6a11259a block-sha1: avoid pointer conversion that violates alignment constraints 10 years ago
Ramsay Jones 078e9bce1e msvc: Select the "fast" definition of the {get,put}_be32() macros 12 years ago
Ramsay Jones 9eafa1201b msvc: Fix some compiler warnings 12 years ago
Nicolas Pitre 30ae47b4cc remove ARM and Mozilla SHA1 implementations 13 years ago
Nicolas Pitre e9c5dcd131 block-sha1: guard gcc extensions with __GNUC__ 13 years ago
Nicolas Pitre 51ea55190b make sure byte swapping is optimal for git 13 years ago
Nicolas Pitre d5f6a96fa4 block-sha1: make the size member first in the context struct 13 years ago
Brandon Casey a12218572f block-sha1/sha1.c: silence compiler complaints by casting void * to char * 13 years ago
Nicolas Pitre ee7dc310af block-sha1: more good unaligned memory access candidates 13 years ago
Nicolas Pitre 660231aa97 block-sha1: support for architectures with memory alignment restrictions 13 years ago
Nicolas Pitre dc52fd2973 block-sha1: split the different "hacks" to be individually selected 13 years ago
Nicolas Pitre 30ba0de726 block-sha1: move code around 13 years ago
Linus Torvalds 926172c5e4 block-sha1: improve code on large-register-set machines 13 years ago
Linus Torvalds 66c9c6c0fb block-sha1: improved SHA1 hashing 13 years ago
Linus Torvalds 30d12d4c16 block-sha1: perform register rotation using cpp 13 years ago
Linus Torvalds 5d5210c35a block-sha1: get rid of redundant 'lenW' context 13 years ago
Linus Torvalds e869e113c8 block-sha1: Use '(B&C)+(D&(B^C))' instead of '(B&C)|(D&(B|C))' in round 3 13 years ago
Linus Torvalds ab14c823df block-sha1: macroize the rounds a bit further 13 years ago
Linus Torvalds 7b5075fcfb block-sha1: re-use the temporary array as we calculate the SHA1 13 years ago
Linus Torvalds 139e3456ec block-sha1: make the 'ntohl()' part of the first SHA1 loop 13 years ago
Junio C Hamano fd536d3439 block-sha1: minor fixups 13 years ago
Linus Torvalds b8e48a89b8 block-sha1: try to use rol/ror appropriately 13 years ago
Junio C Hamano b26a9d5089 block-sha1: undo ctx->size change 13 years ago
Linus Torvalds d7c208a92e Add new optimized C 'block-sha1' routines 13 years ago