summaryrefslogtreecommitdiff
path: root/sbox32_hash.h
Commit message (Collapse)AuthorAgeFilesLines
* hv_func.h, hv_macro.h: Rename compile-once guardKarl Williamson2020-11-021-1/+1
| | | | | These #defines are internal-only, so mark them as such by adding a trailing underscore to their names.
* actually fix "implicit fallthrough" warnings in gcc 7Lukas Mai2017-10-141-256/+257
|
* remove the GCC_DIAG_RESTORE pragma as wellYves Orton2017-10-141-2/+0
|
* remove GCC_DIAG_IGNORE from sbox32_hash.hYves Orton2017-10-141-2/+0
|
* fixups for portabilityYves Orton2017-10-141-266/+266
| | | | | a) some platforms want #define to start at col 0 b) some compilers want to know whether fallthrough is expected or not.
* get rid of "implicit fallthrough" warnings with gcc 7Lukas Mai2017-10-131-0/+3
|
* hopefully better macros for building on x86Yves Orton2017-10-121-4/+10
|
* in hash init code preserve constnessYves Orton2017-09-131-1/+1
| | | | | | | | This causes warnings in some our builds as can be seen in some smoke reports: zaphod32_hash.h:185:17: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
* Restore "Add new hashing and "hash with state" infrastructure"Yves Orton2017-06-011-0/+1777
| | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit e6a172f358c0f48c4b744dbd5e9ef6ff0b4ff289, which was a revert of a3bf60fbb1f05cd2c69d4ff0a2ef99537afdaba7. Add new hashing and "hash with state" infrastructure This adds support for three new hash functions: StadtX, Zaphod32 and SBOX, and reworks some of our hash internals infrastructure to do so. SBOX is special in that it is designed to be used in conjuction with any other hash function for hashing short strings very efficiently and very securely. It features compile time options on how much memory and startup time are traded off to control the length of keys that SBOX hashes. This also adds support for caching the hash values of single byte characters which can be used in conjuction with any other hash, including SBOX, although SBOX itself is as fast as the lookup cache, so typically you wouldnt use both at the same time. This also *removes* support for Jenkins One-At-A-Time. It has served us well, but it's day is done. This patch adds three new files: zaphod32_hash.h, stadtx_hash.h, sbox32_hash.h
* Revert "Add new hashing and "hash with state" infrastructure"Yves Orton2017-04-231-1777/+0
| | | | | | This reverts commit a3bf60fbb1f05cd2c69d4ff0a2ef99537afdaba7. Accidentally pushed work pending unfreeze.
* Add new hashing and "hash with state" infrastructureYves Orton2017-04-231-0/+1777
This adds support for three new hash functions: StadtX, Zaphod32 and SBOX, and reworks some of our hash internals infrastructure to do so. SBOX is special in that it is designed to be used in conjuction with any other hash function for hashing short strings very efficiently and very securely. It features compile time options on how much memory and startup time are traded off to control the length of keys that SBOX hashes. This also adds support for caching the hash values of single byte characters which can be used in conjuction with any other hash, including SBOX, although SBOX itself is as fast as the lookup cache, so typically you wouldnt use both at the same time. This also *removes* support for Jenkins One-At-A-Time. It has served us well, but it's day is done. This patch adds three new files: zaphod32_hash.h, stadtx_hash.h, sbox32_hash.h