Commit Graph

24 Commits

Author SHA1 Message Date
Kalle Sommer Nielsen
e632537c83 Remove usage of HAVE_HASH_EXT and COMPILE_DL_HASH as ext/hash is always available (master only) 2019-03-20 20:43:35 +02:00
Anatol Belski
8cd345acb1 Heedlessly enable thread LS cache for ext/hash.
It's always static now and as such always has access to the cached
TLS pointer.
2019-03-02 21:25:35 +01:00
Peter Kokot
37c329d715 Trim trailing whitespace in source code files 2018-10-13 14:17:28 +02:00
Kalle Sommer Nielsen
bf34442581 Implemented RFC "Always available hash extension" 2018-10-03 08:47:07 +02:00
Peter Kokot
8d3f8ca12a Remove unused Git attributes ident
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.

In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.

This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
2018-07-25 00:53:25 +02:00
Anatol Belski
85b0b8a739 fix typo 2017-05-28 21:15:52 +02:00
Christian Schneider
91663a92d1 Replace slow generic sha3 implementation by https://github.com/gvanas/KeccakCodePackage
Fix hash_copy() tests by using correct size for sha3 context

sync config.w32 with with new sha3 files

Move dependency on KeccakHash.h to hash_sha3.c so we do not rely on it to install php_hash_sha3.h

Allocate memory for KeccacInstance in hash_sha3.c so header files do not need to know about implementation details while keeping API backward compatible to original sha3 implementation

Fix memory leak because hash_copy is called after init which already allocates the hashinstance
2017-05-28 12:50:33 +02:00
Anatol Belski
1b72ddf0d0 sync config.w32 with sha3 implementation 2015-10-16 12:18:35 +02:00
Michael Wallner
14caf174ff unify stdint type usage
if you need C99 stdint types, just include "php_stdint.h"
2013-08-06 22:49:56 +02:00
Michael Wallner
2d2aefe414 remove Salsa10/Salsa20, which are actually stream ciphers not hash functions 2012-01-17 16:35:32 +00:00
Pierre Joye
a7ffa09e18 - add PHP_INSTALL_HEADERS to all parts (core&exts) exposing headers, generate the install-headers cmd 2010-12-11 22:18:10 +00:00
Martin Jansen
0a852eab93 Added FNV and Jenkins's one-at-a-time support to the Windows build. 2010-03-24 16:30:37 +00:00
Scott MacVicar
9e6124f2d1 Enable salsa hashing algorithm 2008-12-25 13:34:49 +00:00
Pierre Joye
85204e95f8 - fix build.. 2008-11-27 21:57:15 +00:00
Scott MacVicar
d2bbad4f1b Sort Windows changes for mhash BC layer 2008-06-28 15:30:45 +00:00
Edin Kadribasic
75287c2261 MFB: Sync with source distro, enable hash by default 2006-03-03 14:35:29 +00:00
Michael Wallner
90561e4fe8 - add crc32 2005-11-26 00:08:06 +00:00
Michael Wallner
6c16fac2b5 - add adler32 2005-11-25 23:12:44 +00:00
Michael Wallner
7a9fcb329f - add gost algo
- declare tables static
2005-11-25 16:12:30 +00:00
Michael Wallner
f1054f3473 - add snefru algo
- fix empty else in config.m4
2005-11-25 11:54:49 +00:00
Michael Wallner
4ce1074df9 - add tiger algo 2005-11-24 08:59:54 +00:00
Michael Wallner
ddc2444d2c - add whirlpool algo 2005-11-23 21:15:41 +00:00
Sara Golemon
7ad4fb0c27 Add HAVAL algorithm
Bit widths: 128, 160, 192, 224, 256
Passes: 3, 4, 5
2005-11-20 20:14:22 +00:00
Sara Golemon
5c213de12e Initial Commit 2005-11-18 19:51:09 +00:00