History log of /PHP-8.0/ext/sodium/libsodium.c (Results 26 – 50 of 102)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 15ba7df2 14-Oct-2018 Frank Denis

ext/sodium: Use a correct max output size for base64 decoding

Also handle the case where the function is not available in test.

Backport from PECL libsodium-php 2.0.12


# d0574581 14-Oct-2018 Frank Denis

ext/sodium: Avoid shifts wider than 32 bits on size_t values

Backport from PECL libsodium-php 2.0.10


Revision tags: php-7.1.23, php-7.2.11, php-7.3.0RC3
# 950c338f 29-Sep-2018 James Titcumb

Fix reflection arguments for sodium_memzero function


Revision tags: php-7.1.23RC1, php-7.2.11RC1, php-7.3.0RC2, php-5.6.38, php-7.1.22, php-7.3.0RC1, php-7.2.10, php-7.0.32, 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, php-7.3.0alpha2, php-7.1.19, php-7.2.7, php-7.1.19RC1, php-7.3.0alpha1, php-7.2.7RC1
# 695b8192 04-Jun-2018 Keyur Govande

Avoid leaking the urandom fd

When Apache is reloaded, it unloads the extension, but the open file descriptor to /dev/urandom is left hanging around and is leaked. This fixes the bug.

Avoid leaking the urandom fd

When Apache is reloaded, it unloads the extension, but the open file descriptor to /dev/urandom is left hanging around and is leaked. This fixes the bug.

Duplicate of https://github.com/jedisct1/libsodium-php/pull/173

show more ...


Revision tags: php-7.1.18, php-7.2.6, php-7.2.6RC1, php-7.1.18RC1
# 524f5245 08-May-2018 Dmitry Stogov

Avoid useless checks, using zend_string_efree(), in cases where the string is known to be a temporary allocated zend_string.


Revision tags: 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, php-7.1.16RC1, php-7.2.4RC1, php-7.1.15, php-5.6.34, php-7.2.3, php-7.0.28, php-7.2.3RC1, php-7.1.15RC1, 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++


# 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
# fc879349 29-Nov-2017 Frank Denis

Revert "Revert "ext/sodium: pwhash: do not warn on low parameters""
This reverts commit a1845b7fdb5916b0951146ca18bb67ca83854733.

Revert "Revert "ext/sodium: throw exceptions instead of

Revert "Revert "ext/sodium: pwhash: do not warn on low parameters""
This reverts commit a1845b7fdb5916b0951146ca18bb67ca83854733.

Revert "Revert "ext/sodium: throw exceptions instead of errors""
This reverts commit 31d221f9c72f0d0322c84907c5d89a4464667244.

show more ...


# a1845b7f 29-Nov-2017 Frank Denis

Revert "ext/sodium: pwhash: do not warn on low parameters"

This reverts commit c219991c77e4c68f7d62963e18a1da778de0bbe0.


# 31d221f9 28-Nov-2017 Frank Denis

Revert "ext/sodium: throw exceptions instead of errors"

This reverts commit c05cbd1e775fa69ed9939796a908390f2bfb4459.


# c05cbd1e 28-Nov-2017 Frank Denis

ext/sodium: throw exceptions instead of errors


# c219991c 28-Nov-2017 Frank Denis

ext/sodium: pwhash: do not warn on low parameters
but raise an explicit error if these are too low


Revision tags: php-7.2.0, php-7.1.12, php-7.0.26, php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1, php-7.1.11, php-5.6.32, php-7.2.0RC5, php-7.0.25
# 0e44c980 23-Oct-2017 Anatol Belski

Fix uninitialized vars


Revision tags: php-7.1.11RC1, php-7.2.0RC4, php-7.0.25RC1
# 6de12a5f 02-Oct-2017 Frank Denis

ext/sodium: sodium_compare() is always available


# 40ab4c9d 02-Oct-2017 Frank Denis

ext/sodium: fix funky indentation


# 7fc396c1 02-Oct-2017 Frank Denis

ext/sodium: move pwhash_scrypt() after pwhash()


# 986a9e87 02-Oct-2017 Frank Denis

ext/sodium: checks for crypto_box_SEALBYTES are not required


# 4d1707b7 02-Oct-2017 Frank Denis

ext/sodium: explicitly include <string.h>


# 0726d0be 02-Oct-2017 Frank Denis

ext/sodium: zend_parse_parameters -> zend_parse_parameters_throw


# e4917d14 02-Oct-2017 Frank Denis

ext/sodium: fix funky indent on zend_parse_parameters_throw() calls


# 72f7d0b1 02-Oct-2017 Frank Denis

ext/sodium: import bindings for secretstream


# 7d53e651 02-Oct-2017 Frank Denis

ext/sodium: add crypto_pwhash_str_needs_rehash()

Also properly define xchacha20poly1305_ietf_keygen()


# e22094eb 02-Oct-2017 Frank Denis

ext/sodium: +base64 codecs (timing-safe)


# ad120c5a 02-Oct-2017 Frank Denis

ext/sodium: add arginfo definitions that will be required later

Don't check for existence of aesgcm symbols, since we only support
libsodium >= 1.0.8


12345