#
46aa6286 |
| 21-Sep-2015 |
Scott |
Different error message if makedev check fails
|
Revision tags: php-5.6.14RC1, php-7.0.0RC3 |
|
#
6554f721 |
| 09-Sep-2015 |
Scott |
Add support for getrandom(2), add type check on file descriptor Fix to_read, throw exception if syscall fails Fixes thanks to feedback from sarnold at ##crypto on freenode
Add support for getrandom(2), add type check on file descriptor Fix to_read, throw exception if syscall fails Fixes thanks to feedback from sarnold at ##crypto on freenode Correction on error conditions Remove dead code (thanks @defuse) It turns out getrandom can take >256, getentropy refuses. Better semantics Thanks @defuse for catching my silly mistake here Cast to size_t to be explicit Let's simplify the logic a bit Let's be consistent; define everything before we do any logic Continuously check that the file descriptor is still a valid one Add device type check on fd initialization
show more ...
|
#
c12917aa |
| 08-Sep-2015 |
Bob Weinand |
Merged RFC Random Functions Throwing Exceptions in PHP 7 Squashes commits from PR #1397 commit cd5dcc8c9eb43603d908abcea69c9e18df0f2ed5 Author: SammyK <sammyk@sammykmedia.com> Da
Merged RFC Random Functions Throwing Exceptions in PHP 7 Squashes commits from PR #1397 commit cd5dcc8c9eb43603d908abcea69c9e18df0f2ed5 Author: SammyK <sammyk@sammykmedia.com> Date: Tue Sep 8 13:53:42 2015 -0500 Add min max samezies commit b719499218a4e84efecd4dc1d4235d16142c9793 Author: SammyK <sammyk@sammykmedia.com> Date: Wed Sep 2 07:00:25 2015 -0500 Make random_bytes() throw Error when $length <= 0 and random_int() throw Error when $min > $max commit 0cca557291c278716ec4b00b32fc2bdc1c1c8848 Author: SammyK <sammyk@sammykmedia.com> Date: Wed Sep 2 06:55:59 2015 -0500 Make random_*() functions throw Error exception when random bytes cannot be obtained commit 998c7f1e209123605b41139e8d9093075ce16bd6 Author: SammyK <sammyk@sammykmedia.com> Date: Wed Sep 2 06:41:20 2015 -0500 Make random_*() functions throw TypeError when zend_parse_parameters fails commit 99d305c18820ff55d82d952777cbcdf1cf0158be Author: SammyK <sammyk@sammykmedia.com> Date: Mon Jul 6 19:50:47 2015 -0500 Make exceptions less specific commit b042dfab290713366741a663a420cf12bf802f39 Author: SammyK <sammyk@sammykmedia.com> Date: Mon Jul 6 17:20:13 2015 -0500 Upgrade warnings to RuntimeExceptions
show more ...
|
Revision tags: php-5.6.13, php-7.0.0RC2, php-5.5.29, php-5.4.45, php-5.6.13RC1, php-7.0.0RC1 |
|
#
cbcacbb2 |
| 12-Aug-2015 |
Anatol Belski |
improve condition read() == 0 is EOL
|
Revision tags: php-5.6.12, php-5.5.28, php-7.0.0beta3, php-5.4.44, php-5.6.12RC1, php-7.0.0beta2, php-7.0.0beta1, php-5.6.11, php-5.5.27, php-5.4.43 |
|
#
4a2e40bb |
| 30-Jun-2015 |
Dmitry Stogov |
Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).
|
Revision tags: php-5.6.11RC1, php-5.5.27RC1, php-7.0.0alpha2, php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42, POST_PHP7_NSAPI_REMOVAL, PRE_PHP7_NSAPI_REMOVAL, php-5.6.10RC1, php-5.5.26RC1, php-5.5.25, php-5.6.9, php-5.4.41 |
|
#
cf7e5357 |
| 10-May-2015 |
Lauri Kenttä |
random_int: Fix power of two check. (x & ~x) is always 0. ((x & (~x + 1)) != x) works. ((x & (x - 1)) != 0) works too.
|
#
dd269262 |
| 09-May-2015 |
SammyK |
Add tests for CSPRNG, fix C99 comments Also replace one return; with RETURN_FALSE; for consistency.
|
Revision tags: php-5.6.9RC1, php-5.5.25RC1, php-5.6.8, php-5.5.24, php-5.4.40, php-5.6.8RC1, php-5.5.24RC1, php-5.6.7, php-5.5.23, php-5.4.39, php-5.6.7RC1, php-5.5.23RC1, POST_PHP7_EREG_MYSQL_REMOVALS, PRE_PHP7_EREG_MYSQL_REMOVALS |
|
#
5f1b83e9 |
| 21-Feb-2015 |
Leigh |
Improve CSPRNG implementation
|
Revision tags: php-5.6.6, php-5.5.22, php-5.4.38 |
|
#
bc54d139 |
| 13-Feb-2015 |
SammyK |
Initial implementation for CSPRNG API
|