Johannes Schlüter
d0cb715373
s/PHP 5/PHP 7/
2014-09-19 18:33:14 +02:00
Anatol Belski
55d5bace0e
more usages for ZEND_SECURE_ZERO()
2014-09-19 01:59:55 +02:00
Anatol Belski
a4532f6d4d
fix hash_pbkdf2()
2014-08-28 08:55:05 +02:00
Anatol Belski
6db8d4f829
's' works with size_t round 3
2014-08-27 20:49:36 +02:00
Anatol Belski
3234480827
first show to make 's' work with size_t
2014-08-27 20:49:31 +02:00
Anatol Belski
af59e92b24
master renames phase 7
2014-08-25 21:51:49 +02:00
Anatol Belski
4d997f63d9
master renames phase 3
2014-08-25 20:22:49 +02:00
Anatol Belski
c3e3c98ec6
master renames phase 1
2014-08-25 19:24:55 +02:00
Anatol Belski
7815d23e9e
fix zpp and a bit more
2014-08-21 20:22:18 +02:00
Anatol Belski
63d3f0b844
basic macro replacements, all at once
2014-08-19 08:07:31 +02:00
Pierre Joye
5fa4e047b0
unused var
2014-05-15 11:36:40 +02:00
Dmitry Stogov
f9927a6c97
Merge mainstream 'master' branch into refactoring
...
During merge I had to revert:
Nikita's patch for php_splice() (it probably needs to be applyed again)
Bob Weinand's patches related to constant expression handling (we need to review them carefully)
I also reverted all our attempts to support sapi/phpdbg (we didn't test it anyway)
Conflicts:
Zend/zend.h
Zend/zend_API.c
Zend/zend_ast.c
Zend/zend_compile.c
Zend/zend_compile.h
Zend/zend_constants.c
Zend/zend_exceptions.c
Zend/zend_execute.c
Zend/zend_execute.h
Zend/zend_execute_API.c
Zend/zend_hash.c
Zend/zend_highlight.c
Zend/zend_language_parser.y
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
Zend/zend_variables.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/date/php_date.c
ext/dom/documenttype.c
ext/hash/hash.c
ext/iconv/iconv.c
ext/mbstring/tests/zend_multibyte-10.phpt
ext/mbstring/tests/zend_multibyte-11.phpt
ext/mbstring/tests/zend_multibyte-12.phpt
ext/mysql/php_mysql.c
ext/mysqli/mysqli.c
ext/mysqlnd/mysqlnd_reverse_api.c
ext/mysqlnd/php_mysqlnd.c
ext/opcache/ZendAccelerator.c
ext/opcache/zend_accelerator_util_funcs.c
ext/opcache/zend_persist.c
ext/opcache/zend_persist_calc.c
ext/pcre/php_pcre.c
ext/pdo/pdo_dbh.c
ext/pdo/pdo_stmt.c
ext/pdo_pgsql/pgsql_driver.c
ext/pgsql/pgsql.c
ext/reflection/php_reflection.c
ext/session/session.c
ext/spl/spl_array.c
ext/spl/spl_observer.c
ext/standard/array.c
ext/standard/basic_functions.c
ext/standard/html.c
ext/standard/mail.c
ext/standard/php_array.h
ext/standard/proc_open.c
ext/standard/streamsfuncs.c
ext/standard/user_filters.c
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re
main/php_variables.c
sapi/phpdbg/phpdbg.c
sapi/phpdbg/phpdbg_bp.c
sapi/phpdbg/phpdbg_frame.c
sapi/phpdbg/phpdbg_help.c
sapi/phpdbg/phpdbg_list.c
sapi/phpdbg/phpdbg_print.c
sapi/phpdbg/phpdbg_prompt.c
2014-04-26 00:32:51 +04:00
Nikita Popov
58089c5977
Port ext/hash
...
Unsure what to do about hash_final
2014-04-23 20:34:05 +02:00
Dmitry Stogov
050d7e38ad
Cleanup (1-st round)
2014-04-15 15:40:40 +04:00
Rouven Weßling
2148a88b3d
Add hash_equals() to perform string comparisons that are not vulnerable to timing attacks.
2014-03-17 09:37:28 +01:00
Nikita Popov
e617dfbdf3
Merge branch 'PHP-5.5' into PHP-5.6
2014-03-12 14:16:58 +01:00
Nikita Popov
06bbb657ad
Fix hash_pbkdf2() with missing $length argument
...
Also change the type of some string length variables to ensure
that the zpp call works correctly on platforms where sizeof(int)
!= sizeof(long).
2014-03-12 14:16:18 +01:00
Michael M Slusarz
b88387d341
Fix #66698 : Add fnv1a32 and fnv1a64 hash options
2014-03-06 23:38:51 +01:00
Xinchen Hui
c081ce628f
Bump year
2014-01-03 11:08:10 +08:00
Xinchen Hui
47c9027772
Bump year
2014-01-03 11:06:16 +08: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
4749457a49
HASH_KEY_NON_EXISTANT fix
2013-07-21 20:09:53 -07: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
Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Anthony Ferrara
03536e889a
More cleanup of documentation and comments, as well as code formatting
2012-06-12 15:05:44 -04:00
Anthony Ferrara
43eb8dc04a
Remove un-needed memset, and replacing stray spaces
2012-06-12 14:32:21 -04:00
Anthony Ferrara
df3d351cad
Update error messages to be more inline with PHP standards
2012-06-12 14:10:35 -04:00
Anthony Ferrara
4918acccc6
refactor away un-necessary casts in hashing routines
2012-06-12 14:09:16 -04:00
Anthony Ferrara
6387498823
Create hash_pbkdf2 function addition
2012-06-12 09:57:11 -04:00
Michael Wallner
2d2aefe414
remove Salsa10/Salsa20, which are actually stream ciphers not hash functions
2012-01-17 16:35:32 +00:00
Felipe Pena
8775a37559
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
da376383e8
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Felipe Pena
4737910b69
- Added new parameter parsing option (p - for valid path (string without null byte in the middle))
...
# The tests will be fixed in the next commits
2011-06-06 21:28:16 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +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
Kalle Sommer Nielsen
dd8e59da8f
Removed safe_mode
...
* Removed ini options, safe_mode*
* Removed --enable-safe-mode --with-exec-dir configure options on Unix
* Updated extensions, SAPI's and core
* php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Stanislav Malyshev
129019b9fc
fix 64-bit integer overflow in mhash_keygen_s2k
2010-04-20 00:45:07 +00:00
Rob Richards
7bfd44f79c
fix build - there are now 34 algos
2010-03-25 15:10:49 +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
e4e9eaef4c
Minor fix to constants registered in ext/hash, and update NEWS
2010-03-23 23:39:09 +00:00
Michael Maclean
d05ce25746
Add FNV-1 support to ext/hash
2010-03-23 22:21:39 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Garrett Serack
6cec8d8ed3
- Fix for bug #49223 Inconsistency using get_defined_constants(true)
2009-08-17 21:28:22 +00:00
Scott MacVicar
cbc9e850b9
Add missing prototypes for mhash, no code changes.
2009-05-04 16:37:31 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Scott MacVicar
6267a33aba
MFH Enable salsa hashing algorithm
2008-12-25 13:35:05 +00:00
Scott MacVicar
9c11d5e138
MFH Move mhash extension registration code into the hash module startup. This allows extension_loaded('mhash'); to work.
2008-11-27 21:11:55 +00:00
Felipe Pena
fc2fb50d09
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:35:40 +00:00