Manuel Mausz
7dbb1bba64
fix failing tests
2013-09-05 09:32:12 +02:00
Manuel Mausz
8ca43527e8
Add support for CryptoPro S-box for GOST
...
This adds a new hash identifier "gost-crypto" which uses the CryptoPro
S-box tables as specified by RFC 4357, section 11.2.
2013-09-05 01:04:25 +02:00
Veres Lajos
1b06e0be96
typo fixes
2013-07-15 00:19:49 -07:00
Stanislav Malyshev
8ac131503d
Merge branch 'PHP-5.5'
...
* PHP-5.5:
Merge branch 'pull-request/341'
Merge branch 'pull-request/341'
2013-06-10 14:31:57 -07:00
Stanislav Malyshev
02e4d7a290
Merge branch 'pull-request/341'
...
* pull-request/341: (23 commits)
typofixes
2013-06-10 14:30:59 -07:00
Anthony Ferrara
2129c70896
Merge branch 'PHP-5.5'
...
* PHP-5.5:
Fix #64745 hash_pbkdf2 truncation issue
2013-05-28 15:38:11 -04:00
Anthony Ferrara
540a5a52e8
Fix #64745 hash_pbkdf2 truncation issue
...
When using hash_pbkdf2 with hex output and 0 length (auto), it incorrectly
truncates the result to 1/2 the expected result.
2013-05-28 15:30:45 -04:00
Sara Golemon
6aefaad46e
Fix race condition when ext/hash/tests run in parallel
2013-04-30 16:28:37 -07:00
Anthony Ferrara
2f1cd2cb13
Fix tests to use proper casing
2012-06-12 14:52:43 -04:00
Anthony Ferrara
6387498823
Create hash_pbkdf2 function addition
2012-06-12 09:57:11 -04:00
Michael Wallner
260e77709d
fix tests failing due to corrected hash tiger
...
mhash_00{1,3}.phpt were failing because of the corrected hash tiger byte
output order
fixes bug #60922 :
tests fail for mhash() and mhash_keygen_s2k() functions and MHASH_TIGER
2012-03-19 21:49:47 +01:00
Michael Wallner
6a7bbb1561
merge ext/hash from trunk
2012-01-18 09:15:34 +00:00
Xinchen Hui
42fd7352fb
Add skipif
2011-09-06 09:29:04 +00:00
Pierre Joye
45420bb669
- remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ, missing tests changes in 5.4
2011-07-22 11:56:20 +00:00
Felipe Pena
e66279a55e
- Fixed bug #52240 (hash_copy() does not copy the HMAC key, causes wrong results and PHP crashes)
2010-07-03 13:06:14 +00:00
Martin Jansen
71ec12cc78
JOAAT hashing now supports incremental hashing.
2010-03-28 10:01:02 +00:00
Martin Jansen
2bc269d375
Fixed test for the recently added algorithmus and made it more
...
debuggable by adding the names of the algorithmus to the output.
2010-03-25 16:05:27 +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
27a1ce801c
MFH Fix bug #48284 - adler32 is in the wrong order. Changed to match what zlib produces.
2009-06-30 13:21:53 +00:00
andy wharmby
c41cc6aaed
New hash extension tests. Tested on Windows, Linux and Linux 64-bit
2009-01-07 14:32:46 +00:00
Felipe Pena
4cf4b5bf44
- MFH: Fix test
2008-12-27 01:05:07 +00:00
Felipe Pena
c0611c10ef
- Fixed condition
2008-10-26 23:34:13 +00:00
Antony Dovgal
eaec817e1b
update tests
2008-09-18 12:16:15 +00:00
Scott MacVicar
d875c9f889
MFH: mhash algorithm parameter was modified when it was a zval, also update a test.
2008-09-18 11:59:13 +00:00
Antony Dovgal
523cccc09d
MFH: fix bug #45028 (CRC32 output endianness is different between crc32() and hash())
2008-08-18 14:29:55 +00:00
Scott MacVicar
cc7e8970de
Make the old mhash API a wrapper around hash, this removes a dependency.
2008-06-26 22:33:16 +00:00
Raghubansh Kumar
24f01f7ab0
New testcases for hash_file(), Committed for Felix De Vliegher, TestFest Task No: 75 & 76, Tested on RHEL5 -32bit, WinXP-32bit
2008-06-24 15:44:50 +00:00
Antony Dovgal
2ac1ba6254
fix tests
2008-06-04 07:38:10 +00:00
Scott MacVicar
d06e683922
Correct test name
2008-06-02 14:14:26 +00:00
Scott MacVicar
b83fbba9f3
Add sha224 support.
2008-06-02 12:24:23 +00:00
Antony Dovgal
7c98e674b5
[DOC] add hash_copy() to be able to copy hash resource
2008-04-21 15:37:46 +00:00
Sara Golemon
2eb308ff75
Backport md2, ripemd256, and ripemd320 algos from HEAD
2006-11-15 20:06:09 +00:00
Michael Wallner
3cfdbdbd12
- add adler32 test
2005-12-03 10:31:01 +00:00
Michael Wallner
f5fae65194
MFH: add crc32 test
2005-12-03 10:18:38 +00:00
Sara Golemon
860c3a5a32
MFH: Add MD4
2005-12-03 01:17:48 +00:00
Ilia Alshanetsky
950de07889
Added hash extension to PHP 5.1
2005-12-02 01:59:48 +00:00