1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 18:23:26 +02:00
Commit Graph

29 Commits

Author SHA1 Message Date
Kalle Sommer Nielsen c116326793 Remove $ext_shared usage for ext/hash in the Unix build script (Thanks Christoph for the notice) 2018-10-03 11:36:11 +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
Remi Collet d67873ec99 Fix Bug #75284 sha3 is not supported on bigendian machine 2017-10-03 06:41:46 +02:00
Remi Collet c6c654c303 fix hash build (when build dir != src dir) 2017-05-29 09:55:51 +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
Sara Golemon d244b54c67 Implement SHA3 hashing algorithm 2015-10-15 20:36:49 -07:00
Michael Wallner 611122c22e Merge branch '2Guploads'
* 2Guploads:
  add NEWS entry; add simple test
  more precise condition
  make this work in vc11 too
  Use int64_t and atoll() after discussion with johannes
  ws
  Patch for https://bugs.php.net/bug.php?id=44522 to allow uploading files above 2G.
  unify stdint type usage
2013-08-09 11:47:25 +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
Christopher Jones c6d977dd39 Fix long-standing visual pain point: the misalignment of './configure help' text.
Whitespace changes and a couple of grammar fixes.
2013-08-06 11:06:09 -07:00
Michael Wallner 2d2aefe414 remove Salsa10/Salsa20, which are actually stream ciphers not hash functions 2012-01-17 16:35:32 +00:00
Martin Jansen 3842a993fe Added Jenkins's one-at-a-time hash support to ext/hash. 2010-03-24 15:47:40 +00:00
Michael Maclean d05ce25746 Add FNV-1 support to ext/hash 2010-03-23 22:21:39 +00:00
Scott MacVicar 9e6124f2d1 Enable salsa hashing algorithm 2008-12-25 13:34:49 +00:00
Arnaud Le Blanc 156553ed9a Fixed #45911 (Cannot disable ext/hash) 2008-09-07 13:13:53 +00:00
Antony Dovgal 1084d24e9d this should be "=", not "==" 2008-07-21 07:27:00 +00:00
Scott MacVicar bbc1ff0e9e MFB: Make the old mhash API a wrapper around hash, this removes a dependency. 2008-06-28 15:20:49 +00:00
foobar f0f44a3652 - Fix some configure --help texts 2007-07-03 17:24:39 +00:00
Michael Wallner cc6ac87145 MF51: fix tiger on big endian platforms 2006-02-19 23:43:23 +00:00
Michael Wallner a278e9a74d - use php_hash_* types
# ok with everybody?
2005-11-26 13:15:06 +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
Michael Wallner 4c61cf6f4c - install extension headers
- make the hash algo registry case insensitive
- "export" inline php_hash_bin2hex
2005-11-22 19:17:58 +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