History log of /php-src/ext/hash/hash.c (Results 76 – 100 of 205)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-7.3.0RC2, php-5.6.38, php-7.1.22, php-7.3.0RC1, php-7.2.10, php-7.0.32
# 8939c4d9 05-Sep-2018 Dmitry Stogov

Get rid of ZEND_ACC_CTOR, ZEND_ACC_DTOR and ZEND_ACC_IMPLEMENTED_ABSTRACT

Revision tags: php-7.1.22RC1, php-7.3.0beta3, php-7.2.10RC1, php-7.1.21, php-7.2.9, php-7.3.0beta2, php-7.1.21RC1, php-7.3.0beta1, php-7.2.9RC1, php-5.6.37, php-7.1.20, php-7.3.0alpha4, php-7.0.31, php-7.2.8, php-7.1.20RC1, php-7.2.8RC1, php-7.3.0alpha3
# 8d3f8ca1 03-Jul-2018 Peter Kokot

Remove unused Git attributes ident

The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
use

Remove unused Git attributes ident

The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.

In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.

This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.

show more ...

# b6cc4d20 05-Jul-2018 Dmitry Stogov

Use zval_ptr_dtor() instead of zval_dtor() in internal functions that destroy new created object (This is safer and produces less code)

Revision tags: php-7.3.0alpha2, php-7.1.19, php-7.2.7, php-7.1.19RC1, php-7.3.0alpha1, php-7.2.7RC1
# f2b4ec4b 31-May-2018 Dmitry Stogov

Export standard object handlers, to avoid indirect access

# 5eb1f92f 28-May-2018 Dmitry Stogov

Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.

Revision tags: php-7.1.18, php-7.2.6, php-7.2.6RC1, php-7.1.18RC1, php-5.6.36, php-7.2.5, php-7.1.17, php-7.0.30, php-7.1.17RC1, php-7.2.5RC1, php-5.6.35, php-7.0.29, php-7.2.4, php-7.1.16
# f9822b14 14-Mar-2018 Anatol Belski

Remove unused argument

Revision tags: php-7.1.16RC1, php-7.2.4RC1, php-7.1.15, php-5.6.34, php-7.2.3, php-7.0.28
# 701437a9 25-Feb-2018 Gabriel Caruso

Remove return types from some magic method in protos

__construct, __destruct, __wakeup does not have return types defined.

Revision tags: php-7.2.3RC1, php-7.1.15RC1
# 3e6492f3 09-Feb-2018 Anatol Belski

Improve loop vectorization

# e87dfb1d 09-Feb-2018 Anatol Belski

Improve loop vectorization

# 8034fdc9 01-Feb-2018 Gabriel Caruso

Use int instead of integer in proto

Revision tags: php-7.1.14, php-7.2.2, php-7.1.14RC1, php-7.2.2RC1, php-7.1.13, php-5.6.33, php-7.2.1, php-7.0.27
# a6519d05 02-Jan-2018 Xinchen Hui

year++

# 7a7ec01a 02-Jan-2018 Xinchen Hui

year++

# ccd4716e 02-Jan-2018 Xinchen Hui

year++

# 9e709e2f 14-Dec-2017 Dmitry Stogov

Move constants into read-only data segment

Revision tags: php-7.2.1RC1, php-7.1.13RC1, php-7.0.27RC1, php-7.2.0
# b72b1a4e 25-Nov-2017 Nikita Popov

Add zend_object_alloc() API

Using ecalloc() to create objects is expensive, because the
dynamic-size memset() is unreasonably slow. Make sure we only
zero the main object structure w

Add zend_object_alloc() API

Using ecalloc() to create objects is expensive, because the
dynamic-size memset() is unreasonably slow. Make sure we only
zero the main object structure with known size, as the properties
are intialized separately anyway.

Technically we do not need to zero the embedded zend_object
structure either, but as long as the memset argument is constant,
a couple more bytes don't really matter.

show more ...

Revision tags: php-7.1.12, l
# 80d6eb68 17-Nov-2017 Anatol Belski

Fix unsigned comparisons and remove dead code

Fix unsigned comparison

Cleanup never executed block

Fix unsigned comparison

Fix unsigned comparison, diff can't be <

Fix unsigned comparisons and remove dead code

Fix unsigned comparison

Cleanup never executed block

Fix unsigned comparison

Fix unsigned comparison, diff can't be < 0

Fix unsigned comparison

Fix unsigned comparison

Remove dead code

show more ...

Revision tags: php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1
# 0056f52f 31-Oct-2017 Dmitry Stogov

Use interned strings for hash algorithm names (not copyied into SHM)

Revision tags: php-7.1.11, php-5.6.32, php-7.2.0RC5, php-7.0.25, php-7.1.11RC1, php-7.2.0RC4, php-7.0.25RC1, php-7.1.10, php-7.2.0RC3, php-7.0.24, php-7.2.0RC2, php-7.1.10RC1, php-7.0.24RC1, php-7.1.9, php-7.2.0RC1, php-7.0.23, php-7.1.9RC1, php-7.2.0beta3, php-7.0.23RC1, php-7.1.8, php-7.2.0beta2, php-7.0.22
# a6e4a713 23-Jul-2017 Sara Golemon

Add hash_hmac_algos() for filtered is_crypto methods

Revision tags: php-7.1.8RC1, php-7.2.0beta1, php-7.0.22RC1, php-5.6.31, php-7.0.21, php-7.1.7, php-7.2.0alpha3, php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2, php-7.1.6, php-7.2.0alpha1, php-7.0.20, php-7.1.6RC1, php-7.0.20RC1, php-7.1.5, php-7.0.19, php-7.0.19RC1, php-7.1.5RC1, php-7.1.4, php-7.0.18, php-7.1.4RC1, php-7.0.18RC1, php-7.1.3, php-7.0.17, php-7.1.3RC1, php-7.0.17RC1, php-7.1.2, php-7.0.16, php-7.0.16RC1, php-7.1.2RC1, php-5.6.30, php-7.0.15, php-5.6.30RC1, php-7.1.1RC1, php-7.0.15RC1
# b7f59be9 27-Dec-2016 =?UTF-8?q?Rouven=20We=C3=9Fling?=

Refactor HashContext into an object.

This allows better type hinting as well as potentially adding
methods in a followup diff.

Original patch by Rouven Weßling (github.com/reali

Refactor HashContext into an object.

This allows better type hinting as well as potentially adding
methods in a followup diff.

Original patch by Rouven Weßling (github.com/realityking)
Heavily modified by Sara Golemon (github.com/sgolemon)

show more ...

# f149f62d 30-Jan-2017 Sara Golemon

Merge branch 'PHP-7.1'

* PHP-7.1:
Securely zero the hash context key


# 3475c0c0 30-Jan-2017 Sara Golemon

Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
Securely zero the hash context key


# bf0f5327 30-Jan-2017 Sara Golemon

Securely zero the hash context key

# 423c1927 19-Jan-2017 Andrey Andreev

Use hash_ops->is_crypto in hash_init()

# d89d149e 16-Jan-2017 Andrey Andreev

Disallow non-crypto hashes in HMAC and PBKDF2

For this purpose add is_crypto flag to php_hash_ops.

# 4bf7ef08 11-Jan-2017 Andrey Andreev

Add hash_hkdf()

123456789