Commit Graph

56 Commits

Author SHA1 Message Date
Garrett Serack
e721b2461c - Fix for bug #49223 Inconsistency using get_defined_constants(true) 2009-08-17 21:28:22 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Scott MacVicar
9e6124f2d1 Enable salsa hashing algorithm 2008-12-25 13:34:49 +00:00
Scott MacVicar
da92e56c8e Move mhash extension registration code into the hash module startup. This allows extension_loaded('mhash'); to work. 2008-11-27 21:11:51 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Scott MacVicar
8ee4a8fd7c mhash algorithm parameter was modified when it was a zval, also update a test. 2008-09-18 11:52:12 +00:00
Antony Dovgal
74a52caa2c use long for "l" 2008-07-14 10:49:10 +00:00
Scott MacVicar
fa42e815a8 MFB: Fix break caused by previous commit, warning and remove zend_get_parameters() 2008-07-05 00:34:24 +00:00
Pierre Joye
dad71addef - MFB: fix compile error with VC6 2008-07-04 21:01:26 +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
Scott MacVicar
f78b458ecd MFB: Add snefru256 as an alias for snefru, since in reality that is the implementation. 2008-06-03 17:27:10 +00:00
Scott MacVicar
9e209e8928 MFB: Add sha224 support. 2008-06-02 14:13:49 +00:00
Antony Dovgal
f443488507 [DOC] add hash_copy() to be able to copy hash resource 2008-04-21 15:37:07 +00:00
Antony Dovgal
5b6995730d fix folding 2008-04-04 07:47:18 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Sara Golemon
88322b95b3 Fix hash_init() for PHP < 6 2007-08-24 21:27:38 +00:00
Michael Wallner
56fcde4f4a - version agnosticism (PECL/HEAD)
- release 1.4
# you ignorants shall burn in hell
2007-05-30 07:10:25 +00:00
Sara Golemon
bfc19a1411 MFB(r-1.18.2.5.2.7) Use slprintf() instead of snprintf() - Bad Ilia, no biscuit for you. 2007-05-26 03:56:41 +00:00
Nuno Lopes
2b8323c34a MFB: constify 2007-01-08 22:29:52 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Sara Golemon
7b5058378c Allow hash()/hash_hmac() to accept ascii-unicode data,
Update tests to work in unicode.semantics mode.
2006-10-02 01:38:05 +00:00
Sara Golemon
6781debeb8 Add ripemd256 and ripemd320 algos 2006-09-20 01:48:06 +00:00
Sara Golemon
5cb3858aa3 PHP6 Updates 2006-09-20 00:32:54 +00:00
Sara Golemon
c8f96d157d Strip unused implementations of md5(), md5_file(), sha1(), and sha1_file()
from this extension.

It was decided a few months ago that those implementations would simply
stay in ext/standard and never leave.
2006-09-19 23:42:49 +00:00
Ilia Alshanetsky
f6b0244790 MFB: cleanup of the phpinfo() output. 2006-07-28 14:27:17 +00:00
Hannes Magnusson
587311d07e Added argument info
Fixed protos
Fixed vim folding
2006-06-17 13:00:21 +00:00
Michael Wallner
b31ca2c43d MF52: nuke compiler warnings 2006-05-19 14:30:48 +00:00
Michael Wallner
73ed69f60d - version agnosticism (PECL/HEAD) 2006-03-03 20:44:05 +00:00
Sara Golemon
3b7d690912 Add md2 algo support 2006-02-21 20:37:12 +00:00
Dmitry Stogov
0f1209ab3d Portable unicode string API:
- use the same type (int) for zval.value.usr.len and zval.value.str.len
  - use union "zstr" as char*/UChar* mixture instead of void*
  - Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
  - nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Andi Gutmans
1efe984d08 - Get rid of using ENFORCE_SAFE_MODE. 2006-02-19 04:29:42 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
Sara Golemon
c456c16952 Add MD4 support 2005-12-03 00:51:30 +00:00
Sara Golemon
73012ee257 Add hash_hmac() and hash_hmac_file() for single shot HMAC calculations 2005-12-01 04:53:55 +00:00
Michael Wallner
f79f89e265 - fix PHP4 build 2005-11-30 11:11:52 +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
d11d157c9f - no trailing NULs 2005-11-23 16:36:11 +00:00
Ilia Alshanetsky
083874aab2 emalloc -> safe_emalloc 2005-11-23 00:19:20 +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
9496259e1a Fix double-final potentially causing double-free 2005-11-21 06:05:37 +00:00