History log of /PHP-8.1/ext/sodium/libsodium.c (Results 1 – 25 of 114)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-8.1.7RC1, php-8.1.4RC1, php-8.1.3, php-8.1.2RC1, php-8.1.0, php-7.3.33, php-7.3.32, php-7.3.31, php-7.3.30
# 98184afd 10-Aug-2021 Nikita Popov

Improve ristretto255 scalarmult exception messages

These fail due to bad inputs, not internal errors.

# 9168aab3 10-Aug-2021 Nikita Popov

Fix ristretto255 tests

Both tests were skipped because of a typo in the checked constant
name.

The scalarmult test was using illegal test vectors. The new test
is based on:

Fix ristretto255 tests

Both tests were skipped because of a typo in the checked constant
name.

The scalarmult test was using illegal test vectors. The new test
is based on:
https://github.com/jedisct1/libsodium/blob/6d566070b48efd2fa099bbe9822914455150aba9/test/default/scalarmult_ristretto255.c

The $L value contained one extra null byte. The number of "false"
return values was too small.

scalar_invert() doesn't return a valid point -- not sure on that
one.

show more ...

Revision tags: php-7.3.29
# 9b794f8e 07-May-2021 P.I.E. Security Team

Expose libsodium's Ristretto255 API (#6922)

# 01b3fc03 06-May-2021 KsaR

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier".
3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted.
4. fixed indentation in some files before |

show more ...

Revision tags: php-7.3.28
# 6adfe9da 19-Apr-2021 Nikita Popov

Fix error messages for sodium_crypto_stream_xchacha20

And test them. Also adjust the constant check in the test so that
it actually runs.

# f7f1f7fc 19-Apr-2021 P.I.E. Security Team

Add crypto_stream_xchacha20 to ext/sodium (#6868)

Paragon Initiative Enterprises is aware of PHP applications that use sodium_compat's ParagonIE\Sodium\Core\XChaCha20 class directly for stre

Add crypto_stream_xchacha20 to ext/sodium (#6868)

Paragon Initiative Enterprises is aware of PHP applications that use sodium_compat's ParagonIE\Sodium\Core\XChaCha20 class directly for stream encryption.

Greater performance and security assurance is offered by exposing libsodium's crypto_stream_xchacha20 API to PHP users.

It's acceptable to only include this change in PHP 8.1+; the offending applications are more than welcome to either install ext/sodium from PECL or upgrade to 8.1 when it comes out later this year.

Ref: https://github.com/jedisct1/libsodium-php/pull/211

show more ...

# a730dc0c 15-Feb-2021 Máté Kocsis

Generate class entries for snmp, soap, sockets, sodium, sqlite3, sysv*, tidy

Closes GH-6696

Revision tags: php-7.3.27, php-7.3.26, php-7.3.26RC1, php-7.3.25, php-7.3.25RC1, php-7.3.24, php-7.3.24RC1, php-7.3.23, php-7.3.23RC1
# c37a1cd6 10-Sep-2020 Máté Kocsis

Promote a few remaining errors in ext/standard

Closes GH-6110

Revision tags: php-7.3.22, php-7.3.22RC1
# 124260c1 14-Aug-2020 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
Null terminate the sodium_crypto_kx_keypair() result


# 5885eecf 14-Aug-2020 Nikita Popov

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Null terminate the sodium_crypto_kx_keypair() result


# f6d7af21 14-Aug-2020 Nikita Popov

Null terminate the sodium_crypto_kx_keypair() result

# 978b7de2 07-Aug-2020 Nikita Popov

Accept zend_object* in zend_get_exception_base

# 7991fc27 07-Aug-2020 Nikita Popov

Accept zend_object in zend_read_property

Revision tags: php-7.3.21, php-7.3.21RC1, php-7.3.20, php-7.3.20RC1, php-7.3.19, php-7.4.7RC1, php-7.3.19RC1, php-7.3.18RC1, php-7.2.30, php-7.3.17
# 21cfa03f 05-Apr-2020 Máté Kocsis

Generate function entries for another batch of extensions

Closes GH-5352

Revision tags: php-7.3.17RC1, php-7.3.18, php-7.3.16, php-7.3.16RC1
# 118b04bd 22-Feb-2020 Máté Kocsis

Improve argument error messages in ext/sodium

Closes GH-5197

Revision tags: php-7.3.15RC1, php-7.3.15, php-7.3.14, php-7.3.14RC1
# 01a50778 02-Jan-2020 Máté Kocsis

Use RETURN_THROWS() after zend_throw_exception() in most of the extensions

# 81760591 31-Dec-2019 Máté Kocsis

Use RETURN_THROWS() during ZPP in the remaining extensions

In reflection, sodium, and SPL

Revision tags: php-7.3.13, php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1
# 4008704f 01-Nov-2019 Christoph M. Becker

zend_parse_parameters_throw() is obsolete

Since `zend_parse_parameters()` throws now, there is no reason to
explicitly call `zend_parse_parameters_throw()` anymore, and since both
ha

zend_parse_parameters_throw() is obsolete

Since `zend_parse_parameters()` throws now, there is no reason to
explicitly call `zend_parse_parameters_throw()` anymore, and since both
have actually the same implementation, we redefine the latter as macro.

show more ...

Revision tags: php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11
# f7c61c07 20-Oct-2019 Christoph M. Becker

Add ext/sodium arginfo stubs

Revision tags: php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3
# 5d6e923d 24-Sep-2019 Gabriel Caruso

Remove mention of PHP major version in Copyright headers

Closes GH-4732.

Revision tags: php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1
# 167ea630 09-Sep-2019 Christoph M. Becker

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix #78510: Partially uninitialized buffer returned by sodium_crypto_generichash_init()


# af2033b1 09-Sep-2019 Christoph M. Becker

Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
Fix #78510: Partially uninitialized buffer returned by sodium_crypto_generichash_init()


# 8ead7793 09-Sep-2019 Christoph M. Becker

Fix #78510: Partially uninitialized buffer returned by sodium_crypto_generichash_init()

Backport jedisct1/libsodium.php@28d13bf437cb969a0583031fc7ac54c5a8dc8116.

Revision tags: php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1, php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3, php-7.3.7, php-7.2.20, php-7.4.0alpha2, php-7.3.7RC3, php-7.3.7RC2, php-7.2.20RC2, php-7.4.0alpha1, php-7.3.7RC1, php-7.2.20RC1, php-7.2.19, php-7.3.6, php-7.1.30, php-7.2.19RC1, php-7.3.6RC1, php-7.1.29, php-7.2.18, php-7.3.5, php-7.2.18RC1, php-7.3.5RC1
# 0ba1db7a 05-Apr-2019 Sara Golemon

Provide argon2i(d) password hashing from sodium when needed

# b2b528b9 06-Jun-2019 Christoph M. Becker

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix #78114: segfault when calling sodium_* functions from eval


12345