1
0
mirror of https://github.com/php/php-src.git synced 2026-04-17 21:11:02 +02:00
Commit Graph

19 Commits

Author SHA1 Message Date
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